RE: JFFS3 & performance

jasmine
2004-12-17T10:58:59Z

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.