diff --git a/README.md b/README.md index e8941c3..92a20af 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ hacky solution to integrate AMDGPU power profile control in `tuned` with Ansible ## 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` - `base_profiles`: List of base tuned profiles to clone in the new AMDGPU profiles. Defaults: - `desktop` diff --git a/templates/tuned.conf.j2 b/templates/tuned.conf.j2 index 23655fa..87d9cba 100644 --- a/templates/tuned.conf.j2 +++ b/templates/tuned.conf.j2 @@ -5,7 +5,7 @@ summary={{ item.1 }} + TCP/RAID tweaks + AMDGPU pp_power_profile_mode = {{ item. [sysfs] /sys/class/drm/{{ card }}/device/power_dpm_force_performance_level = manual /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 }} [sysctl]