add note about power control, fix template comment
This commit is contained in:
parent
f20e479c59
commit
1165a658b8
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
hacky solution to integrate AMDGPU power profile control in `tuned` with Ansible
|
hacky solution to integrate AMDGPU power profile control in `tuned` with Ansible
|
||||||
|
|
||||||
## Notable variables
|
## Notable variables
|
||||||
|
- ``: Accepts a float from (presumably) 0.0 to 1.0. Allows max GPU power consumption to be controlled. Default: `0.9` for 90%, roughly stock 3D peak.
|
||||||
- `card`: Sets the `card#` to use in the qualified sysfs path `/sys/class/drm/{{ card }}/device/pp_power_profile_mode`. Default: `card0`
|
- `card`: Sets the `card#` to use in the qualified sysfs path `/sys/class/drm/{{ card }}/device/pp_power_profile_mode`. Default: `card0`
|
||||||
- `base_profiles`: List of base tuned profiles to clone in the new AMDGPU profiles. Defaults:
|
- `base_profiles`: List of base tuned profiles to clone in the new AMDGPU profiles. Defaults:
|
||||||
- `desktop`
|
- `desktop`
|
||||||
|
|
|
@ -5,7 +5,7 @@ summary={{ item.1 }} + TCP/RAID tweaks + AMDGPU pp_power_profile_mode = {{ item.
|
||||||
[sysfs]
|
[sysfs]
|
||||||
/sys/class/drm/{{ card }}/device/power_dpm_force_performance_level = manual
|
/sys/class/drm/{{ card }}/device/power_dpm_force_performance_level = manual
|
||||||
/sys/class/drm/{{ card }}/device/pp_power_profile_mode = {{ item.0.value }}
|
/sys/class/drm/{{ card }}/device/pp_power_profile_mode = {{ item.0.value }}
|
||||||
# limit to {{ power_max_multi * 100.0 |int }}% of the max power cap, nearest (higher) whole number
|
# limit to {{ power_max_multi * 100.0 |int }}% of the max power capability
|
||||||
/sys/class/drm/{{ card }}/device/hwmon/hwmon9/power1_cap = {{ power_cap }}
|
/sys/class/drm/{{ card }}/device/hwmon/hwmon9/power1_cap = {{ power_cap }}
|
||||||
|
|
||||||
[sysctl]
|
[sysctl]
|
||||||
|
|
Loading…
Reference in a new issue