Re: [ILUG] SMP

From: Vincent Cunniffe (vcunniff at domain arbgroup.com)
Date: Mon 09 Aug 1999 - 14:07:36 IST


> I don't think this has anything to do with this problem, but if you're
> compiling a kernel under an SMP kernel, you should edit
> /usr/src/linux/Makefile and change the make line to:
>
> make =make -jN
>
> where N is the number of CPUs in the machine + 1. This will make the
> kernel compile slightly faster.

I usually manually specify -j8 or so, as it queues jobs in memory ready
for the processor(s). I tested a range of job settings when I was using
a uniprocessor K6-2 box, and -j8 was marginally faster than any of the
lower settings.

Any higher and the time stayed the same, it just preloaded more tasks
and took up more memory.

Memory in both cases is 256MB, so that's not a problem.

Vin



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:26 GMT