APU2E4 stuck at 598MHz

Hi. Just wondering if anyone else has similar issue that cpu freq is stuck at 598MHz on all 4 cores. If I run a speedtest (my speed is max 150/150 fiber), no cores is above 598MHz but each core can go up to 60-70%. I use htop to see freq for each core.

I thought on load it will adjust the MHz, but I might be mistaken...

APU2 firmware is apu2_v4.17.0.2.rom
Core Performance Boost disabled.

I found this https://github.com/pcengines/apu2-documentation/issues/248 and I can relate.
I'm coming from Opnsense and I recon this was not an issue last time i checked. The solution for some is powerd and maximum profile.

OpenWrt 22.03.5 r20134-5f15225c1e

root@home:~# cat /sys/devices/system/cpu/cpufreq/boost

root@home:~# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq

root@home:~# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies
1000000 800000 600000

But I see this, and thought maybe everything is working but a speedtest with cake is not enough to make the freq go up. Or if this is from just after boot and now it's stuck.

root@home:~# cat /sys/devices/system/cpu/cpufreq/policy0/stats/trans_table
   From  :    To
         :   1000000    800000    600000
  1000000:         0      1245       579
   800000:      1823         0      2277
   600000:         0      2855         0
root@home:~# cat /proc/cpuinfo
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 22
model		: 48
model name	: AMD GX-412TC SOC
stepping	: 1
microcode	: 0x7030105
cpu MHz		: 598.817
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
spec_store_bypass retbleed
bogomips	: 1996.20
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb acc_power [13]

I think it goes up when needed, that's what one of the semi recent bios updates enabled.

Hmm... okey. Do you know how to run a task to see if it's using all freq steps?
I can try to enable Core Performance Boost in the bios, but someone in the forum had to disable it to get full network speed. But I believe that is some fw versions back.

Check out Limited ethernet performance on APU2 - #15 by shpokas too

Thanks. Yes, this was the one I was referring to earlier. I have not enabled this option in my bios. But I might turn it on to see if it do anything...

Edit: All is good. I manage to trigger more load running Flent :slightly_smiling_face:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.