Gentoo Archives: gentoo-dev

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: emerge suggestions
Date: Thu, 09 Sep 2004 13:06:56
Message-Id: 1094735638.20750.8.camel@cgianelloni.nuvox.net
In Reply to: Re: [gentoo-dev] Re: emerge suggestions by Heiko Wundram
1 On Wed, 2004-09-08 at 19:46, Heiko Wundram wrote:
2 > Am Mittwoch, 8. September 2004 18:43 schrieb Chris White:
3 > > How are you going to effectively measure the times?
4 >
5 > IIRC, there once was a proposal to do this using bash-units. Each product in
6 > the tree gets assigned a bash unit, which is a floating point number >0 which
7 > measures how long compilation takes relative to compiling some certain
8 > version of bash.
9
10 Let's assume we'll just use bash-2.05 (or 3.0, doesn't matter).
11
12 > Now, all that needs to be done is to measure package compilation and merging
13 > time, divide by the number of bash units this package has, and you get an
14 > estimate on the time for a bash unit on this computer. The more packages you
15 > merge, the finer this number will become by simply averaging it out. Of
16 > course, this does not take into account changing the LDFLAGS (which should
17 > make up for the biggest part of different merge times), or CFLAGS (which
18 > might also change timing by varying optimization levels and swap
19 > requirement). But, anyway, these numbers don't change anything about the
20 > underlying unit, which should be to a large extent platform and machine
21 > independent.
22
23 That's pretty much accurate. Another thing that could be done is there
24 could be a way to "calibrate" the system... essentially, performing a
25 bash build using the current {C,CXX,LD}FLAGS to get an accurate time.
26 This measurement could then be used by portage in giving time estimates.
27
28 > I don't know when this proposal came up, I read about it on some forum, some
29 > time ago.
30
31 I know that I mentioned it a while back, but it had been said before
32 that, so I'm not taking credit (or blame ;p) for it.
33
34 --
35 Chris Gianelloni
36 Release Engineering - Operations/QA Manager
37 Games - Developer
38 Gentoo Linux
39
40 Is your power animal a penguin?

Attachments

File name MIME type
signature.asc application/pgp-signature