Hi,
First priority for compression blob is per-pool setting (taken if set)
# ceph osd pool get test compression_min_blob_size
Third is selected from *_hdd *_ssd depending on the main block device in the OSD being HDD or SSD.
This can be forced by setting bluestore_debug_enforce_settings to either 'hdd' or 'ssd' if your hardware improperly reports
# cat /sys/block/sda/queue/rotational0
https://github.com/ceph/ceph/pull/51933
# cat /sys/block/nvme1n1/queue/physical_block_size
512
In such a case you can set bluestore_min_alloc_size (in effect only during mkfs) to some value smaller than 4K, but multiply of 512.
This path is not often tested, and you need to own unexpected side effects.
Best regards,
Adam Kupczyk
On Wed, 16 Aug 2023 at 19:46, Tony Liu <tonyliu0592@xxxxxxxxxxx> wrote:
Hi,
With Pacific and afterwards, which of the following two settings takes precedence?
bluestore_compression_min_blob_size (default 0)
bluestore_compression_min_blob_size_<type> (default 8192)
I'd assume the more specific setting takes precedence?
What's this "blob"? Is it write block?
Then, there is no compression for 4K write block?
I was not able to find it out from doc, hope someone could help to clarify.
Thanks!
Tony
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx