On Saturday 2022-05-28 09:31, Lubos Kocman wrote:
amd pstate? https://www.reddit.com/r/Amd/comments/trznty/thank_you_amd_i_love_the_new_am... (let me find the opensuse related article) https://www.reddit.com/r/openSUSE/comments/uujs5i/how_to_switch_to_amdpstate...
rmmod acpi_cpufreq modprobe amd_pstate shared_mem=1 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
Only some need shared_mem=1. The admin will be told so in dmesg if the default (shared_mem=0) is used. Model: 3700X Old view: # cpupower frequency-info analyzing CPU 0: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: Cannot determine or is not supported. hardware limits: 2.20 GHz - 4.43 GHz available frequency steps: 3.60 GHz, 2.80 GHz, 2.20 GHz available cpufreq governors: ondemand performance schedutil current policy: frequency should be within 2.20 GHz and 3.60 GHz. The governor "schedutil" may decide which speed to use within this range. current CPU frequency: 2.20 GHz (asserted by call to hardware) boost state support: Supported: yes Active: yes Total States: 3 Pstate-P0: 3600MHz Pstate-P1: 2800MHz Pstate-P2: 2200MHz New view: # cpupower frequency-info analyzing CPU 0: driver: amd-pstate CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 131 us Not Available available cpufreq governors: ondemand performance schedutil Unable to determine current policy current CPU frequency: Unable to call hardware current CPU frequency: 3.44 GHz (asserted by call to kernel) boost state support: Supported: yes Active: yes Total States: 3 Pstate-P0: 3600MHz Pstate-P1: 2800MHz Pstate-P2: 2200MHz Still getting same frequency ranges (as per turbostat(1)), so that's good.