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

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

 





On Mon, Aug 8, 2011 at 4:25 PM, Javier Martinez Canillas <martinez.javier@xxxxxxxxx> wrote:
On Sun, Aug 7, 2011 at 7:09 PM, Amirali Shambayati
> 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@xxxxxxxxxxxxxxxxx
> 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.. 
 
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux