JFFS3 & performance checksum test results.
Artem B. Bityuckiy
dedekind at infradead.org
Mon Feb 21 05:32:33 EST 2005
On Sat, 2005-02-19 at 21:00 +0100, Lior Balkohen wrote:
> I don't know where/whom to provide to results, so I send the results
> for my IBM embedded powerpc 405 based set top box to the linux-mtd
> list. I hope, I'm right here.
Thank you Lior.
After we've talked with Joern at IRC we are in substantial agreement
that it is good idea not to switch to adler32 and keep CRC32.
The main reason is weakness of adler32 checksum algorithm:
1. It is claimed that the a-priori probability of checksum collisions
might be much higher that 1/2^32 when adler32 ais applied to short data
chunks.
2. It is asserted that adler32 becomes weak (and doesn't detect even
some 1-bit errors) for data chunks > 5552 bytes.
Particularly, SCTP protocol's checksum has recently been changed from
adler32 to CRC32c. For more information, see RFC3309.
But the test is still actual - we can observe the difference between
forward/backward calculation directions.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
More information about the linux-mtd
mailing list