Hi Kent, hi everyone,

While still evaluating BCacheFS I thought I could give xxhash checksumming 
a try:

  metadata_checksum:                        none crc32c crc64 [xxhash] 
  data_checksum:                            none crc32c crc64 [xxhash] 
  compression:                              lz4
  background_compression:                   none
  str_hash:                                 crc32c crc64 [siphash] 

Anything to watch out for? So far everything seems to work just fine.

As for now no scrubbing available or is there? Does BCacheFS verify 
checksums on reads?

I am still not sure whether anything more than crc32c is really needed. 
But on the other hand even with already a bit older processors like AMD 
Ryzen 4750U with 8 cores I bet checksumming with xxhash should not be CPU 
bound. Actually on devices with fast enough devices I use xxhash with 
BTRFS since more than a year already and scrubbing goes between 1,6 and 
2,6 GiB/s with NVME SSDs. And regarding hash collisions I'd rather be safe 
than sorry.

Best,
-- 
Martin



Reply via email to