ceph write amplification

damo2929

Member
Mar 15, 2022
106
15
23
44
hi all

I have found some information about ceph write amplification and performance tuning here from the ceph site.
while it gives values it doesn't go into how to implement them.

the most important one am wanting to implement is bluestore_rocksdb_options

can somebody tell me where and how to set the value.
then do I need to recreate the OSD's for the values to take effect?
 
you just need to add them in /etc/ceph/ceph.conf

Code:
[osd]
bluestore_rocksdb_options = compression=kNoCompression,max_write_buffer_number=4,min_write_buffer_number_to_merge=1,recycle_log_file_num=4,write_buffer_size=268435456,writable_file_max_buffer_size=0,compaction_readahead_size=2097152,max_background_compactions=2,max_total_wal_size=1073741824

then restart the osd services. (no need to recreate)
 

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!