JFFS3 & performance

jasmine at linuxgrrls.org jasmine at linuxgrrls.org
Fri Dec 17 05:46:40 EST 2004



On Fri, 17 Dec 2004, Artem B. Bityuckiy wrote:

>> Another idea, calculate the CRC backwards(from the end of the buffer to the beginning).
>> That give better L1 cache behaviour.
>>
> Why (may be some URL)? For all archs?

Because the process to use the buffer after the CRC will probably start 
from the beginning.  Processing the CRC from the beginning to the end will 
tend to leave the L1 cache full of the end of the buffer and thus the next 
process to use it will need to reload the L1.

-J.




More information about the linux-mtd mailing list