tuned-amdgpu/host_vars/localhost.yml

49 lines
2.3 KiB
YAML

---
# statically defined mapping of gpu profiles
# nets adjusted tuned profiles based on the contents in /sys/class/drm/card*/device/pp_power_profile_mode
# adds a power multiplier, see comments below for more info
# more reference driver profiles may be added, but do not remove default.
amdgpu_profiles:
default:
pwrmode: 0
pwr_cap_multi: 0.789473684210526 # 255W - default
3D:
pwrmode: 1
pwr_cap_multi: 0.789473684210526 # 255W - default
VR:
pwrmode: 4
pwr_cap_multi: 0.789473684210526 # 255W - default
compute:
pwrmode: 5
pwr_cap_multi: 0.789473684210526 # 255W - default
custom:
pwrmode: 6
pwr_cap_multi: 0.869969040247678 # 281W - slight boost
# pwr_cap_multi is multiplier against *board power capability* to determine power limits on the associated profile
# 0.5 = 50%, 1.0 = 100% (of card power capability, not stock limits)
#
# should not exceed 1.0, must be a float. driver will do some rounding/stepping
#
# see 'power_max multi tab calculator.ods' for a calculator/spreadsheet
# adjust cell F14 (board max power) and the 'effective watts' column to update calculations
# microWatt board power capability can be discovered like so: 'cat /sys/class/drm/card*/device/hwmon/hwmon*/power1_cap_max'
# power_max_default_multi: 0.75 # 242.25W, slightly lower than true default
#
# minimum/maximum GPU clocks using 'powerplay' below
# these do *not* apply to the resulting 'amdgpu-default' tuned profile
#
# only the others (eg: 'VR'/'custom') under amdgpu_profiles (below)
# effective clocks are dynamically adjusted by the driver in this range - based on utilization
# can find baseline values in the '/sys/class/drm/{{ card }}/device/pp_od_clk_voltage' file
# OD_RANGE indicates acceptable value ranges for SCLK (core) and MCLK (memory)
# Under 'OD_SCLK' and 'OD_MCLK' you will see 0/1. These are the minimum/maximum values for the respective component.
gpu_clock_min: "500" # default 500
gpu_clock_max: "2500" # default 2529
#
# memory clocks are static, we only set a 'max' - high-refresh rate display quirk
# this allows the memory clock to be adjusted
gpumem_clock_max: "1050"
#
# optional, applies offset to GPU voltage, eg: '+100' = to boost GPU core voltage 100mV or 0.1V. for the 'custom' GPU profile.
#gpu_mv_offset: "+50"