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

20 lines
473 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
2024-03-24 23:55:50 +00:00
{% if sysctl is defined %}
[sysctl]
2024-03-24 23:55:50 +00:00
{% for _sysctl, value in sysctl.items() %}
{{ _sysctl }}={{ value }}
{% endfor %}
2024-03-24 23:55:50 +00:00
{% endif %}
# 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=${i:PROFILE_DIR}/amdgpu-clock.sh