I'm struggling with cpupower
on ArchLinux. I want to set governor to ondemand
or even to conservative
.
First if I do $ sudo cpupower frequency-info --governors
, I only get performance powersave
.
So I look for available modules like this
ls -1 /lib/modules/`uname -r`/kernel/drivers/cpufreq/
...and I get
acpi-cpufreq.ko.gz
amd_freq_sensitivity.ko.gz
cpufreq_conservative.ko.gz
cpufreq_powersave.ko.gz
cpufreq_stats.ko.gz
cpufreq_userspace.ko.gz
p4-clockmod.ko.gz
pcc-cpufreq.ko.gz
powernow-k8.ko.gz
speedstep-lib.ko.gz
So, first of all no modules for "ondemand" seems to be available. What do I miss?
Then I try to enable at least conservative:
$ sudo modprobe cpufreq_conservative
then I check the module is actually loaded
$ lsmod | grep cpufreq
and check if it is now avaliable
$ sudo cpupower frequency-info --governors
but unfortunately I still get the same: performance powersave
only,
and if I try to enable conservative
$ sudo cpupower frequency-set -g conservative
It says that the module is not avaliable.
So basically I have two questions:
- What do I need to install in order to have ondemand module
- How can I enable it?
sudo cpupower frequency-info
to your question. Drop the--governors
to show full details.