tuned - add custom profile support, udev/io sched. example
This commit is contained in:
parent
a3cd18f090
commit
9406e7ddfb
6 changed files with 71 additions and 0 deletions
17
play.yml
17
play.yml
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue