Debian's bluestore *rocksdb* does not support neither fast CRC nor compression
from osd logs:
2017-12-24 00:15:25.024995 7f905c884e00 4 rocksdb: Compression algorithms supported: 2017-12-24 00:15:25.024997 7f905c884e00 4 rocksdb: Snappy supported: 0 2017-12-24 00:15:25.024999 7f905c884e00 4 rocksdb: Zlib supported: 0 2017-12-24 00:15:25.025001 7f905c884e00 4 rocksdb: Bzip supported: 0 2017-12-24 00:15:25.025002 7f905c884e00 4 rocksdb: LZ4 supported: 0 2017-12-24 00:15:25.025004 7f905c884e00 4 rocksdb: ZSTD supported: 0 2017-12-24 00:15:25.025006 7f905c884e00 4 rocksdb: Fast CRC32 supported: 0
I use Debian 9.3 and Ceph Luminous 12.2.2
#5 Updated by Марк Коренберг over 1 year ago
1. Characteristics of build machine MUST NOT affect builds. i.e. we should strictly override ./configure options which are detected by testing current processor (and current Linux kernel) features.
2. What about compression ? It does not depend on SSE, right ?
#6 Updated by Sage Weil over 1 year ago
Yeah, I agree. Is there a build log from the debian build farm?
The packages we build upstream do appear to have this support, so something is changing the d/* files downstream or something in the environment is not getting overriden.
Hmm, can you confirm that an upstream v12.2.1 package from http://download.ceph.com/debian-luminous/ for stretch or jessie does have the support correctly compiled in?
#11 Updated by Sage Weil over 1 year ago
- Status changed from Need More Info to In Progress
The build args are all coming from ceph.spec.in or debian/rules, and should match up with the builds you see in shaman, e.g. https://jenkins.ceph.com/job/ceph-dev-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos7,DIST=centos7,MACHINE_SIZE=huge/14921/consoleText
You might want to check with Kefu, who looked at this a while back. See http://tracker.ceph.com/issues/21603 and 318189465d1fc034ba8a6db7e981859eca2f10b2
#18 Updated by Марк Коренберг 9 months ago
2018-10-30 21:00:55.282712 7f802cd66e00 4 rocksdb: Compression algorithms supported: 2018-10-30 21:00:55.282712 7f802cd66e00 4 rocksdb: Snappy supported: 1 2018-10-30 21:00:55.282713 7f802cd66e00 4 rocksdb: Zlib supported: 0 2018-10-30 21:00:55.282714 7f802cd66e00 4 rocksdb: Bzip supported: 0 2018-10-30 21:00:55.282715 7f802cd66e00 4 rocksdb: LZ4 supported: 0 2018-10-30 21:00:55.282715 7f802cd66e00 4 rocksdb: ZSTD supported: 0 2018-10-30 21:00:55.282717 7f802cd66e00 4 rocksdb: Fast CRC32 supported: 1