CPUpower problems

I have a Lenovo Flexpad with AMD 4700 ryzen and renoir GPU included.

I’m trying to switch from Manjaro to Leap 15.3 but the main problem is cpupower.

Leap 15.3 (the live) is really slow as compared with Manjaro because it uses the governor: ondemand. I switched it to performance with


# /usr/bin/cpupower -c all frequency-set -g performance

it’s faster but it’s still much slower than Manjaro and this is due to how cpupower is configured/works on Manjaro.

The amd ryzen 7 4700 is rated: 1400 to 2000mhz but can be overclocked up to 4000Mhz when needed.

  • Leap/cpupower does not overclock when needed after setting the governor to performance
  • Manjaro does overclock when needed after setting the governor to performance

CPU under Manjaro with inxi


CPU: Info: 8-Core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64 type: MCP cache: L2: 4 MiB 
     Speed: 2160 MHz min/max: 1400/2000 MHz Core speeds (MHz): 1: 2160 2: 2647 3: 2564 4: 1753 
           5: 3147 6: 1580 7: 3144 8: 2320 

See core 1,2,3,5,7, and 8

How do I configure cpupower to overclock when needed?

Thanks

Hi
It will be with the defaults, you just don’t see it…

As root user run the following to see if boost state support is active…


cpupower frequency-info

watch -n 5 cpupower -c 1 monitor -m Mperf

Watch a core (or all every 5 seconds) and load the system to see what happens…

  1. It’s much slower on 15.3 than on Manjaro
  2. /sys/devices/system/cpu/cpufreq/boost is missing and as root

# echo 0 > /sys/devices/system/cpu/cpufreq/boost
-bash: /sys/devices/system/cpu/cpufreq/boost: Permission denied

cpupower just reads/writes some values from sysfs.

  • Leap/cpupower does not overclock when needed after setting the governor to performance
  • Manjaro does overclock when needed after setting the governor to performance

It is very unlikely. Performance governor sets CPU frequency to fixed value.

How do I configure cpupower to overclock when needed?[/QUOTE]
You cannot "configure cpupower", It is tool that you can use to configure kernel behavior.

Several times you said that Manjaro is configured differently but you neither show Manjaro configuration nor Leap configuration. Output of "cpupower frequency-info" and "cpupower idle-info" from both systems would have provided at least some starting point. But in general if you want boost, you need to use ondemand governor. Higher frequency can only be achieved under special conditions and for limited period.

You also never mentioned Manjaro kernel version. It is quite possible that it simply uses newer kernel that behaves differently.