xxhash ?

Joakim Tjernlund Joakim.Tjernlund at infinera.com
Thu Dec 28 01:44:05 PST 2017


On Thu, 2017-12-28 at 10:38 +0100, Richard Weinberger wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> Joakim,
> 
> On Thu, Dec 28, 2017 at 7:13 AM, Joakim Tjernlund
> <Joakim.Tjernlund at infinera.com> wrote:
> > Now that xxhash is in the tree one could look at replacing
> > crc32 in JFFS2/UBI. This would make checksumming much faster.
> 
> Since this will require a change of the on-disk format we have to be
> very careful.
> Do you have a use-case where crc32 is the bottle neck?

Not directly, I remember the good old days when mounting took forever, mostly
due to crc32. I then optimized crc32(the big tables you have today) and some
other JFFS2 optimizations. Since crc32 is used everywhere in JFFS2 I figure
xxhash would help, especially on low end CPUs

 Jocke


More information about the linux-mtd mailing list