[Lustre-devel] Checksum Algorithm

Niklas Edmundsson Niklas.Edmundsson at hpc2n.umu.se
Wed Nov 7 00:39:55 PST 2007

On Tue, 6 Nov 2007, Brian Behlendorf wrote:

>  My view on the issue is that it is madness to run with checksums disabled
> and we need to investigate more efficient checksum algorithms.  The current
> crc32 algorithm may be too heavy weight but the simple XOR algorithm you
> propose I fear is not strong enough.  I've seen to many cases now of various
> network components corrupting data in all sorts of interesting ways.
> Happily we have a lot of other choices for algorithms to investigate.
>  If you have the time I'd encourage you to investigate an assortment of
> algorithms and see which work best.  Making this a runtime option via
> proc I think is also an excellent idea.

I'd strongly recommend looking at which algorithms are used for 
checksumming in ZFS, they have done rather extensive investigations on 
the subject.

If I remember correctly ZFS is using fletcher by default with good 
performance, with sha256 as an option for those who wants it.

Anyhow, given the nowadays tight bond between CFS and SUN finding the 
relevant info on the subject should be a no-brainer :)

  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se     |    nikke at hpc2n.umu.se
  OH NO, my wife burned the rice crispies--AGAIN!!

More information about the lustre-devel mailing list