2024-03-25 00:18:58 +00:00
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
|
2021-10-13 02:03:21 +00:00
|
|
|
[main]
|
|
|
|
include={{ item.1 }}
|
2023-04-08 17:28:51 +00:00
|
|
|
summary={{ item.1 }} + TCP/RAID tweaks + AMDGPU {{ item.0 }}
|
2021-10-13 02:03:21 +00:00
|
|
|
|
2024-08-05 13:12:02 +00:00
|
|
|
[variables]
|
|
|
|
include=/etc/tuned/amdgpu-profile-vars.conf
|
|
|
|
|
2022-06-13 02:20:10 +00:00
|
|
|
# reference/execute AMDGPU control script
|
|
|
|
# used because some sysfs interfaces are transactional
|
|
|
|
# cannot be set by a single param in 'tuned'/[sysfs]
|
2022-06-04 16:38:40 +00:00
|
|
|
[gpuclockscript]
|
|
|
|
type=script
|
2024-08-05 13:12:02 +00:00
|
|
|
script={{ (tuned_amdgpu_profile_dir, 'amdgpu-clock.sh') | ansible.builtin.path_join }}
|
|
|
|
{# call the state-managing script with the selected profile, item.0, as an argument #}
|
2024-08-04 19:02:27 +00:00
|
|
|
{% if plugins is defined %}
|
|
|
|
{% for section, options in plugins.items() %}
|
|
|
|
{#+ give each plugin section some space +#}
|
|
|
|
[{{ section }}]
|
|
|
|
{% for key, value in options.items() %}
|
|
|
|
{{ key }}={{ value }}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|