|
Speeding up Linux Kernel Compilation |
|
|
|
|
Written by Administrator
|
|
Sunday, 11 September 2005 07:58 |
Sometimes compiling the linux kernel can be slow going, unless of
course you have some massively powerful server. In many cases you have
tons of memory but it isn't all being used during the compilation.
Well here is a tip for you then. You can force the compilation to use
more of your memory and speed things along by compiling more than one
kernel module at a time. Here's how:
Figure out what N is: N =
[RAM in Megabytes / 8] + 1
Then replace the linux MAKE=make in your /usr/src/linux/Makefile
with:
MAKE=make -j N (where N is the calculated number)
Thanks to JonJon for submitting the link for this. You
can find the official instructions
here.
|