Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph compression hint for objectoperation #122

Closed
jrse opened this issue Feb 7, 2018 · 2 comments
Closed

ceph compression hint for objectoperation #122

jrse opened this issue Feb 7, 2018 · 2 comments
Assignees

Comments

@jrse
Copy link
Contributor

jrse commented Feb 7, 2018

add compressible hint to write operation

@jrse
Copy link
Contributor Author

jrse commented Feb 7, 2018

ceph : compression:
http://docs.ceph.com/docs/master/rados/configuration/bluestore-config-ref/#inline-compression

ceph osd pool set compression_algorithm
ceph osd pool set compression_mode
ceph osd pool set compression_required_ratio
ceph osd pool set compression_min_blob_size
ceph osd pool set compression_max_blob_size

suse configuration
https://www.suse.com/documentation/suse-enterprise-storage-5/book_storage_admin/data/sec_ceph_pool_compression.html

@jrse jrse self-assigned this Feb 8, 2018
jrse added a commit that referenced this issue Feb 8, 2018
 
 op->set_alloc_hint2(write_buffer_size, length,
librados::ALLOC_HINT_FLAG_COMPRESSIBLE);
jrse added a commit that referenced this issue Feb 8, 2018
@jrse
Copy link
Contributor Author

jrse commented Feb 9, 2018

should work if storage pool is configured accordingly. done.

@jrse jrse closed this as completed Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant