From 3ba4905fbb825176b3c1904411a5271317441b38 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Sat, 29 Jan 2022 23:07:22 -0600 Subject: [PATCH] tuned profile jinja template updates sysfs: amdgpu: set 'power_dpm_force_performance_level' to manual set 'pp_power_profile_mode' to one of the amdgpu power profiles sysctl: net tuning: net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbr net.core.rmem_max=33554432 net.core.wmem_max=33554432 Faster RAID rebuilds/checks dev.raid.speed_limit_min=600000 dev.raid.speed_limit_max=9000000 Allow some games to run (eg: DayZ) vm.max_map_count=1048576 Update template profile summaries to reflect the above --- templates/tuned.conf.j2 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/templates/tuned.conf.j2 b/templates/tuned.conf.j2 index 52b63f0..cae8780 100644 --- a/templates/tuned.conf.j2 +++ b/templates/tuned.conf.j2 @@ -1,6 +1,19 @@ [main] include={{ item.1 }} -summary={{ item.1 }} based profile with AMDGPU pp_power_profile_mode = {{ item.0.value }} ({{ item.0.name }}) +summary={{ item.1 }} + TCP/RAID tweaks + AMDGPU pp_power_profile_mode = {{ item.0.value }} ({{ item.0.name }}) [sysfs] -/sys/class/drm/{{ card }}/device/pp_power_profile_mode = {{ item.0.value }} \ No newline at end of file +/sys/class/drm/{{ card }}/device/power_dpm_force_performance_level = manual +/sys/class/drm/{{ card }}/device/pp_power_profile_mode = {{ item.0.value }} + +[sysctl] +net.core.default_qdisc=fq +net.ipv4.tcp_congestion_control=bbr +net.core.rmem_max=33554432 +net.core.wmem_max=33554432 +{# net.core.rmem_max=4194304 #} +{# net.core.wmem_max=1048576 #} +dev.raid.speed_limit_min=600000 +dev.raid.speed_limit_max=9000000 +# allow some games to run (eg: DayZ) +vm.max_map_count=1048576