Compile kernel for various times and problem of too long time consuming

Javier Martinez Canillas martinez.javier at gmail.com
Mon Aug 8 06:55:20 EDT 2011


On Sun, Aug 7, 2011 at 7:09 PM, Amirali Shambayati
<amirali.shambayati at gmail.com> wrote:
> Hi all,
> Since I want to evaluate performance improvements by changing just one
> file in kernel(noop-iosched) and compiling kernel is too much
> time-consuming, I want to know that if I compile kernel for more than
> one time, does it take similar time to first time?
>
> I use following commands. If I don't use "make-kpkg clean" for next
> times, does it just compile the files which have been modified or it
> compile whole kernel package again?
>
> make-kpkg clean
> fakeroot make-kpkg --initrd --append-to-version=-some-string-here
> kernel-image kernel-headers
>
>
> Thanks for your help in advance,
>
> --
> Amirali Shambayati
> Bachelor Student
> Computer Engineering Department
> Sharif University of Technology
> Tehran, Iran
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

Some time ago I wrote a blog entry about "Speeding up Linux kernel
compilation", hope it helps

http://martinezjavier.blogspot.com/2011/03/speeding-up-linux-kernel-compilation.html

Best regards

-- 
Javier Martínez Canillas
(+34) 682 39 81 69



More information about the Kernelnewbies mailing list