JFFS3 & performance
Artem B. Bityuckiy
dedekind at infradead.org
Fri Dec 17 06:01:07 EST 2004
On Fri, 17 Dec 2004 jasmine at 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.
More information about the linux-mtd
mailing list