Question about Ceph Bluestore Inline compression setup

Drkrieger

New Member
Jul 27, 2018
13
7
3
40
Hello folks!

I've been working on a Ceph cluster for a few months now, and finally getting it to a point where we can put it into production. We're looking at possibly using an all flash storage system and I'd like to play around with using the inline compression feature with Bluestore.

Now from what I've read, I know that the compression only happens at the write phase for data going into a pool and you cannot compress an existing pool without moving the data out then back into the pool.
When configuring the pool compression settings, there's mention of ensuring the 'rados IO allocation hints' are enabled. I haven't been able to find any documentation that tells me how to do this.
I found the reference to it here: http://docs.ceph.com/docs/mimic/rados/configuration/bluestore-config-ref/#inline-compression

Which links to here: http://docs.ceph.com/docs/mimic/rados/api/librados/#c.rados_set_alloc_hint

Does anyone know if this is already enabled by default with Proxmox, or do I have to modify a configuration file somewhere to enable this?
 
I can only find a bug entry that this feature is not yet in librbd. Some people set the behavior to 'aggressive', not sure how much it helps though.
https://tracker.ceph.com/issues/19731
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!