add important variables

This commit is contained in:
Josh Lay 2021-10-18 17:31:35 -05:00
parent a62ea2720f
commit 961f869b13
Signed by: jlay
GPG key ID: B265E45CACAD108A

View file

@ -1,6 +1,11 @@
# tuned-amdgpu
hacky solution to integrate AMDGPU power profile control in `tuned`
hacky solution to integrate AMDGPU power profile control in `tuned` with Ansible
## Notable variables
- `card`: Sets the `card#` to use in the qualified sysfs path `/sys/class/drm/{{ card }}/device/pp_power_profile_mode`
- `base_profiles`: List of base tuned profiles to clone in the new AMDGPU profiles
- `amdgpu_profiles`: Mapping of AMDGPU power profiles (`name`/`value`) defined in the `sysfs` path above. Varies, sample is with a 6900XT.
## Example profiles/output
```
@ -40,4 +45,4 @@ Available profiles:
- throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest - Optimize for running inside a virtual guest
- virtual-host - Optimize for running KVM guests
```
```