[ILUG] SMP compilation
fvacuum at yahoo.com
Fri Sep 15 21:01:28 IST 2000
On Thu, Sep 14, 2000 at 08:09:23PM +0100, Vincent Cunniffe wrote:
> I have a dual-CPU Celeron machine, and it would be very nice to have a
> setting which would automatically take advantage of this by passing
> something like -j4 to make for every single invocation.
You can use any of the solutions mentioned by others on the list -
personally, I don't even have more than one CPU, but use "MAKE = make -j4"
in my /usr/src/linux/Makefile. This speeds up first-time compiles summat.
Somebody on some mailing list ages ago claimed that a single CPU computer
can use -j4, and an SMP machine could go further. This makes sense, when
you consider that most of the compilation process is just disk access.
More information about the ILUG