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:
@ -56,6 +56,11 @@
|
||||
- include: pvc/main.yml
|
||||
tags: pvc-daemon
|
||||
|
||||
# Install CPU tuning
|
||||
- include: cputuning/main.yml
|
||||
tags: pvc-cputuning
|
||||
when: cpu_tuning is defined
|
||||
|
||||
- name: restart server on first install
|
||||
shell: 'sleep 3 && shutdown -r now "Ansible updates triggered"'
|
||||
async: 1
|
||||
|
Reference in New Issue
Block a user