<div dir="ltr"><div><div><div><div><div><div><div>Hi Sandeep<br><br><br>On Wed, Jan 30, 2013 at 6:35 PM, sandeep kumar &lt;<a href="mailto:coolsandyforyou@gmail.com">coolsandyforyou@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; Hi Dave.<br>
&gt; Ok<br>&gt; Can you tell me which thing runs faster ?<br>&gt; 1)Copy zImage(compressed kernel) from flash to Ram, jump to start, Relocate compress kernel, uncompress it...<br>&gt; 2)Copy Image(uncompressed one) from flash to RAM and run it right away...<br>
&gt;<br>&gt; My gut feeling says second one is better, thats what i m trying to prove here... :)<br><br></div>It depends on numerous factors:<br></div>1 - Your flash speed<br></div>2 - Your RAM speed<br></div>3 - Your CPU speed<br>
</div><div>4 - Whether you have code and/or data caches enabled<br></div><br></div>If you enable the caches, use DMA from NAND (so make your NAND as fast as possible), then option 1 usually blows away option 2, but your mileage may vary.<br>
<br></div><div>Dave Hylands<br></div></div>