Gentoo Archives: gentoo-dev

From: Steven Elling <ellings@×××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Some suggestions
Date: Sun, 07 Sep 2003 00:10:41
Message-Id: 200309061910.34278.ellings@kcnet.com
In Reply to: Re: [gentoo-dev] Some suggestions by Brian Harring
1 On Saturday 06 September 2003 16:58, Brian Harring wrote:
2 > Eh, wouldn't hold or be particularly accurate, mainly since I/O, proc
3 > speed, and available memory (let alone if another job is running in the
4 > background and hogging cycles) are too many variables (imo) to try and
5 > factor out.
6 > Someone a while back had a setup such that they parsed the makefile,
7 > figuring out the number of actions (gcc calls, ar calls, mv/cp/install
8 > commands), and tracked progress that way. Strikes me as the better
9 > way, although some packages weren't able to be parsed correctly
10 > resulting in a compilation progress reading at rather off values like
11 > 1100% and counting...
12 > ~bdh
13
14 What about using a bogomips seconds factor to determine a `close estimate'
15 of how long a package will take to compile? Here is something I posted to
16 another mailing list:
17
18 ====================
19 Subject: OpenOffice build on Gentoo / Determining how long it will take?
20 Date: 2003-05-28 14:07
21
22 I timed the build of OpenOffice on Gentoo yesturday using the following
23 command:
24
25 time emerge -Du openoffice
26
27
28 The build of version OpenOffice 1.0.3-r1 completed today and time spit out
29 the following:
30
31 real 844m6.053s
32 user 704m12.660s
33 sys 31m30.340s
34
35
36 Overall, the build of OpenOffice on my system (Athlon 900 MHz) took 14 hours
37 4 minutes and 6.053 seconds.
38
39 I would think a good way to determine how long a build will take on your
40 system is to divide a bogomips seconds factor by the bogomips from
41 /proc/cpuinfo ( x / bogomips = time ) then throw in a fudge factor of 10%.
42 Any thoughts anyone?
43
44 The bogomips seconds factor could be determined by compiling OpenOffice on
45 several systems using the time command to record the amount of time it
46 takes, calculating the bogomips seconds factor for each system using the
47 formula "time * bogomips = x" and then averaging the numbers.
48
49 On my system, the bogomips are 1782.57 so the bogomips seconds factor for
50 OpenOffice would be 50646.053 seconds * 1782.57 bogomips = 90280134.6962
51 bogomips seconds.
52
53 Using the bogomips seconds factor from above, my laptop should take
54 90280134.6962 bogomips seconds / 730.72 bogomips = 123549.5602 seconds (34
55 hours 19 minutes and 9.5602 seconds) +- 10%. I'll find out how long it
56 actually takes sometime in the next week because I'm currently updating
57 Gentoo on it.
58 ====================
59
60
61 --
62 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Some suggestions Luke-Jr <luke-jr@g.o>