Comment 0 for bug 2006942

Revision history for this message
Vassilis Aretakis (vassilis-f) wrote :

After upgrading to 5.19.0-31 (two of my systems) CPU driver changes to acpi-cpufreq. instead of amd_pstate.

This causes cpu to keep higher frequency and increased consumption.

```
root@zeus:/sys/devices/system/cpu/cpufreq/policy0# ls -l
total 0
-r--r--r-- 1 root root 4096 Feb 10 13:27 affected_cpus
-r--r--r-- 1 root root 4096 Feb 10 13:28 amd_pstate_highest_perf
-r--r--r-- 1 root root 4096 Feb 10 13:28 amd_pstate_lowest_nonlinear_freq
-r--r--r-- 1 root root 4096 Feb 10 13:28 amd_pstate_max_freq
-r--r--r-- 1 root root 4096 Feb 10 12:54 cpuinfo_max_freq
-r--r--r-- 1 root root 4096 Feb 10 13:27 cpuinfo_min_freq
-r--r--r-- 1 root root 4096 Feb 10 13:27 cpuinfo_transition_latency
-r--r--r-- 1 root root 4096 Feb 10 13:27 related_cpus
-r--r--r-- 1 root root 4096 Feb 10 12:54 scaling_available_governors
-r--r--r-- 1 root root 4096 Feb 10 13:27 scaling_cur_freq
-r--r--r-- 1 root root 4096 Feb 10 13:27 scaling_driver
-rw-r--r-- 1 root root 4096 Feb 10 12:54 scaling_governor
-rw-r--r-- 1 root root 4096 Feb 10 12:54 scaling_max_freq
-rw-r--r-- 1 root root 4096 Feb 10 12:54 scaling_min_freq
-rw-r--r-- 1 root root 4096 Feb 10 13:28 scaling_setspeed
root@zeus:/sys/devices/system/cpu/cpufreq/policy0#
```
with newer kernel also policy files for amd_pstate

Tried it on 2 Asus PN51-S1 systems with AMD Ryzen 7 5700U

I am currently staying at 5.19.0-29 as it is working better.