RE: JFFS3 & performance

Artem B. Bityuckiy
2005-01-19T13:07:39Z

On Tue, 18 Jan 2005, Joakim Tjernlund wrote:

> >
> > There was interesting offer to calculate checksum from the end of buffer
> > since it implies better L1 cache behaviour. Then there was another
> > argument against this idea - it was standed that some CPUs might be
> > capable to prefetch data forward and not capable to do it backward.
>
> Sorry for being so quiet lately, work is a bit much currently.
>
> Another idea is to calculate the checksum while reading/writing(much like
> the networking code does). That would probably require support from the MTD layer
> and that the checksum is stored at the end of the JFFS3 node.
Hmm. How to do this? In case of NAND we issue
read command and provide buffer, and it is up to driver/hw how to read.
One may use DMA.

> Jocke
>

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