machine_setup/ansible/roles/cpu/templates/energy_performance_preference.conf.j2
2023-12-18 20:08:06 -05:00

5 lines
192 B
Django/Jinja

# Favor energy efficiency for hardware p-states
{% for core in range(0, cores, 1) %}
w- /sys/devices/system/cpu/cpufreq/policy{{core}}/energy_performance_preference - - - - power
{% endfor %}