[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Speeding up Kernel compiles using make-kpkg



On Sun, Jul 01, 2001 at 02:42:20PM -0500, S . Salman Ahmed wrote:
> 
> Is there any way to pass the "-j <jobs>" option to make when building
> kernels using make-kpkg ?

RTFM.  'man kernel-pkg.conf' and search for CONCURRENCY_LEVEL or just
'-j'.

> I am hoping that by passing the "-j" option to make, kernel builds on
> this P166 system will take less time than the 35 minutes it currently
> takes. But after reading the docs on kernel-package and the man page I
> can't figure out how to pass extra command line options to the
> invocation of make.

It is not likely that you'll see any benefit.  In fact, you might see
worse performance due to the overhead of context switching between all
the compiler processes.  The -j option is very useful if you have a
multi-processor system, since the kernel will load balance the processes
across all available CPUs.  If you've only got a single CPU, all the
processes are going to fight for it.  Have 2 or more processes fighting
for the single CPU won't get you anything except a higher load average.

noah

-- 
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

Attachment: pgpMOk3sm26Oi.pgp
Description: PGP signature


Reply to: