You are not logged in.

#1 2022-10-02 02:57:57

inscrutableoutput
Member
Registered: 2022-08-23
Posts: 5

[SOLVED] CPU ignores max frequency set by cpupower

I am trying to limit the CPU frequency on my laptop for power saving.  Unfortunately, my CPU us ignoring the limits set by cpupower.  It frequently runs at 2.5 GHz despite the cap being set at 2 GHz.

My cpupower config is

governor='powersave'
min_freq="300MHz"
max_freq="2GHz"

This issues is prevalent on both stock and LTS kernel.  I am running a Thinkpad X1 Carbon G10, with a 12 Gen i7-1260P.  Thank you in advance.

Last edited by inscrutableoutput (2022-10-06 14:06:07)

Offline

#2 2022-10-02 04:22:32

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: [SOLVED] CPU ignores max frequency set by cpupower

What is the result of

cat /sys/bus/cpu/devices/cpu*/cpufreq/scaling_driver 

CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-10-03 19:58:57

inscrutableoutput
Member
Registered: 2022-08-23
Posts: 5

Re: [SOLVED] CPU ignores max frequency set by cpupower

The output is

[user@arch ~]$ cat /sys/bus/cpu/devices/cpu*/cpufreq/scaling_driver 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 
intel_pstate 

Offline

#4 2022-10-06 12:00:00

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] CPU ignores max frequency set by cpupower

Maybe

colored box at (1)  wrote:

However, the intel_pstate scaling driver in active mode will bypass the generic CPUFreq governors, providing its own scaling algorithms:

?





(1) https://wiki.archlinux.org/title/CPU_fr … _governors


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2022-10-06 14:05:41

inscrutableoutput
Member
Registered: 2022-08-23
Posts: 5

Re: [SOLVED] CPU ignores max frequency set by cpupower

Didn't see this.  That clears it up.  Thanks.

Offline

Board footer

Powered by FluxBB