Hyperconverged CEPH: Prioritize CPU over VMs for OSDs?

Aug 20, 2020
7
1
8
We have a 5-Host hyperconverged Proxmox 7.1 with CEPH as VM storage (5 SSD OSDs per host). My understanding is that CEPH I/O highly depends on available CPU power

Would it make sense to prioritize the OSD processes over any VM process to have (near-)full CPU power available for CEPH even under heavy CPU load?

If it makes sense, how would you do it in a clean and permanent way?
tuning the OSD cgroups (cpu.weight)?
tuning the nice level of OSD processes?
reserve CPU cores exclusively for OSDs?
 
Hi Michael,

I've also been interested in improving my available CEPH performance. Do the Proxmox engineers have any guidance here?

There are many performance tuning guides but I am not certain for their compatibility, for instance would modifying the following help?
Code:
osd_op_num_threads_per_shard = 1
TO
osd_op_num_threads_per_shard = 4
According to SUSE:
Increasing the number of op threads may be helpful with SSD and NVMe devices, as it provides more work queues for operations.

Thanks, looking forward to reading more experienced replies.


Tmanok
 

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!