Hiya, ive been using openwrt on my AX23 for a little over 3 months now, i finally got netdata running and noticed that the CPU usage is pinned to 98% when downloading over the 5ghz radio
Does anyone know why this is and how I can leverage more speed out this device, i can see link speeds of 500 Mbit/s on the radio but I can never see that speed on the actual device capping at an average of 180mbps
I do have 1Gbps internet and I can achieve 940mbps on hardline connection through the AX23 with HFO
a) mt7621a is not a fast SOC, it has very effective offloading, but its processing capabilities is limited (and wireless processing needs some of that).
b) doing an online speedtest stresses both the wan side (routing, NAT, maybe PPPoE), as well as the wireless side
c) did you consider the effect of your measuring instruments on measurement? The more fancy it goes, the more CPU power is spent on taking the measurement, affecting the results - this does affect luci, it probably affects netdata to some extent as well. So if you measure, take it simple, top/ htop over ssh.
A) that is fair, with Netdata enabled the cpu usage is 20% idle, not amazing with netdata disabled it hovers around 2% on all cores
B) this doesn't really affect the CPU usage when on Lan the cpu is at 3% with full line speed on speedtest cli through a PPPoE interface, wireless is another story its pinned to 100% however with netdata disabled i now get 231mbps over wifi.
C) Yes i have, Netdata has been disabled for the most part of 2 months, i only had it enabled when i did a sysupgrade and it started on boot, i will be removing it as i dont use it anymore.
Overall do you have any suggestions on what may help squeeze that little bit more out of the wireless radio or am i cpu limited all the way.
I just tested Iperf3 with my sisters ipad, it has a wireless link of 840Mbit/s and i can achieve 750mbps max and an average of 634 while the cpu hovers around 80% lan to lan
with speedtest i can only manage half that at 301mbps
iperf3 runs locally, and is easier on the CPU than speedtest.
PPPoE eats a lot of CPU cycles too.
running iperf3 on an Atom E3825 generates roughly 50% CPU load, using wired ethernet, speedtest via the same device, at the same speed (1/1 gbit, externally, and internally) maxes out the CPU.
I have iperf3 running on a separate machine from the router so it shouldn't affect the router cpu right? (Server -> router -> Ipad)
and the PPPoE doesn't raise the cpu load when i use lan for speed test, could it cause that much of a perf loss on wireless even though it doesnt seem to load the cpu too much?
apologies I should have clarified, i was asking if PPPoE can cause the performance drop with speedtest since it will be (ipad-> router -> wan) instead of iperf3 which is (lan connected server->router->wifi ipad)
(SPEEDTEST.NET)
with my pc over an eth cable shows 940mbps with 3% cpu usage on the router
the ipad over wifi sees 300mbps with 98% cpu usage
(IPERF3)
On iperf3 from my ethernet connected server running iper3 for the ipad it can run 650- 700mbps download on wifi with the router cpu usage at 80%
TLDR speedtest on wifi is slower than the speed i can achieve wifi to lan
would you be interesting in trying out newer versions of 23.05.2 or SNAPSHOT?
If you install auc via opkg install, and then run auc it will go and speak to the firmware selector and check if there any updated packages.
In January 2024 there was a new firmware available for MT76 wireless,
i did a attended sysupgrade last night so it should be a new version of 23.05.2 with new packages, do you know how i can check the firmware version for the wireless?
If your ISP is PPPoE, yes, that is going to add additional load to your CPU.
In the LuCI network>firewall menu settings, make sure you try enabling software offload and hardware offload. If you haven't done this yet, this will help free up CPU for supporting wireless.
Try installing irqbalance and then enable it by editing the /etc/config/irqbalance file. The CPU in your router only has 2 cores, but each core has 2 threads. Sometimes irqbalance can help get a little more out of the MT7621AT.
In the LuCI network>interface> global options tab check the packet steering box and see if this helps.
I should say this version did not seem to improve the wifi performance i still capped out at around 370Mbps over wifi on speedtest.net and 700mbps on iperf3.
Im still open to any suggestions you may have to bring more speed.
PS i havent tried IRQbalance as it has been a busy week XD
700 Mbps over WiFi is quite good real world performance. Unfortunately, I suspect the CPU is not strong enough to handle PPPoE and WiFi simultaneously at that throughput.
Hardware offload does not help with the PPPoE CPU load and speedtest.net is using your PPPoE WAN connection to go out to the internet. The iperf3 test probably is not.
Probably not a helpful suggestion, but if you can switch to non PPPoE ISP, things might improve.