All of lore.kernel.org
 help / color / mirror / Atom feed
* [Lustre-devel] Checksum Algorithm
@ 2007-11-06 16:59 RS RS
  2007-11-06 19:30 ` Brian Behlendorf
  2007-11-07 20:05 ` Andreas Dilger
  0 siblings, 2 replies; 5+ messages in thread
From: RS RS @ 2007-11-06 16:59 UTC (permalink / raw)
  To: lustre-devel

Hi,

We have seen a huge performance drop in 1.6.3, due to the checksum being enabled by default.  I looked at the algorithm being used, and it is actually a CRC32, which is a very strong algorithm for detecting all sorts of problems, such as single bit errors, swapped bytes, and missing bytes.

I've been experimenting with using a simple XOR algorithm.  I've been able to recover most of the lost performance.  This algorithm will detected corrupted bytes and words.  This algorithm will not detect swapped bytes errors, but I think that these are pretty rare.  This algorithm will not detect missing bytes, but I suspect that other things in Lustre or LNET will detect this problem.  This algorithm will not detect two errors that offset each other, such as a single bit error in two words that are a multiple of 4 bytes apart.

Should we consider using a more efficient checksum algorithm, in order to regain performance?  Should the algorithm be configurable?  

-Roger

_________________________________________________________________
Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20071106/30a2c755/attachment.htm>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-07 20:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-06 16:59 [Lustre-devel] Checksum Algorithm RS RS
2007-11-06 19:30 ` Brian Behlendorf
2007-11-06 19:57   ` Paul Nowoczynski
2007-11-07  8:39   ` Niklas Edmundsson
2007-11-07 20:05 ` Andreas Dilger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.