Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Re: Re: Stack smash protected daemons
Date: Sat, 25 Sep 2004 18:15:25
Message-Id: pan.2004.09.25.10.55.40.456565@cox.net
In Reply to: Re: [gentoo-dev] Re: Re: Stack smash protected daemons by John Richard Moser
1 John Richard Moser posted <4154E037.20201@×××××××.net>, excerpted below,
2 on Fri, 24 Sep 2004 23:04:23 -0400:
3
4 > Duncan wrote:
5 > |
6 > | The definitive benchmark for Python in Gentoo would certainly have to be
7 > | portage, in terms of what's going to affect the most people.
8 > |
9 > Portage spend almost 100% of its time in other programs, i.e. gcc. :)
10
11 While that's true in general emerges, is it /also/ true of emerge sync?
12
13 I'm not talking the actual network stuff, but the portions of it where the
14 network isn't active, namely, the portions that list dirs in
15 single lines (double lines with a percent indicate it actually had to
16 fetch something), and the ">>> Updating Portage cache..." and "Performing
17 Global Updates:" portions. With a 4Mbps CHSI connection, even with a dual
18 Opteron, that process isn't network bound, but rather local bound. Or are
19 all those simple calls to BASH scripts and the like? (Even if so, if it
20 affects the BASH script parsing, which is after all lots of string
21 functions, that's certainly worth benchmarking.)
22
23 Of course, parts of that may well be disk i/o bound rather than CPU bound,
24 and I'm not sure Portage (Python/Bash) is multi-threading anyway, so it
25 may well only use one CPU (I haven't checked), but one of the claims made
26 for .51 is that it's a lot faster, now (well, unless crypto signing checks
27 are turned on, which they really should be for security), and that claim
28 has to be on /some/ part of it. I believe I'd generally be in favor of SSP
29 even if it DID seriously affect Portage and the like, but that's still
30 something to keep in mind, if it does.
31
32 --
33 Duncan - List replies preferred. No HTML msgs.
34 "They that can give up essential liberty to obtain a little
35 temporary safety, deserve neither liberty nor safety." --
36 Benjamin Franklin
37
38
39
40 --
41 gentoo-dev@g.o mailing list