2024-03-24 23:28:38 +00:00
|
|
|
---
|
2024-08-10 18:18:20 +00:00
|
|
|
# the profile tries to find the card with displays attached to apply these settings.
|
|
|
|
# configuration of many GPUs not yet supported, one is assumed
|
2024-08-27 11:54:55 +00:00
|
|
|
tuned_amdgpu_clock_min: "500"
|
|
|
|
tuned_amdgpu_clock_max: "2715"
|
|
|
|
tuned_amdgpu_memclock_static: "1075"
|
|
|
|
tuned_amdgpu_power_multi_def: 0.869969040247678 # 281W - real default
|
|
|
|
tuned_amdgpu_power_multi_oc: 1.0 # full board power capability
|
2024-08-05 13:12:02 +00:00
|
|
|
# other multipliers for 323W boards like mine:
|
|
|
|
# 300W: 0.928792569659443
|
|
|
|
# 310: 0.959752321981424
|
|
|
|
# sample worksheet in 'power_max multi tab calculator.ods'
|
2024-03-24 23:28:38 +00:00
|
|
|
|
2024-08-27 11:54:55 +00:00
|
|
|
tuned_amdgpu_mv_offset: "+45" # add 45mV / 0.045V
|
|
|
|
# '-50' undervolts GPU core voltage 50mV / 0.05V; warning: here be dragons/instability
|
2024-03-24 23:55:50 +00:00
|
|
|
|
2024-08-04 19:02:27 +00:00
|
|
|
# 'tuned' plugins - used to set the kernel cmdline via bootloader... and sysctl tunables
|
2024-08-27 11:54:55 +00:00
|
|
|
tuned_amdgpu_plugins: # ref: https://github.com/redhat-performance/tuned/tree/master/tuned/plugins
|
2024-08-04 19:02:27 +00:00
|
|
|
bootloader: # 'cmdline' allows entries w/ a suffix, names should be unique across *all* profiles. values accept +/- operators
|
|
|
|
cmdline_amdgpu_general: "delayacct nowatchdog kvm.ignore_msrs=1 kvm_amd.npt=1 amdgpu.ppfeaturemask=0xfff7ffff"
|
|
|
|
cmdline_amdgpu_hugepages: "default_hugepagesz=1G hugepagesz=1G hugepages=16"
|
|
|
|
cmdline_amdgpu_iommu: "amd_iommu=on iommu=pt"
|
|
|
|
cmdline_amdgpu_devs: "nvme_core.default_ps_max_latency_us=0 pci=realloc=off"
|
|
|
|
sysctl: # quote ints/cast to string to avoid surprises
|
|
|
|
kernel.dmesg_restrict: '0' # allow regular users to see the kernel ring buffer
|
|
|
|
# net.core.default_qdisc: fq # congestion control
|
|
|
|
# net.ipv4.tcp_congestion_control: bbr2 # cong. control part 2
|
|
|
|
# net.core.rmem_max: '33554432'
|
|
|
|
# net.core.wmem_max: '33554432'
|
|
|
|
dev.raid.speed_limit_min: '65000000'
|
|
|
|
dev.raid.speed_limit_max: '99999999'
|
|
|
|
vm.compaction_proactiveness: '30' # improve THP allocation latency, compact in background
|
|
|
|
vm.page_lock_unfairness: '1' # make page lock theft slightly more fair
|
|
|
|
vm.max_map_count: '1048576' # allow some games to run (eg: DayZ)
|