vars: move to host_vars
This commit is contained in:
parent
70b9ae6469
commit
aa64363d29
2 changed files with 28 additions and 22 deletions
28
host_vars/localhost.yml
Normal file
28
host_vars/localhost.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
# note: 'gpu_*' vars only apply with the 'custom' suffixed profiles created by this tooling
|
||||||
|
# profiles based on the 'default' amdgpu power profile mode use default clocks
|
||||||
|
#
|
||||||
|
# the connected AMD GPU is automatically discovered - assumes one
|
||||||
|
# on swap to other AMD cards to avoid instability:
|
||||||
|
# 'rm -rfv /etc/tuned/*amdgpu*'
|
||||||
|
#
|
||||||
|
# default 500, for best performance: near maximum. applies with 'overclock' tuned profile
|
||||||
|
gpu_clock_min: "500"
|
||||||
|
|
||||||
|
# gpu_clock_max: "2675" # default somewhere around 2529 to 2660.
|
||||||
|
gpu_clock_max: "2750"
|
||||||
|
|
||||||
|
gpumem_clock_static: "1075"
|
||||||
|
|
||||||
|
gpu_power_multi:
|
||||||
|
default: 0.869969040247678 # 281W - real default
|
||||||
|
# overclock: 0.928792569659443 # 300W - slight boost
|
||||||
|
overclock: 1.0 # 323W - full board capability
|
||||||
|
# optional, applies offset (+/-) to GPU voltage by provided mV
|
||||||
|
# only counts for peak and overlock profiles
|
||||||
|
# gpu_mv_offset: "-20"
|
||||||
|
|
||||||
|
gpu_mv_offset: "+125" # add 125mV or 0.125V
|
||||||
|
# gpu_mv_offset: "+50" # add 50mV or 0.05V
|
||||||
|
# gpu_mv_offset: "+75" # add 75mV or 0.075V
|
||||||
|
# '-50' undervolts GPU core voltage 50mV or 0.05V; untested - here be dragons/instability
|
22
playbook.yml
22
playbook.yml
|
@ -5,28 +5,6 @@
|
||||||
# role prepares/modifies 'tuned' with AMD GPU power/clock parameters
|
# role prepares/modifies 'tuned' with AMD GPU power/clock parameters
|
||||||
# creates a new tuned profile made for each permutation of (base) 'tuned' profile + AMD powerplay profile
|
# creates a new tuned profile made for each permutation of (base) 'tuned' profile + AMD powerplay profile
|
||||||
- role: tuned_amdgpu
|
- role: tuned_amdgpu
|
||||||
# note: 'gpu_*' vars only apply with the 'custom' suffixed profiles created by this tooling
|
|
||||||
# profiles based on the 'default' amdgpu power profile mode use default clocks
|
|
||||||
#
|
|
||||||
# the connected AMD GPU is automatically discovered - assumes one
|
|
||||||
# on swap to other AMD cards to avoid instability:
|
|
||||||
# 'rm -rfv /etc/tuned/*amdgpu*'
|
|
||||||
gpu_clock_min: "500" # default 500, for best performance: near maximum. applies with 'overclock' tuned profile
|
|
||||||
# gpu_clock_max: "2675" # default somewhere around 2529 to 2660.
|
|
||||||
gpu_clock_max: "2725"
|
|
||||||
gpumem_clock_static: "1075"
|
|
||||||
gpu_power_multi:
|
|
||||||
default: 0.869969040247678 # 281W - real default
|
|
||||||
# overclock: 0.928792569659443 # 300W - slight boost
|
|
||||||
overclock: 1.0 # 323W - full board capability
|
|
||||||
# optional, applies offset (+/-) to GPU voltage by provided mV
|
|
||||||
# only counts for peak and overlock profiles
|
|
||||||
# gpu_mv_offset: "-20"
|
|
||||||
gpu_mv_offset: "+125" # add 125mV or 0.125V
|
|
||||||
# gpu_mv_offset: "+50" # add 50mV or 0.05V
|
|
||||||
# gpu_mv_offset: "+75" # add 75mV or 0.075V
|
|
||||||
# '-50' undervolts GPU core voltage 50mV or 0.05V; untested - here be dragons/instability
|
|
||||||
#
|
|
||||||
# list of source tuned profiles available on Fedora (TODO: should dynamically discover)
|
# list of source tuned profiles available on Fedora (TODO: should dynamically discover)
|
||||||
base_profiles:
|
base_profiles:
|
||||||
- balanced
|
- balanced
|
||||||
|
|
Loading…
Reference in a new issue