machine_setup/ansible/roles/cpu/templates/energy_performance_preference.conf.j2

5 lines
192 B
Plaintext
Raw Normal View History

# 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 %}