All of lore.kernel.org
 help / color / mirror / Atom feed
* CRC32 of messages
@ 2015-06-26 16:49 Erik G. Burrows
  2015-06-26 17:51 ` Somnath Roy
  2015-06-29  6:31 ` Dałek, Piotr
  0 siblings, 2 replies; 11+ messages in thread
From: Erik G. Burrows @ 2015-06-26 16:49 UTC (permalink / raw)
  To: ceph-devel

All,
Can someone explain to me the rationale for performing in-software CRC32
hashes of all messages through the Pipe and AsyncMessage classes?

On my servers, operf shows that 20% of the total CPU time in my benchmark
tests are being spent in the librados ceph_crc32c_sctp function. I can see
that the library is trying to use CPU accelerations if available, but what
I'd like to understand is: why checksum the messages at all?

If the messages are local, there should not be any corruption at all, and
if they are coming in over IP, then the kernel and NIC should do Layer-2/3
CRCs and reject any corrupted packets. So why re-CRC the messages at the
Ceph layer?

Thanks,
  Erik Burrows



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

end of thread, other threads:[~2015-06-29 12:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-26 16:49 CRC32 of messages Erik G. Burrows
2015-06-26 17:51 ` Somnath Roy
2015-06-29  6:27   ` Dałek, Piotr
2015-06-29  7:00     ` Somnath Roy
2015-06-29  7:31       ` Dałek, Piotr
2015-06-29  6:31 ` Dałek, Piotr
2015-06-29  6:55   ` Dan van der Ster
2015-06-29 10:51     ` Gregory Farnum
2015-06-29 11:30       ` Daniel Swarbrick
2015-06-29 11:37         ` Gregory Farnum
2015-06-29 12:20         ` Dałek, Piotr

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.