Re: Building the kernel on an SMP box?

Andi Kleen
2006-07-28T13:46:51Z

"Brian D. McGrew" <brian@visionpro.com> writes:
>
> So, to ask the group that should know the best ... What would be a
> reasonable configuration to get my builds down under five minutes or so?
> And then to go to the extreme, what kind of horsepower should I be
> looking for if I want get the build times down to say a minute or so???

Depending on your build pattern you can likely speed up rebuilds by
using ccache.

If that doesn't help get one or two (or more as needed) cheap dual
core systems and use icecream (http://en.opensuse.org/Icecream) to do
a cluster build and build with -jN (N=2*available cores/threads or so)

To combine icecream and ccache in the same build you can use
ftp://ftp.firstfloor.org/pub/ak/smallsrc/icecache.c

For parallel builds modular builds are faster than static builds
because otherwise the linker becomes a bottleneck.

-Andi