On Sat, 24 Sep 2011 10:22:33 -0400 (EDT), Camaleón wrote: > > I had to compile the latest upstream kernel sources to make some > debugging with my wifi drivers (from staging) and discovered that > compilation took ~5 hours. > > That's much for testing purposes. > > Compilation takes place in a netbook governed by Intel's Atom N455 with 2 > GiB of RAM and I would like to reduce the compilation time. > > I'm using the same ".config" file I have for the current Debian stock > kernel (to avoid missing some modules I may need) and just added > "CONFIG_MATOM=y" but it takes almost the same time. > > 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. 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. -- .''`. Stephen Powell : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/109735586.2090397.1316880067341.javamail.r...@md01.wow.synacor.com