tuned - add custom profile support, udev/io sched. example

This commit is contained in:
Josh Lay 2020-06-03 21:15:43 -05:00
parent a3cd18f090
commit 9406e7ddfb
6 changed files with 71 additions and 0 deletions

View file

@ -1,5 +1,22 @@
---
- hosts: all
vars:
tuned_base_profile: "network-latency"
tuned_custom_profile:
name: tweaks
sections:
- name: main
params:
- option: summary
value: "Custom tuned profile created by jlay - virt. IO scheduler, TCP, etc"
- option: include
value: "{{ tuned_base_profile }}"
- name: disk
params:
- option: devices_udev_regex
value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)"
- option: elevator
value: "mq-deadline"
roles:
- {role: bootstrap}
- {role: tmp-mount-fix}