1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
I did a bogomips test a while ago and it wasn't anywhere close, IIRC. |
5 |
There could have been some other factor I missed though, as I was basing my |
6 |
test on time an emerge took on my system and other one I don't have root |
7 |
on... (via the gest script) |
8 |
For all I know, another emerge was going on concurrently or the task was |
9 |
suspended at one point. |
10 |
|
11 |
On Sunday 07 September 2003 12:10 am, Steven Elling wrote: |
12 |
> On Saturday 06 September 2003 16:58, Brian Harring wrote: |
13 |
> > Eh, wouldn't hold or be particularly accurate, mainly since I/O, proc |
14 |
> > speed, and available memory (let alone if another job is running in the |
15 |
> > background and hogging cycles) are too many variables (imo) to try and |
16 |
> > factor out. |
17 |
> > Someone a while back had a setup such that they parsed the makefile, |
18 |
> > figuring out the number of actions (gcc calls, ar calls, mv/cp/install |
19 |
> > commands), and tracked progress that way. Strikes me as the better |
20 |
> > way, although some packages weren't able to be parsed correctly |
21 |
> > resulting in a compilation progress reading at rather off values like |
22 |
> > 1100% and counting... |
23 |
> > ~bdh |
24 |
> |
25 |
> What about using a bogomips seconds factor to determine a `close estimate' |
26 |
> of how long a package will take to compile? Here is something I posted to |
27 |
> another mailing list: |
28 |
> |
29 |
> ==================== |
30 |
> Subject: OpenOffice build on Gentoo / Determining how long it will take? |
31 |
> Date: 2003-05-28 14:07 |
32 |
> |
33 |
> I timed the build of OpenOffice on Gentoo yesturday using the following |
34 |
> command: |
35 |
> |
36 |
> time emerge -Du openoffice |
37 |
> |
38 |
> |
39 |
> The build of version OpenOffice 1.0.3-r1 completed today and time spit out |
40 |
> the following: |
41 |
> |
42 |
> real 844m6.053s |
43 |
> user 704m12.660s |
44 |
> sys 31m30.340s |
45 |
> |
46 |
> |
47 |
> Overall, the build of OpenOffice on my system (Athlon 900 MHz) took 14 |
48 |
> hours 4 minutes and 6.053 seconds. |
49 |
> |
50 |
> I would think a good way to determine how long a build will take on your |
51 |
> system is to divide a bogomips seconds factor by the bogomips from |
52 |
> /proc/cpuinfo ( x / bogomips = time ) then throw in a fudge factor of 10%. |
53 |
> Any thoughts anyone? |
54 |
> |
55 |
> The bogomips seconds factor could be determined by compiling OpenOffice on |
56 |
> several systems using the time command to record the amount of time it |
57 |
> takes, calculating the bogomips seconds factor for each system using the |
58 |
> formula "time * bogomips = x" and then averaging the numbers. |
59 |
> |
60 |
> On my system, the bogomips are 1782.57 so the bogomips seconds factor for |
61 |
> OpenOffice would be 50646.053 seconds * 1782.57 bogomips = 90280134.6962 |
62 |
> bogomips seconds. |
63 |
> |
64 |
> Using the bogomips seconds factor from above, my laptop should take |
65 |
> 90280134.6962 bogomips seconds / 730.72 bogomips = 123549.5602 seconds (34 |
66 |
> hours 19 minutes and 9.5602 seconds) +- 10%. I'll find out how long it |
67 |
> actually takes sometime in the next week because I'm currently updating |
68 |
> Gentoo on it. |
69 |
> ==================== |
70 |
> |
71 |
> |
72 |
> -- |
73 |
> gentoo-dev@g.o mailing list |
74 |
|
75 |
- -- |
76 |
Luke-Jr |
77 |
Developer, Gentoo Linux |
78 |
http://www.gentoo.org/ |
79 |
-----BEGIN PGP SIGNATURE----- |
80 |
Version: GnuPG v1.2.3 (GNU/Linux) |
81 |
|
82 |
iD8DBQE/WoB0Zl/BHdU+lYMRAn/5AKCQeVExUv2nInxCgtuyLcOEkSoDQwCcCLtD |
83 |
4quU+ILFri7aKRLfrdIiDRg= |
84 |
=Cbd5 |
85 |
-----END PGP SIGNATURE----- |
86 |
|
87 |
|
88 |
-- |
89 |
gentoo-dev@g.o mailing list |