RE: JFFS3 & performance

Artem B. Bityuckiy
2004-12-17T11:01:07Z

On Fri, 17 Dec 2004 jasmine@linuxgrrls.org wrote:

>
>
> 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.
>
Ok, I got it, thanks.

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.