coyote/cpupower/cpupower.examples
Thomas Gebert 0b4237805d Control CPU frequency and idle settings
This selection of script, config and systemd unit file shall give
control over configuring the CPU behaviour with cpupower on startup.

Since SuSE does not ship anything we have to write our own...
2024-09-19 14:36:35 +02:00

26 lines
1.0 KiB
Plaintext

ansible -b all -m copy -a "src=cpupower.sh dest=/usr/local/sbin/cpupower.sh"
ansible -b all -m copy -a "src=cpupower.service dest=/etc/systemd/system/cpupower.service"
ansible -b all -m copy -a "src=cpupower.sh dest=/usr/local/sbin/cpupower.sh mode=0755"
ansible -b all -m shell -a "systemctl enable --now cpupower.service"
ansible -b all -m shell -a "cpupower frequency-info | grep governor; cpupower idle-info | grep ^C"
l3support@uxicasfs01:~/cpupower> ansible -b all -m shell -a "cpupower frequency-info | grep governor; cpupower idle-info | grep ^C"
uxicasfs02 | CHANGED | rc=0 >>
available cpufreq governors: performance powersave
The governor "performance" may decide which speed to use
CPUidle driver: intel_idle
CPUidle governor: menu
C1:
C1E (DISABLED) :
C6 (DISABLED) :
uxicasfs01 | CHANGED | rc=0 >>
available cpufreq governors: performance powersave
The governor "performance" may decide which speed to use
CPUidle driver: intel_idle
CPUidle governor: menu
C1:
C1E (DISABLED) :
C6 (DISABLED) :