On Sat, Sep 25, 1999 at 09:07:27PM +0200, Ingo Molnar wrote:
> 
> On Sat, 25 Sep 1999, [iso-8859-1] Jakob �stergaard wrote:
> 
> > On Sat, Sep 25, 1999 at 01:47:36PM +0100, Nick Kay wrote:
> > > Hi All,
> > >   I have a quad Xeon 500 box. When running a kernel build
> > > with "make dep; time -v make -j4 bzImage modules modules_install"
> > 
> > Try
> >  make dep && time -v sh -c 'make -j4 bzImage modules && make modules_install'
> 
> on a quad Xeon it's much better to change the top level Makefile's MAKE
> entry:
> 
> MAKE    =make -j3

I've heard that this screws up the dependency generation.  Are you sure this
is safe ?

> and then do 'make -j4 bzImage'. This gives the best parallelism, about
> 390%. (the final link is always serialized so it's never gonna be 400%.)

As a side note, always do   make -jN  where N is you number of CPUs plus one.

The C compiler will call the preprocessor, and a lot of other smaller programs,
so one gcc will never be 100% cpu bound.  By running one more gcc than you
have processors, you make sure that there's always one gcc ready to run when
one of the others are waiting for IO.

................................................................
: [EMAIL PROTECTED]  : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob �stergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to