Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] genlop times was: migrating to gcc-3.4.4
Date: Thu, 25 Aug 2005 19:05:21
Message-Id: 20050825185133.GD15449@princeton.edu
In Reply to: Re: [gentoo-user] genlop times was: migrating to gcc-3.4.4 by Fernando Meira
1 On Thu, Aug 25, 2005 at 05:33:14PM +0000, Fernando Meira wrote:
2 > I would say that most of the emerged packages were emerged before.. but
3 > maybe not that much so that genlop could be accurate. Also, a new compiler
4 > was being used.. no idea how much can that change the performance.
5
6 That might. -shrug-
7
8 > Ok.. so I'll get better estimations the more times I update my system.
9
10 Genlop actually just monitors /var/log/emerge.log
11 and the estimated times comes from, as I said, averaging the times
12 from past emerges. So you don't really need to have genlop installed
13 before hand or used it before for it to gather data.
14
15 > Great!! That was in fact the first time I've used genlop. It's quite
16 > interesting to be able to predict how much something will take to emerge.
17
18 It's like weather prediction: you will be 80% correct if you guess the
19 weather tomorrow is the same as today. Same spirit with genlop.
20
21 > For what you said, "is it worth it just sitting here reading a book or
22 > should I just go to bed", would it be possible to check an active emerge for
23 > the estimated time left? That would tell you what you should do... does
24 > genlop do that?
25
26 Technically, genlop -c should show the currently compiling package and
27 estimate time left. (And if it has been compiling longer than the
28 average time, it would say: Any Time Now.)
29
30 BUT!!! It seems that there is a bug with genlop and newer versions of
31 portage because some issues with a sandbox lockfile. Search for
32 "genlop sandbox" on bugs.gentoo.org for more info. In any case, for
33 the time being, until the bug is fixed, genlop -c will never detect an
34 active emerge. So that's too bad.
35
36 Though... if you are talking about, for example, emerge world, then
37 genlop won't be able to tell you how long until EVERYTHING is done. It
38 can give you an estimate on how long it will be until the current
39 compiling package is done.
40
41 W
42 --
43 "I assume you've all done stationary phase integrals...right?"
44 ~DeathMech, S. Sondhi. P-town PHY 205
45 Sortir en Pantoufles: up 13 days, 21:48
46 --
47 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] genlop times was: migrating to gcc-3.4.4 Neil Bothwick <neil@××××××××××.uk>