add 'btrfs' role, move vars to host_vars
This commit is contained in:
parent
13da397c76
commit
55d37e10ac
7 changed files with 127 additions and 45 deletions
23
host_vars/lalilulelo.yml
Normal file
23
host_vars/lalilulelo.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
tuned_base_profile: "network-latency"
|
||||
tuned_custom_profile:
|
||||
name: tweaks
|
||||
sections:
|
||||
- name: main
|
||||
params:
|
||||
- option: summary
|
||||
value: "Boosts RAID and iGPU speeds, managed by Ansible"
|
||||
- option: include
|
||||
value: "{{ tuned_base_profile }}"
|
||||
- name: sysctl
|
||||
params:
|
||||
- option: dev.raid.speed_limit_min
|
||||
value: "1000000"
|
||||
- option: dev.raid.speed_limit_max
|
||||
value: "9500000"
|
||||
- option: net.core.somaxconn
|
||||
value: "16384"
|
||||
- name: sysfs
|
||||
params:
|
||||
- option: /sys/class/drm/*/device/power_dpm_force_performance_level
|
||||
value: highest
|
43
host_vars/workstation.yml
Normal file
43
host_vars/workstation.yml
Normal file
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
tuned_base_profile: "network-latency"
|
||||
tuned_custom_profile:
|
||||
name: tweaks
|
||||
sections:
|
||||
- name: main
|
||||
params:
|
||||
- option: summary
|
||||
value: "Ansible-managed/customized profile"
|
||||
- option: include
|
||||
value: "{{ tuned_base_profile }}"
|
||||
- name: virtsched
|
||||
params:
|
||||
- option: type
|
||||
value: "disk"
|
||||
- option: devices_udev_regex
|
||||
value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)"
|
||||
- option: elevator
|
||||
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
|
||||
params:
|
||||
# - option: net.core.default_qdisc
|
||||
# value: "fq"
|
||||
# - option: net.ipv4.tcp_congestion_control
|
||||
# value: "bbr"
|
||||
# - option: net.core.rmem_max
|
||||
# value: "4194304"
|
||||
# - option: net.core.wmem_max
|
||||
# value: "1048576"
|
||||
- option: dev.raid.speed_limit_min
|
||||
value: "600000"
|
||||
- option: dev.raid.speed_limit_max
|
||||
value: "9000000"
|
||||
- option: net.core.somaxconn
|
||||
value: "8192"
|
Loading…
Add table
Add a link
Reference in a new issue