update default "tuned" params

This commit is contained in:
Josh Lay 2021-04-05 00:16:05 -05:00
parent 8ab42fe614
commit a09f9d1ff1

View file

@ -11,18 +11,32 @@
value: "Custom tuned profile created by jlay - virt. IO scheduler, TCP, etc" value: "Custom tuned profile created by jlay - virt. IO scheduler, TCP, etc"
- option: include - option: include
value: "{{ tuned_base_profile }}" value: "{{ tuned_base_profile }}"
- name: disk - name: virtsched
params: params:
- option: type
value: "disk"
- option: devices_udev_regex - option: devices_udev_regex
value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)" value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)"
- option: elevator - option: elevator
value: "mq-deadline" value: "mq-deadline"
- name: ssdnosched
params:
- option: type
value: "disk"
- option: devices_udev_regex
value: "(ID_ATA_ROTATION_RATE_RPM=0)"
- option: elevator
value: "none"
- name: sysctl - name: sysctl
params: params:
- option: net.core.default_qdisc - option: net.core.default_qdisc
value: "fq" value: "fq"
- option: net.ipv4.tcp_congestion_control - option: net.ipv4.tcp_congestion_control
value: "bbr" value: "bbr"
- option: net.core.rmem_max
value: "4194304"
- option: net.core.wmem_max
value: "1048576"
roles: roles:
- {role: bootstrap} - {role: bootstrap}
- {role: tuned} - {role: tuned}