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

Re: Reducing kernel compilation time



On Sat, 24 Sep 2011 12:01:07 -0400, Stephen Powell wrote:

> On Sat, 24 Sep 2011 10:22:33 -0400 (EDT), Camaleón wrote:

(...)

>> I don't need nothing special, just to be able to boot the system, test
>> the staging drivers and then remove/compile a new kernel again so
>> wasting the less time in the process would be great :-)
>> 
>> Any trick?
> 
> Hello, Camaleón.
> 
> I'm not familiar with the capabilities of your hardware, but if you have
> multiple CPUs ("cores") available, and you're using kernel-package, you
> can make use of the environment variable CONCURRENCY_LEVEL to set the
> number of simultaneous compile tasks.  

What do you mean by "kernel-package"? Debian's vanilla kernel? No, 
sources have to be from upstream. I already have compiled and installed a 
vanilla kernel from Debian sources but wifi driver fails at the same 
point than Debian's stock kernel. I need to try "the greatest and latest" 
kernel source (3.1-rc7).

> For example,
> 
>    CONCURRENCY_LEVEL=2 make-kpkg ...
> 
> if you have a dual-core processor.  You seem to have enough RAM to
> support that.  Note that there is a patch you will need for
> kernel-package if you're using a version 3 kernel.  See my
> kernel-building web page for details.
> 
>    http://users.wowway.com/~zlinuxman/Kernel.htm
> 
> If you have a quad-core machine, you can set CONCURRENCY_LEVEL to 4.

Yes... I've already¹ "walked" through that link, and it's fantastic for 
Debian starters, very well explained with detailed steps (have you 
considered adding it into Debian's wiki, or at least -if not the full 
article- a link to it?)

¹I noticed you pointed to it in another thread where someone asked for 
something similar ;-)

Greetings,

-- 
Camaleón


Reply to: