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

5 lines
186 B
Plaintext
Raw Normal View History

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