Re: Building the kernel on an SMP box?

From: Bill Davidsen
Date: Sat Jul 29 2006 - 15:27:49 EST


Andi Kleen wrote:
"Brian D. McGrew" <brian@xxxxxxxxxxxxx> 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)

That sounds really useful, although I bet it assumes that the build environment is the same on all machines. Or at least similar. I'll have to try that, I have two lightly used machines to add to the build. Thanks!

--
Bill Davidsen <davidsen@xxxxxxx>
Obscure bug of 2004: BASH BUFFER OVERFLOW - if bash is being run by a
normal user and is setuid root, with the "vi" line edit mode selected,
and the character set is "big5," an off-by-one errors occurs during
wildcard (glob) expansion.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/