Re: (My) SMP lameness?

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Mon, 11 Jan 1999 21:02:33 +0000 (GMT)


On Mon, 11 Jan 1999, Stefan Laudat wrote:

> Last evening I've decided to compile a new 2.2.0-pre6 on a Dual
> P][-350, WD SCSI 64Megs etc. It took me about 7 minutes, with the
> _existing_SMP_ 2.2.0-pre6. I have a K62/350 at home and it compiles
> the same kernel with _almost_ the same options in _almost_ the same time :(
> Do I have to get a different egcs/gcc in order to use both processors
> when compiling something or are there exxxtra options in order to enable
> some SMP extra stuff? I have to mention that a cat /proc/cpuinfo shows
> both processors so it has to be okay...
> Sorry if I am lame :)

You probably want to do a "make -j N" to get the full benefit, where N is
about 2x no. of CPUs.

That may, make will run up to N gcc, etc. processes at a time and you
should see a decent improvement...

Matthew.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/