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

Prateek Sharma prateek3.14 at gmail.com
Mon Aug 8 07:12:36 EDT 2011


On Mon, Aug 8, 2011 at 4:25 PM, Javier Martinez Canillas <
martinez.javier at gmail.com> wrote:

> 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
>

Is allocating a big tmpfs and copying the entire kernel tree to it a good
idea?
It seems to take >4GB though.
If there was a way to quickly copy back the changes made to the disk, it
would work quite well..

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110808/9842a8cf/attachment.html 


More information about the Kernelnewbies mailing list