From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28912 invoked by uid 1002); 7 Sep 2003 00:48:59 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 21055 invoked from network); 7 Sep 2003 00:48:59 -0000 From: Luke-Jr Organization: Gentoo Linux To: Steven Elling , gentoo-dev@gentoo.org Date: Sun, 7 Sep 2003 00:48:40 +0000 User-Agent: KMail/1.5.3 References: <459A860E-E0B5-11D7-ABF7-00306580AC5C@wisc.edu> <200309061910.34278.ellings@kcnet.com> In-Reply-To: <200309061910.34278.ellings@kcnet.com> GPG-Public-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD53E9583 MIME-Version: 1.0 Content-Type: Text/Plain; charset="shift_jis" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200309070048.57493.luke-jr@gentoo.org> Subject: Re: [gentoo-dev] Some suggestions X-Archives-Salt: 6a3fbc24-e981-4630-a184-5b099fba28d8 X-Archives-Hash: 1fa53285d35008a3bb20450b465f60bd =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I did a bogomips test a while ago and it wasn't anywhere close, IIRC. There could have been some other factor I missed though, as I was basing my= =20 test on time an emerge took on my system and other one I don't have root=20 on... (via the gest script) =46or all I know, another emerge was going on concurrently or the task was= =20 suspended at one point. On Sunday 07 September 2003 12:10 am, Steven Elling wrote: > On Saturday 06 September 2003 16:58, Brian Harring wrote: > > Eh, wouldn't hold or be particularly accurate, mainly since I/O, proc > > speed, and available memory (let alone if another job is running in the > > background and hogging cycles) are too many variables (imo) to try and > > factor out. > > Someone a while back had a setup such that they parsed the makefile, > > figuring out the number of actions (gcc calls, ar calls, mv/cp/install > > commands), and tracked progress that way. Strikes me as the better > > way, although some packages weren't able to be parsed correctly > > resulting in a compilation progress reading at rather off values like > > 1100% and counting... > > ~bdh > > What about using a bogomips seconds factor to determine a `close estimate' > of how long a package will take to compile? Here is something I posted to > another mailing list: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Subject: OpenOffice build on Gentoo / Determining how long it will take? > Date: 2003-05-28 14:07 > > I timed the build of OpenOffice on Gentoo yesturday using the following > command: > > time emerge -Du openoffice > > > The build of version OpenOffice 1.0.3-r1 completed today and time spit out > the following: > > real 844m6.053s > user 704m12.660s > sys 31m30.340s > > > Overall, the build of OpenOffice on my system (Athlon 900 MHz) took 14 > hours 4 minutes and 6.053 seconds. > > I would think a good way to determine how long a build will take on your > system is to divide a bogomips seconds factor by the bogomips from > /proc/cpuinfo ( x / bogomips =3D time ) then throw in a fudge factor of 1= 0%. > Any thoughts anyone? > > The bogomips seconds factor could be determined by compiling OpenOffice on > several systems using the time command to record the amount of time it > takes, calculating the bogomips seconds factor for each system using the > formula "time * bogomips =3D x" and then averaging the numbers. > > On my system, the bogomips are 1782.57 so the bogomips seconds factor for > OpenOffice would be 50646.053 seconds * 1782.57 bogomips =3D 90280134.6962 > bogomips seconds. > > Using the bogomips seconds factor from above, my laptop should take > 90280134.6962 bogomips seconds / 730.72 bogomips =3D 123549.5602 seconds = (34 > hours 19 minutes and 9.5602 seconds) +- 10%. I'll find out how long it > actually takes sometime in the next week because I'm currently updating > Gentoo on it. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > -- > gentoo-dev@gentoo.org mailing list =2D --=20 Luke-Jr Developer, Gentoo Linux http://www.gentoo.org/ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/WoB0Zl/BHdU+lYMRAn/5AKCQeVExUv2nInxCgtuyLcOEkSoDQwCcCLtD 4quU+ILFri7aKRLfrdIiDRg=3D =3DCbd5 =2D----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list