I'm curious as to what kind of WiFi speeds I should be expecting to see.
I have tested these via iperf3 on a Moto G6 Android mobile whilst sitting right next to the router (so rules out building construction, walls etc)
The speeds I am getting are as follows
2.4GHz - 45 MBits/sec
5GHz - 76 MBits/sec
Reading various other posts suggests that these are quite slow?
Should I be expecting faster speeds than this?
To clarify, are you testing iperf3 on your phone to iperf3 running in OpenWrt or some iperf3 endpoint on the internet?
Your 5ghz radio—is it using VHT80? What channel?
I also have an R7800 (as an AP only) and get 500-600Mb/s throughput (though not that fast bi-directionally) on a 3x3AC station to my OpenWrt x86 VM to which my R7800 is attached.
So what is the best way to measure the performance?
I've just re-run the test with iperf3 server on a Windows PC on the same network (direct cable connection to router).
I now get an improvement to 108 MBits/sec.
iPerf3 actually sends data TO the server and does not download it from the server unless you specify the -R flag on the client.
If you're not testing from the wireless client with the -R flag, then you're actually testing upload speed, not download speed. And if you have many clients, you're contending for the access medium. So first, test from the wireless client with the -R flag set. If it is an Android phone, then specify the -Z flag too, as the zero-copy mode of operation frees up a lot of cpu-cycles that otherwise decrease your real throughput.
Have you got any QOS running on the router? Switch it off if you do.
Also, a cursory google search reveals that for most people the Moto G6 tops out somewhere in the 100 - 150mbps range. So you're limited by your wireless client, not the router
I should have noted earlier that the testing speed will very much depend on the client’s speed capability. As for the speeds I mentioned earlier, this is generally what I get on my iPhone 11 Pro from about 20 feet away:
@_Failsafe - what app are you using on the iPhone to test the speed. I have access to IOS devices so could try those as well.
Connection between PC and Router is Gigabit.
I am using the latest version of OpenWRT 19.07.2.
I have installed SQM with piece_of_cake. Disabling this does increase the speed to 102.
CPU usage never gets above 1% if iperf3 is running on the router.
-R and -Z flags on iperff3 do not affect the results.
I'm getting the impression here that I'm realy testing the capacity of my mobile devices and that any results are mainly influenced by their wifi capabilities.
All I'm really trying to achieve is to determine that I have configured and optimised openWrt on the router correctly.
As a side note: I would double-check your SQM configuration. Enabling/disabling SQM should not affect your LAN/WLAN speeds on LAN-to-LAN testing as SQM should be set to only act on your internet ingress/egress interface.
But, regardless of SQM, you definitely are going to be battling against mobile radio speed in this type of testing. There are a lot of factors in play there including the chipset and number of antennas in the mobile device. If you can test with a true AC 3x3 client, that would give you a much better idea of where your bottleneck lies.
Out of curiosity, have you tried to perform an iperf3 test between your wired PC and the R7800? You should be able to get pretty close to 920-940 Mbps (somewhat lower on a bi-directional test though).
Here is an example between my R7800 and my OpenWrt x86 router:
The Moto G6 doesn’t support 802.11ac, it only supports 802.11n. It is a 1x1 client that supports max 64 QAM. You are probably getting a reported PHY rate of max 150mbps. Real world speeds will cap out at around 100mbps.
It's actually a Moto G5 (typo in my original post).
But your point still stands.
That's something else I've just learnt. Because I was connecting on a 5GHz radio, I assumed I was using the .ac protocol. Didn't realise I could still be using .n.
I swapped my last 802.11n device (old iPad) for a newer device about a year ago. It wasn’t slow...but it was getting noticeably slower compared to other device’s internet speed. Wireless AC is so much better. Hope an upgrade is in your future.
I can get around 440Mbps testing between wired-wireless links and around 950Mbps between wired-wired links. I have Archer c7 v2.
Make sure that you are using 80MHz 5G band. Run iperf server on the wired link and client on the wireless and use multiple iperf streams using -P flag. Use 2 laptops for iperf don't run on the AP.