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.
Sam
>
> For reproducing: what my test essentially does is:
>
> [EMAIL PROTECTED] export LANG
> make distclean
> cp config.precious .config
> find . -type f -exec cat \{\} >/dev/null \;
> /usr/bin/time make
>
>
> Results (vanilla and patched both ran twice)
>
> Vanilla:
> ========
>
> 669.97user 58.09system 14:23.72elapsed 84%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+9403870minor)pagefaults 0swaps
>
> 671.68user 60.03system 14:42.86elapsed 82%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+9403870minor)pagefaults 0swaps
>
>
> Patched:
> ========
>
> 658.70user 58.25system 14:15.66elapsed 83%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (106major+9287613minor)pagefaults 0swaps
>
> 658.60user 58.23system 14:25.80elapsed 82%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+9287686minor)pagefaults 0swaps
>
>
> Greets,
> --
> Jasper Spaans http://jsp.vs19.net/
> 00:24:51 up 9891 days, 16:11, 0 users, load average: 3.71 4.06 4.07
> -... .- -.. --. . .-. -... .- -.. --. . .-. -... .- -.. --. . .-.
--
-------------------------------------------------------
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