Add Ceph OSD cpuset tuning options
Allows an administrator to set CPU pinning with the cpuset tool for Ceph OSDs, in situations where CPU contention with VMs or other system tasks may be negatively affecting OSD performance. This is optional, advanced tuning and is disabled by default.
This commit is contained in:
13
roles/pvc/templates/ceph/ceph-osd-cpuset.service.j2
Normal file
13
roles/pvc/templates/ceph/ceph-osd-cpuset.service.j2
Normal file
@ -0,0 +1,13 @@
|
||||
# PVC Ceph OSD cpuset service unit
|
||||
# {{ ansible_managed }}
|
||||
{% set cset_host = pvc_shield_osds_cset | selectattr('hostname', 'equalto', inventory_hostname) %}
|
||||
[Unit]
|
||||
Description = Ceph OSD cpuset shield creation
|
||||
Before = ceph-osd@.service libvirtd.service
|
||||
|
||||
[Service]
|
||||
Type = oneshot
|
||||
ExecStart = /usr/local/sbin/ceph-osd-cpuset
|
||||
|
||||
[Install]
|
||||
WantedBy = ceph.target
|
Reference in New Issue
Block a user