Bug 2081540

Summary: crc32 and compressions are not supported
Product: [Fedora] Fedora Reporter: Коренберг Марк <socketpair>
Component: rocksdbAssignee: Jonny Heggheim <hegjon>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: davide, epel-packagers-sig, hegjon, mmuzila
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-14 20:37:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Коренберг Марк 2022-05-03 22:40:45 UTC
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.

Comment 1 Коренберг Марк 2022-05-03 22:48:10 UTC
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.

Comment 2 Коренберг Марк 2022-05-03 22:49:50 UTC
Seems https://github.com/facebook/rocksdb/pull/2950 does not help.

Comment 3 Jonny Heggheim 2022-05-19 07:42:17 UTC
How can Fast CRC32 be enabled? I have updated RocksDB to 7.2.2 for rawhide and fixed/enabled the compression.

Comment 4 Ben Cotton 2022-08-09 13:38:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.