<br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 4:25 PM, Javier Martinez Canillas <span dir="ltr">&lt;<a href="mailto:martinez.javier@gmail.com">martinez.javier@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On Sun, Aug 7, 2011 at 7:09 PM, Amirali Shambayati<br>
<div class="im">&lt;<a href="mailto:amirali.shambayati@gmail.com">amirali.shambayati@gmail.com</a>&gt; wrote:<br>
</div><div><div></div><div class="h5">&gt; Hi all,<br>
&gt; Since I want to evaluate performance improvements by changing just one<br>
&gt; file in kernel(noop-iosched) and compiling kernel is too much<br>
&gt; time-consuming, I want to know that if I compile kernel for more than<br>
&gt; one time, does it take similar time to first time?<br>
&gt;<br>
&gt; I use following commands. If I don&#39;t use &quot;make-kpkg clean&quot; for next<br>
&gt; times, does it just compile the files which have been modified or it<br>
&gt; compile whole kernel package again?<br>
&gt;<br>
&gt; make-kpkg clean<br>
&gt; fakeroot make-kpkg --initrd --append-to-version=-some-string-here<br>
&gt; kernel-image kernel-headers<br>
&gt;<br>
&gt;<br>
&gt; Thanks for your help in advance,<br>
&gt;<br>
&gt; --<br>
&gt; Amirali Shambayati<br>
&gt; Bachelor Student<br>
&gt; Computer Engineering Department<br>
&gt; Sharif University of Technology<br>
&gt; Tehran, Iran<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Kernelnewbies mailing list<br>
&gt; <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
&gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
&gt;<br>
<br>
</div></div>Some time ago I wrote a blog entry about &quot;Speeding up Linux kernel<br>
compilation&quot;, hope it helps<br>
<br>
<a href="http://martinezjavier.blogspot.com/2011/03/speeding-up-linux-kernel-compilation.html" target="_blank">http://martinezjavier.blogspot.com/2011/03/speeding-up-linux-kernel-compilation.html</a><br>
</blockquote><div><br></div><div>Is allocating a big tmpfs and copying the entire kernel tree to it a good idea?</div><div>It seems to take &gt;4GB though. </div><div>If there was a way to quickly copy back the changes made to the disk, it would work quite well.. </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> </blockquote></div>