Add updated tuning configuration
Uses a much nicer CPU tuning configuration, leveraging systemd's AllowedCPUs and CPUAffinity options within a set of slices (some default, some custom). Configuration is also greatly simplified versus the previous implementation, simply asking for a number of CPUS for both the system and OSDs, and calculating everything else that is required. Also switches (back) to the v2 unified cgroup hierarchy by default as required by the systemd AllowedCPUs directive.
This commit is contained in:
7
roles/pvc/tasks/cputuning/main.yml
Normal file
7
roles/pvc/tasks/cputuning/main.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
|
||||
- include: enable.yml
|
||||
when: cpu_tuning.enabled
|
||||
|
||||
- include: disable.yml
|
||||
when: not cpu_tuning.enabled
|
Reference in New Issue
Block a user