role/host_vars: properly prefix vars

This commit is contained in:
Josh Lay 2024-08-27 06:54:55 -05:00
parent d07e6ca2fb
commit da32dcc252
No known key found for this signature in database
GPG key ID: 47AA304B2243B579
5 changed files with 41 additions and 47 deletions

View file

@ -1,26 +1,21 @@
---
# the profile tries to find the card with displays attached to apply these settings.
# configuration of many GPUs not yet supported, one is assumed
gpu_clock_min: "500"
gpu_clock_max: "2715"
gpumem_clock_static: "1075"
gpu_power_multi_def: 0.869969040247678 # 281W - real default
gpu_power_multi_oc: 1.0 # full board power capability
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
# other multipliers for 323W boards like mine:
# 300W: 0.928792569659443
# 310: 0.959752321981424
# sample worksheet in 'power_max multi tab calculator.ods'
gpu_mv_offset: "+25" # add 25mV or 0.025V
# gpu_mv_offset: "+75" # add 75mV or 0.075V
# gpu_mv_offset: "+150" # add 150mV or 0.15V
# gpu_mv_offset: "+133" # add 133mV or 0.133V
# gpu_mv_offset: "+75" # add 75mV or 0.075V
# gpu_mv_offset: "+125" # add 125mV or 0.125V
# '-50' undervolts GPU core voltage 50mV or 0.05V; untested - here be dragons/instability
tuned_amdgpu_mv_offset: "+45" # add 45mV / 0.045V
# '-50' undervolts GPU core voltage 50mV / 0.05V; warning: here be dragons/instability
# 'tuned' plugins - used to set the kernel cmdline via bootloader... and sysctl tunables
plugins: # ref: https://github.com/redhat-performance/tuned/tree/master/tuned/plugins
tuned_amdgpu_plugins: # ref: https://github.com/redhat-performance/tuned/tree/master/tuned/plugins
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"