Bug 2081540 - crc32 and compressions are not supported
Summary: crc32 and compressions are not supported
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rocksdb
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonny Heggheim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-03 22:40 UTC by Коренберг Марк
Modified: 2022-11-14 20:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-14 20:37:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.