Dmitry Mozheyko wrote:
Hello all.
Where i can find information about differences between fletcher2, fletcher4, 
and sha256 algorithms for ZFS checksums?

Start here: http://en.wikipedia.org/wiki/Checksum

Then read up on Fletcher here at this link
        http://en.wikipedia.org/wiki/Fletcher's_checksum

Then go here:

http://en.wikipedia.org/wiki/Cryptographic_hash_function

and finally specific information on SHA256 is here:

http://en.wikipedia.org/wiki/SHA-256


As for how they are used in ZFS is it all a strength vs performance trade off.

On my todo list is to actually do some benchmarking and document what the performance characteristics of each of them are, particularly the SHA256 one when there is hardware crypto support available in the CPU or an add in card.

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to