[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Kernel Compile Tip (Was: [ale] Lightweight Linux with X )
- Subject: Kernel Compile Tip (Was: [ale] Lightweight Linux with X )
- From: jknapka at earthlink.net (Joseph A. Knapka)
- Date: Mon, 30 Jul 2001 11:32:24 -0600
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.