Kernel Compile Tip (Was: [ale] Lightweight Linux with X )

Joseph A. Knapka jknapka at earthlink.net
Mon Jul 30 13:32:24 EDT 2001


jhubbs at telocity.com wrote:
> 
> i seem to remember that there was something you could do - perhaps to the Makefile? - to speed up kernel compiles if you had enough RAM.  It went something like this (I'm making the specifics up just to jog memories)
> 
> PARAMETER       RAM
> -n 1             8MB
> -n 2            16MB
> -n 4            32MB

-j <number of parallel make processes>

So: [joe:/usr/src/linux] make -j 3 bzImage

will build bzImage using a maximum of 3 parallel makes.
This is only likely to help much on multiprocessor machines,
where -j N = number-of-processors. On a single processor
you may see some improvement, or not, depending on
disk bandwidth and RAM constraints.

-- Joe Knapka
"You know how many remote castles there are along the gorges? You
 can't MOVE for remote castles!" -- Lu Tze re. Uberwald
// Linux MM Documentation in progress:
// http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html
2nd Lbl A + 1 = 2nd Pause 2nd Prt GTO 2 R/S
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list