Belkin RT3200/Linksys E8450 WiFi AX discussion

Please try with https://downloads.openwrt.org/releases/22.03.0-rc1/targets/mediatek/mt7622/openwrt-22.03.0-rc1-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb

2 Likes

Thank you Daniel. The flash went fine and I can now boot the device normally!

I understand this is not the latest snapshot but hopefully I am not missing out on security fixes.

Maybe I will try a newer snapshot soon again :slight_smile:

1 Like

You should be fine to flash a newer snapshot now.

hi welcome ! you are french ? i can help if you want :wink:

just noticed something on my MT7622 device, when it is not doing anything, in idle mode, the cpu frequency is still @1.35Ghz isn't it supposed to go at the lowest speed ? 300Mhz here.

root@box:~# cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq
1350000
1350000

root@box:~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies
300000 437500 600000 812500 1025000 1137500 1262500 1350000
300000 437500 600000 812500 1025000 1137500 1262500 1350000

is it the same for you ??

Have you set another cpu governor than default like the wiki about this devices have as a tip?

i didn't change anything about the cpu. i give a look to the wiki, i was not aware about this.

well so basicaly, i have to add these 2 lines in /etc/rc.local

echo 437500 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
echo schedutil > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

is this correct ?

Edit:
thanks Anteus i just made some test, and it works well now.

3 Likes

The /etc/rc.local solution works but you can also consider merging https://github.com/openwrt/openwrt/pull/5025

Not sure why it is taking so long to get that merged.

i'm not using a belkin/linksys device, but a totolink a8000ru...i hope this "patch" will be added to the MT7622 base-files as mentionned here

btw, i compared the temp before (when the governor was set to performance) and now with "ondemand", the difference is hardly 1°c (48° vs 49°)
The frequency is reduced, but the voltage ??
i used this command:

cat /sys/class/thermal/thermal_zone0/temp

2 Likes

Install luci-app-attendedsysupgrade. It makes updating a lot easier.

I also have the Totolink A8000RU and been running schedutil for months without changing the min scaling frequency and haven’t noticed any problems or it hanging on reboot.

Is it something that only affects the RT3200/E8450 models?

Doesn't happen on schedutil I've also been running only that for a few weeks now

schedutil set the frequency at 1Ghz, it's not a big difference compared to performance @ 1.35Ghz
ondemand set the frequency to scaling_min_freq which is 437Mhz in my case.

i tried to reboot 10 times, without any issue, so i think i'll stay with ondemand

Mine spends most of the time in 300MHz maybe you have something which causes high load?

$ cat /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state
300000 1564041
437500 10677
600000 6885
812500 1648
1025000 575
1137500 115
1262500 107
1350000 227673
2 Likes

i didn't know this command :+1:

root@box:~# cat /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state
300000 0
437500 1583320
600000 1351
812500 365
1025000 326
1137500 332
1262500 56
1350000 15912

so you didn't set scaling_min_freq to 437500 ??

No problem here. I updated and new snapshot using my usual custom .config file and kernel 5.15 is rock-solid. All the features seem to be working properly.

1 Like

Mine also

root@Totolink:~# cat /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state
300000 35203135
437500 15187
600000 14250
812500 14158
1025000 22899
1137500 3152
1262500 1274
1350000 457076

so you didn't set scaling_min_freq to 437500 and you just did this comand ?

echo schedutil > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

it's not what is recommended here

See previous post in this thread Belkin RT3200/Linksys E8450 WiFi AX discussion - #1490 by daniel

1 Like