Gentoo Archives: gentoo-dev

From: "vivo75@×××××.com" <vivo75@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Portage dependency solving algorithm
Date: Sat, 08 Nov 2014 14:08:51
Message-Id: 545E23D9.5020607@gmail.com
In Reply to: Re: [gentoo-dev] Portage dependency solving algorithm by Ciaran McCreesh
1 Il 08/11/2014 14:35, Ciaran McCreesh ha scritto:
2 > On Sat, 08 Nov 2014 09:29:52 +0100
3 > "vivo75@×××××.com" <vivo75@×××××.com> wrote:
4 >> "The time dependency resolving takes is marginal compared to the whole
5 >> update process "
6 >> ^^^ this is an utter lie for frequent updates
7 > Uh, how long are your resolves taking?
8 >
9 I've updated the system half hour ago it's empty, but this system can
10 compile and install a good number of packages in 3 minutes.
11 Obviously this is without tuning the filesystem, with rotational disks
12 _and_ 3 overlays (which slow down a lot) plus it has more than 2000
13 packages installed
14 So I would not call this marginal at all. Not even if it was one minute,
15 for attended upgrades is annoying.
16
17 gentoo ~ # /usr/bin/time --verbose emerge -uDpN @world
18
19 These are the packages that would be merged, in order:
20
21 Calculating dependencies... done!
22 Command being timed: "emerge -uDpN @world"
23 User time (seconds): 178.45
24 System time (seconds): 1.58
25 Percent of CPU this job got: 100%
26 Elapsed (wall clock) time (h:mm:ss or m:ss): 2:59.88
27 Average shared text size (kbytes): 0
28 Average unshared data size (kbytes): 0
29 Average stack size (kbytes): 0
30 Average total size (kbytes): 0
31 Maximum resident set size (kbytes): 2470064
32 Average resident set size (kbytes): 0
33 Major (requiring I/O) page faults: 0
34 Minor (reclaiming a frame) page faults: 168879
35 Voluntary context switches: 11
36 Involuntary context switches: 1568
37 Swaps: 0
38 File system inputs: 0
39 File system outputs: 0
40 Socket messages sent: 0
41 Socket messages received: 0
42 Signals delivered: 0
43 Page size (bytes): 4096
44 Exit status: 0