pvc-ansible/roles/pvc/templates/cputuning/osd.slice.j2

14 lines
249 B
Django/Jinja

# PVC ceph-osd slice unit
# {{ ansible_managed }}
[Unit]
Description=Ceph OSD Slice
Documentation=man:systemd.special(7)
Before=slices.target
[Slice]
CPUAccounting=true
Delegate = true
CPUAffinity = {{ cpuset_osd }}
AllowedCPUs = {{ cpuset_osd }}