Questions relating to the Linux cpupower command. Used for power saving for processors and other related power tools.
Questions tagged [cpupower]
15 questions
6
votes
3 answers
How to install cpupower on Ubuntu 20.04 with kernel 5.17+
I'm testing the new amd-pstate driver on my laptop, I've installed the latest kernel 5.18 via ppa:tuxinvader/lts-mainline, changed some boot options and everything works flawlessly.
Unfortunately when I run the command cpupower, I'm…
Razor
- 175
3
votes
2 answers
can't control cpu frequencies in 19.10 on 7390 xps 13 2-in-1
I have been unable to control the cpu frequencies using either tlp, or cpupower, or other tools. Kernel version is 5.3.0-19-generic.
I tried using intel_pstate active or turning off intel pstate with 'intel_pstate=disabled' as a kernel boot…
Eric M.
- 71
- 5
3
votes
2 answers
Ubuntu 18.04 Kernel (5.0.13) cpupower does not run
I am using the Lenovo Thinkpad e490. I installed dual-boot with Windows, but I had a couple of issues so I updated my Kernel to 5.0.13 (I read in a forum that this version fixes some problems, but newer versions are probably fine too). Now I did…
Paul_W
- 31
2
votes
0 answers
how to correctly set the upper limit for my cpus clock speed
I want to limit my CPU clock speed, but it ignores all the settings I apply. I tried using cpufreq and cpupower and the following commands:
sudo sh -c 'echo 1500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq'
sudo sh -c 'echo 1500000 >…
newlinuxuser
- 21
2
votes
0 answers
How do I make cpupower frequency-set not reset at boot?
when I set cpu frequency range with this command:
sudo cpupower frequency-set -d 500MHz -u 2700MHz
the frequency range is succesfully set to these values, but when I reboot and do:
sudo cpupower frequency-info
i notice that the frequency range is…
peppe
- 21
- 1
1
vote
2 answers
Setting CPU frequencies with cpupower has no effect
I tried it on desktop Ubuntu 22.04.3, 23.10, regular and lowlatency versions. I have to increase the minimum frequency of a core, which runs an image capture process requiring high CPU clock. Here is an example:
paul@box4x4:~$ sudo cpupower -c 5…
Paul Jurczak
- 1,237
1
vote
0 answers
CPU frequencies manually set using cpufreq doesn't seem to be effective anymore after sleep
I have set the frequencies of the 4 cores of my Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz CPU to lower values (800Mhz) for energy saving when using the computer on the field using this command:
for i in {0..3}; do sudo cpufreq-set -c ${i} -g…
s.k
- 1,490
1
vote
1 answer
Monitoring CPU freq in real time
I have 16.04 LTS installed on a Ryzen 1700X computer. I am able to see the frequency of each of the individual 16 threads by running the command sudo cpupower monitor. Along with the frequencies, it displays information regarding power states, and…
Nick Bailuc
- 3,335
0
votes
0 answers
CPU frequency stays in 200Mhz with 100% usage
I'm currently having an issue with my notebook where sometimes CPU usage reaches 100% and CPU frequency keep in the low end (200Mhz) for a long period of time. It doesn't happen all the time, but it happens frequently enough and it stays like that…
Vinicius
- 1
0
votes
0 answers
CPU Frequency seems very high, even in powersave mode - Lubuntu 22.04
I have installed Lubuntu 22.04. on an old HP 15-db0021ng notebook.
Everything runs OK, but the CPU frequency appears very high, even when idle. It never drops below Freq: 56% and frequently scales to 116% while browsing Instagram or watching YouTube…
JMW
- 1
0
votes
1 answer
How to install cpupower on Ubuntu 22.04
sudo apt-get install cpupower
Installation error:
E: Unable to locate package cpupower
I have no idea why this error might be caused
Hobble
- 1
0
votes
0 answers
How to set minimum CPU frequency?
I am trying to set the minimum frequency of my CPU in ubuntu. Basically, the minimum my CPU runs in Windows is 2%, and in ubuntu it is 19%. Is there some way to change it from 19% to 2%? I tried using cpupower and the "CPU power manager" app, but I…
0
votes
0 answers
cpu max frequency
I am trying to change my cpu max frequency. I have tried with tlp, cpupower, and the solution in this same forum (the one that goes: for x in /sys/devices/system/cpu/*/cpufreq/; do echo 1700000 | sudo tee $x/scaling_max_freq; done)
None of these…
0
votes
1 answer
cpupower frequency-set asks for permission despite being added to /etc/sudoers
Recently cpupower stopped working when calling it without sudo.
I have the following line in /etc/sudoers/.
dimfred dimfred-schlap= NOPASSWD: /usr/bin/cpupower frequency-set *
Is this correct? AFAIK * should normally replace the following…
Dimfred
- 131
- 1
- 5
0
votes
2 answers
CPUFreq: Only 'ondemand' and 'powersave' governors work when laptop's running on battery
So I'd like to be able to use my laptop however I want while it's discharging. Problem is, my Acer Aspire 5 has two AMD GPUs: AMD R7 M440, which is my integrated gpu and RX540, the dedicated gpu.
When my laptop is plugged in, CPU frequency goes all…