Unable to locate "bluestore_compressed_allocated" & "bluestore_compressed_original" parameters while executing "ceph daemon osd.X perf dump" command.
Hi, We are considering BlueStore compression test in our cluster. For this we have created rbd image on our EC pool. While we are executing "ceph daemon osd.X perf dump | grep -E '(compress_.*_count|bluestore_compressed_)'", we are not locate below parameters, even we tried with ceph tell command. "bluestore_compressed_allocated" "bluestore_compressed_original" As a result, we are unable to determine the extent of compression for specific RBD images. Are there any specific configurations required to locate the given parameters or any alternate method to assess Bluestore compression. Any guidance or insight would be greatly appreciated. Thanks Mohammad Saif Ceph Enthusiast
Hi, could you provide more details what exactly you tried and which configs you set? Which compression mode are you running? In a small Pacific test cluster I just set the mode to "force" (default "none"): storage:~ # ceph config set osd bluestore_compression_mode force And then after a few minutes I see the results: storage:~ # ceph tell osd.0 perf dump | grep -E '(compress_.*_count|bluestore_compressed_)' "compress_success_count": 4, "compress_rejected_count": 0, "bluestore_compressed_allocated": 12288, "bluestore_compressed_original": 24576, Regards, Eugen Zitat von Alam Mohammad <samdto987@gmail.com>:
Hi,
We are considering BlueStore compression test in our cluster. For this we have created rbd image on our EC pool.
While we are executing "ceph daemon osd.X perf dump | grep -E '(compress_.*_count|bluestore_compressed_)'", we are not locate below parameters, even we tried with ceph tell command. "bluestore_compressed_allocated" "bluestore_compressed_original" As a result, we are unable to determine the extent of compression for specific RBD images.
Are there any specific configurations required to locate the given parameters or any alternate method to assess Bluestore compression. Any guidance or insight would be greatly appreciated.
Thanks Mohammad Saif Ceph Enthusiast _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi Eugen, We are planning to build a cluster with an erasure-coded (EC) pool to save some disk space. For that we have experimented with compression settings on the RBD pool using the following parameters: On pool we have set below parameters: Compression mode: Aggressive Compression type: lz4 Compression ratio: 0.85 Additionally, I have configured global settings in the Ceph configuration file for BlueStore compression: Bluestore_compression_mode aggressive bluestore_compression_algorithm lz4 bluestore_compression_required_ratio 0.85 However, when executing the ceph tell command [ceph tell osd.0 perf dump | grep -E '(compress_.*_count|bluestore_compressed_)'], we are getting only below paramets: "compress_success_count": 4, "compress_rejected_count": 0, not getting below parameters: "bluestore_compressed_allocated": 12288, "bluestore_compressed_original": 24576, Is there a specific aspect of the configuration that I might be overlooking? If so, could you please provide guidance on how to properly configure compression settings to effectively save disk space in the Ceph cluster? Any guidance or insight would be greatly appreciated. Regards, Mohammad Saif
Hi, ceph.conf is not used anymore the way it was before cephadm. Just add the config to the config store (see my previous example) and it should be applied to all OSDs. Regards Eugen Zitat von Alam Mohammad <samdto987@gmail.com>:
Hi Eugen,
We are planning to build a cluster with an erasure-coded (EC) pool to save some disk space. For that we have experimented with compression settings on the RBD pool using the following parameters:
On pool we have set below parameters: Compression mode: Aggressive Compression type: lz4 Compression ratio: 0.85
Additionally, I have configured global settings in the Ceph configuration file for BlueStore compression:
Bluestore_compression_mode aggressive bluestore_compression_algorithm lz4 bluestore_compression_required_ratio 0.85 However, when executing the ceph tell command [ceph tell osd.0 perf dump | grep -E '(compress_.*_count|bluestore_compressed_)'], we are getting only below paramets: "compress_success_count": 4, "compress_rejected_count": 0,
not getting below parameters: "bluestore_compressed_allocated": 12288, "bluestore_compressed_original": 24576,
Is there a specific aspect of the configuration that I might be overlooking? If so, could you please provide guidance on how to properly configure compression settings to effectively save disk space in the Ceph cluster?
Any guidance or insight would be greatly appreciated.
Regards, Mohammad Saif _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Alam Mohammad
-
Eugen Block