1 |
Brian Harring wrote: |
2 |
> On Thu, Oct 13, 2005 at 10:17:26AM +0200, Nagatoro wrote: |
3 |
> |
4 |
>>Brian Harring wrote: |
5 |
>> |
6 |
>>>Curious about feedback from general usage, emerge -s, emerge -Dup |
7 |
>>>world, etc. timing runs would be appreciated |
8 |
> |
9 |
> |
10 |
>>portage 2.0.53_rc5 - 3.0-cache-backport-experimental-7 |
11 |
>> |
12 |
>>emerge -s portage: |
13 |
>> |
14 |
>>real 0m10.855s |
15 |
>>user 0m2.610s |
16 |
>>sys 0m0.537s |
17 |
>> |
18 |
>>emerge -Dup: |
19 |
>> |
20 |
>>real 0m40.443s |
21 |
>>user 0m18.300s |
22 |
>>sys 0m3.465s |
23 |
> |
24 |
> |
25 |
> Don't spose you could attempt the tests above with the cache patches, |
26 |
> plus the patch I've attached? It adds lastX caching back in, should |
27 |
> reduce sys a _bit_, although personally I'm not expecting a helluva |
28 |
> lot out of it. |
29 |
|
30 |
Hmm, when trying to update the cache (emerge --metadata) I get this: |
31 |
--- |
32 |
>>> Updating Portage cache: |
33 |
Traceback (most recent call last): |
34 |
File "/usr/bin/emerge", line 2734, in ? |
35 |
cache.util.mirror_cache(source, cm, pdb.auxdb[porttree_root], |
36 |
eclass_cache=ec, verbose_instance=noise_maker) |
37 |
File "/usr/lib/portage/pym/cache/util.py", line 22, in mirror_cache |
38 |
if not trg_cache.autocommits: |
39 |
AttributeError: CachingDict instance has no attribute 'autocommits' |
40 |
--- |
41 |
but if I remove the lastX patch it workes. |
42 |
|
43 |
|
44 |
portage 2.0.53_rc5 - 3.0-cache-backport-experimental-7 + lastx |
45 |
emerge -s portage: |
46 |
|
47 |
real 0m12.891s |
48 |
user 0m3.030s |
49 |
sys 0m0.576s |
50 |
|
51 |
After running this with and without the lastx patch I seem to get |
52 |
slighly longer times (real and user) with it (~0.5s real and user) and |
53 |
slightly shorter sys times (~0.2s). |
54 |
|
55 |
emerge -Dup world: |
56 |
|
57 |
real 0m38.113s |
58 |
user 0m18.186s |
59 |
sys 0m2.916s |
60 |
|
61 |
And here I seem to get slightly shorter real and sys times but |
62 |
slightly longer user times (~0.5s real and user, ~0.2s sys). |
63 |
|
64 |
But the times varies way to much to "prove" this. |
65 |
|
66 |
-- |
67 |
Naga |
68 |
-- |
69 |
gentoo-portage-dev@g.o mailing list |