xxhash ?
Now that xxhash is in the tree one could look at replacing crc32 in JFFS2/UBI. This would make checksumming much faster.
Just an idea
Jocke
Joakim,
Quoted 2 lines · Joakim Tjernlund
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?
Signature · 2 lines
Thanks, //richard
Quoted 5 lines · Richard Weinberger
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,
Quoted 8 lines
Quoted 2 lines · Joakim Tjernlund
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
Richard Weinberger
maintainerAm Donnerstag, 28. Dezember 2017, 10:44:05 CET schrieb Joakim Tjernlund:
Quoted 16 lines · Richard Weinberger
Quoted 15 lines
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,
Quoted 2 lines · Joakim Tjernlund
Now that xxhash is in the tree one could look at replacing crc32 in JFFS2/UBI. This would make checksumming much faster.
Quoted 7 lines
Quoted 3 lines
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)
Quoted 2 lines
and some other JFFS2 optimizations. Since crc32 is used everywhere in JFFS2 I figure xxhash would help, especially on low end CPUs
Unless this gives a decent speedup I don't think we should add new features to JFFS2.
For UBI/UBIFS it is a different story. Did you also tests with UBI?
Thanks,
//richard
Quoted 27 lines · Richard Weinberger
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.
Am Donnerstag, 28. Dezember 2017, 10:44:05 CET schrieb Joakim Tjernlund:
Quoted 15 lines · Richard Weinberger
Quoted 14 lines
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,
Quoted 2 lines · Joakim Tjernlund
Now that xxhash is in the tree one could look at replacing crc32 in JFFS2/UBI. This would make checksumming much faster.
Quoted 7 lines
Quoted 3 lines
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
Quoted 6 lines
due to crc32. I then optimized crc32(the big tables you have today)
Quoted 2 lines
and some other JFFS2 optimizations. Since crc32 is used everywhere in JFFS2 I figure xxhash would help, especially on low end CPUs
Unless this gives a decent speedup I don't think we should add new features to JFFS2.
xxhash could be worth it but someone will have to test it first
Quoted 1 line
For UBI/UBIFS it is a different story. Did you also tests with UBI?
Na, this was long before UBI existed :)