Opening (Creating) any RocksDB shows this in the log: 2022/05/04-03:33:21.189455 7f14b298eac0 Compression algorithms supported: 2022/05/04-03:33:21.189459 7f14b298eac0 <------>kZSTD supported: 0 2022/05/04-03:33:21.189463 7f14b298eac0 <------>kXpressCompression supported: 0 2022/05/04-03:33:21.189466 7f14b298eac0 <------>kBZip2Compression supported: 0 2022/05/04-03:33:21.189511 7f14b298eac0 <------>kZSTDNotFinalCompression supported: 0 2022/05/04-03:33:21.189515 7f14b298eac0 <------>kLZ4Compression supported: 0 2022/05/04-03:33:21.189518 7f14b298eac0 <------>kZlibCompression supported: 0 2022/05/04-03:33:21.189521 7f14b298eac0 <------>kLZ4HCCompression supported: 0 2022/05/04-03:33:21.189524 7f14b298eac0 <------>kSnappyCompression supported: 0 2022/05/04-03:33:21.189530 7f14b298eac0 Fast CRC32 supported: Not supported on x86 I think it is wrong. At least, CRC32 offloading SHOULD be enabled on all targets where it exists (I guess not only x86, but also AARCH64). Regarding compression - I would enable them all. Except, possibly, bzip2.
See: https://tracker.ceph.com/issues/42293 https://tracker.ceph.com/issues/21603 https://tracker.ceph.com/issues/22534 Regarding AARCH64: it IS supported. And also on PPC architecture as well.
Seems https://github.com/facebook/rocksdb/pull/2950 does not help.
How can Fast CRC32 be enabled? I have updated RocksDB to 7.2.2 for rawhide and fixed/enabled the compression.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.