On Thu, Mar 18, 2004 at 09:59:06PM +0100, Sam Ravnborg wrote:
> On Thu, Mar 18, 2004 at 12:37:44AM +0100, Jasper Spaans wrote:
> > On Tue, Mar 16, 2004 at 10:48:30PM +0100, Sam Ravnborg wrote:
> > 
> > > > It speeds up the building process
> > > > somewhat, and shouldn't introduce unwanted behaviour.
> > > 
> > > Can I get some figures for speed-up?
> > 
> > Sure; I just ran a few tests for a complete compile on my machine, only
> > other activity was me typing on some gnome-terms. In all cases the diskcache
> > has been primed and hot.
> 
> Looks promising.
> Can you try the same on a fully build kernel.
> This is the typical scenario. Make a few small changes, and build the kernel.
> 
> Another good benchmark is to do:
> time rm mm/slab.o && make
> 
> In this way you simulate an edited file, and relink the kernel.

Yep, just tested the rm mm/slab.o case; repeated both tests 5 times. (The
other one is a bit difficult to execute, but if that one really is needed,
it is possible)

Summary of the results:

Comparing user-time: 
  run      1     2     3     4     5     AVG[*]   SD[*]
Vanilla  12.46 12.40 12.46 12.48 12.49   12.467  0.1155
Patched  10.99 10.92 10.96 10.95 10.97   10.960  0.1000

and system-time:
  run      1     2     3     4     5     AVG[*]   SD[*]
Vanilla   2.07  2.14  2.18  2.08  2.05    2.097  0.0379
Patched   1.98  2.04  2.03  2.07  2.13    2.047  0.0208

So even in this simple case the patched version looks a lot faster.. there's
no grep in there, right?

[*] Average and stddev using 3 median values

Cheers,
-- 
Jasper Spaans                                       http://jsp.vs19.net/
 23:57:30 up 9892 days, 15:44, 0 users, load average: 3.48 3.97 4.06
  -... .- -.. --. . .-. -... .- -.. --. . .-. -... .- -.. --. . .-.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to