Main Menu

AMD Ryzen and cpupower

Started by Dj, Mon Nov 21 16:35:34 2022

Previous topic - Next topic

Dj

Hello,
can anyone help regarding installing of cpupower ? I have AMD Ryzen 5700u, and I entered "modprobe amd-pstate". No any error.
But I can't see if amd pstate is in use or not. And I can't see what is my cpu frequency.
Thank you.

Dj

Please, can anyone help regarding install of Cpu-power ?
Can I blacklist cpufreq driver in order to activate amd pstate ?

Thierry

#2
Hello Dj

As l'am not an AMD user, I can't help you much.
You could start indeed with blacklist the concern module as you mentioned before

Good luck

BR,
Thierry

Thierry

After checking the kernel config file, I see that CPU_FREQ is hardcoded.

Maybe it's a problem or no. Let me know.

BR,
Thierry

Dj

#4
I have installed TLP and modprobed amd-pstate.
So far, so good.
Any plans to put cpupower in repos ? It's quite uncommon to see distributon without cpupower.

Thierry


Dj

Since there is no cpupower, I have been using tlp. Active governor is shedutil
Quote/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = amd-pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2100000 [kHz]
Тhere is no accurate reading of cpu, it's showing max frequency of 2. ghz.
How to change cpufreq governor ?

Dj

In case someone is interested - TLP is blocking CPU frequency, so with installed TLP, Cpu is 2ghz instead of 4 ghz. Only way that I found is to disable TLP.