tuned-amdgpu/roles/tuned_amdgpu/templates/tuned.conf.j2

26 lines
793 B
Text
Raw Normal View History

2024-03-25 00:18:58 +00:00
{{ ansible_managed | comment }}
2021-10-13 02:03:21 +00:00
[main]
include={{ item.1 }}
summary={{ item.1 }} + TCP/RAID tweaks + AMDGPU {{ item.0 }}
2021-10-13 02:03:21 +00:00
[variables]
include=/etc/tuned/amdgpu-profile-vars.conf
# reference/execute AMDGPU control script
# used because some sysfs interfaces are transactional
# cannot be set by a single param in 'tuned'/[sysfs]
[gpuclockscript]
type=script
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-27 11:54:55 +00:00
{% if tuned_amdgpu_plugins is defined %}
{% for section, options in tuned_amdgpu_plugins.items() %}
{#+ give each plugin section some space +#}
[{{ section }}]
{% for key, value in options.items() %}
{{ key }}={{ value }}
{% endfor %}
{% endfor %}
{% endif %}