[Solved] 802.11ax worse than 802.11ac with mt76 driver?

Try a 160MHz channel as a workaround.

Are you using IPerf2 on the Mac to test it?

Tried that too but didn't help.

iperf3-darwin available on macOS

1 Like

dtaht seems to have found something

I have been trying to characterize a very difficult bug in the ac and
ax support on a new mt76 product, where
for mu-mimo and related, it seems to be generating an invalid or
flipped mac address on small (but not large) packets, eventually
getting through.

This shows up in my flent data as huge swings in delay for tcp + voip
or ping - but not packet loss. Has anyone else seen this?

https://lists.openwrt.org/pipermail/openwrt-devel/2023-January/040356.html

5 Likes

You can do the test in AX mode but using 20 MHz and 40 MHz width, to see if the results get better or worse.

Wait, how did you get the RTT time with iPerf3 ? :face_with_raised_eyebrow:

Tried, it didn't help though.

1 Like

It's there by default on iperf3-darwin on macOS

==> Searching for similarly named formulae and casks...
Error: No formulae or casks found for iperf3-darwin.

What is iperf3-darwin?

Sorry I thought I got it from brew but seems to be there from default on macOS.

āÆ iperf3-darwin -v
iperf 3.8.1 -  -- Apple version iperf3-88 (cJSON 1.7.13)
Darwin 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:06:26 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T8112 arm64
Optional features available: sendfile / zerocopy
1 Like

Damn this has always been there and I have never noticed it, very useful for macOS/iOS, thanks!

2 Likes

How do you get it on iOS? For terminal there I use iSH which uses Alpine and it has some older version of iperf3 and no RTT.

True and correctā€¦ but you can do the inverse :smiley: run a server instance on the Mac and use an app of iperf3 on iOS (there are some on the App Store), then you can see the RTT time from the macOS instance/server.

Yes itā€™s a bit stupid and this add the delay of the routing from the router/AP but is the only way Iā€™ve found to test the delay from iOS. It can be useful to test the difference between one AP and another, not to test an ā€œabsolute performanceā€ :

Example from my iPad Mini 6 to my MacBook Air (cabled to the router obviously)

% iperf3-darwin -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.128, port 49670
[  5] local 192.168.1.10 port 5201 connected to 192.168.1.128 port 49671
[  8] local 192.168.1.10 port 5201 connected to 192.168.1.128 port 49672
[ 10] local 192.168.1.10 port 5201 connected to 192.168.1.128 port 49673
[ 12] local 192.168.1.10 port 5201 connected to 192.168.1.128 port 49674
[ 14] local 192.168.1.10 port 5201 connected to 192.168.1.128 port 49675
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd          RTT
[  5]   0.00-1.00   sec  14.8 MBytes   124 Mbits/sec  440192    754 KBytes   38ms     
[  8]   0.00-1.00   sec  15.1 MBytes   127 Mbits/sec  606712    791 KBytes   41ms     
[ 10]   0.00-1.00   sec  17.6 MBytes   147 Mbits/sec  325800    987 KBytes   42ms     
[ 12]   0.00-1.00   sec  15.1 MBytes   127 Mbits/sec  376480    993 KBytes   42ms     
[ 14]   0.00-1.00   sec  15.1 MBytes   127 Mbits/sec  379376   1009 KBytes   42ms     
[SUM]   0.00-1.00   sec  77.7 MBytes   652 Mbits/sec  2128560             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  18.5 MBytes   155 Mbits/sec  79640    576 KBytes   27ms     
[  8]   1.00-2.00   sec  18.6 MBytes   156 Mbits/sec  79640    612 KBytes   27ms     
[ 10]   1.00-2.00   sec  19.6 MBytes   164 Mbits/sec  70952    748 KBytes   28ms     
[ 12]   1.00-2.00   sec  17.7 MBytes   148 Mbits/sec  33304    540 KBytes   23ms     
[ 14]   1.00-2.00   sec  17.6 MBytes   148 Mbits/sec  41992    544 KBytes   23ms     
[SUM]   1.00-2.00   sec  91.9 MBytes   771 Mbits/sec  305528             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  19.7 MBytes   166 Mbits/sec    0    619 KBytes   28ms     
[  8]   2.00-3.00   sec  20.2 MBytes   169 Mbits/sec    0    652 KBytes   30ms     
[ 10]   2.00-3.00   sec  22.2 MBytes   187 Mbits/sec    0    802 KBytes   36ms     
[ 12]   2.00-3.00   sec  18.7 MBytes   157 Mbits/sec    0    577 KBytes   29ms     
[ 14]   2.00-3.00   sec  18.8 MBytes   158 Mbits/sec    0    583 KBytes   29ms     
[SUM]   2.00-3.00   sec  99.6 MBytes   836 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  19.4 MBytes   163 Mbits/sec    0    648 KBytes   34ms     
[  8]   3.00-4.00   sec  19.9 MBytes   166 Mbits/sec    0    679 KBytes   37ms     
[ 10]   3.00-4.00   sec  22.0 MBytes   184 Mbits/sec    0    837 KBytes   38ms     
[ 12]   3.00-4.00   sec  18.5 MBytes   155 Mbits/sec    0    600 KBytes   28ms     
[ 14]   3.00-4.00   sec  18.6 MBytes   156 Mbits/sec    0    607 KBytes   28ms     
[SUM]   3.00-4.00   sec  98.3 MBytes   824 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  19.8 MBytes   166 Mbits/sec    0    663 KBytes   21ms     
[  8]   4.00-5.00   sec  20.2 MBytes   170 Mbits/sec    0    693 KBytes   21ms     
[ 10]   4.00-5.00   sec  22.0 MBytes   185 Mbits/sec    0    860 KBytes   22ms     
[ 12]   4.00-5.00   sec  18.6 MBytes   156 Mbits/sec    0    612 KBytes   21ms     
[ 14]   4.00-5.00   sec  18.8 MBytes   158 Mbits/sec    0    621 KBytes   21ms     
[SUM]   4.00-5.00   sec  99.3 MBytes   834 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.00-6.00   sec  19.7 MBytes   165 Mbits/sec    0    670 KBytes   29ms     
[  8]   5.00-6.00   sec  19.9 MBytes   167 Mbits/sec    0    699 KBytes   29ms     
[ 10]   5.00-6.00   sec  20.4 MBytes   171 Mbits/sec  88328    639 KBytes   29ms     
[ 12]   5.00-6.00   sec  19.1 MBytes   160 Mbits/sec    0    638 KBytes   29ms     
[ 14]   5.00-6.00   sec  19.0 MBytes   160 Mbits/sec    0    634 KBytes   29ms     
[SUM]   5.00-6.00   sec  98.1 MBytes   822 Mbits/sec  88328             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.00-7.00   sec  19.8 MBytes   166 Mbits/sec    0    687 KBytes   30ms     
[  8]   6.00-7.00   sec  20.3 MBytes   170 Mbits/sec    0    731 KBytes   35ms     
[ 10]   6.00-7.00   sec  19.7 MBytes   166 Mbits/sec    0    684 KBytes   30ms     
[ 12]   6.00-7.00   sec  19.7 MBytes   165 Mbits/sec    0    680 KBytes   30ms     
[ 14]   6.00-7.00   sec  19.6 MBytes   164 Mbits/sec    0    676 KBytes   30ms     
[SUM]   6.00-7.00   sec  99.1 MBytes   831 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.00-8.00   sec  20.0 MBytes   168 Mbits/sec    0    728 KBytes   45ms     
[  8]   7.00-8.00   sec  20.4 MBytes   171 Mbits/sec    0    769 KBytes   45ms     
[ 10]   7.00-8.00   sec  19.7 MBytes   165 Mbits/sec    0    713 KBytes   45ms     
[ 12]   7.00-8.00   sec  19.8 MBytes   166 Mbits/sec    0    721 KBytes   45ms     
[ 14]   7.00-8.00   sec  19.6 MBytes   164 Mbits/sec    0    717 KBytes   45ms     
[SUM]   7.00-8.00   sec  99.6 MBytes   834 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  19.5 MBytes   164 Mbits/sec  53576    550 KBytes   23ms     
[  8]   8.00-9.00   sec  19.8 MBytes   166 Mbits/sec  102808    580 KBytes   23ms     
[ 10]   8.00-9.00   sec  19.1 MBytes   160 Mbits/sec  31856    526 KBytes   23ms     
[ 12]   8.00-9.00   sec  19.2 MBytes   162 Mbits/sec  60816    554 KBytes   23ms     
[ 14]   8.00-9.00   sec  19.2 MBytes   162 Mbits/sec  34752    543 KBytes   23ms     
[SUM]   8.00-9.00   sec  96.9 MBytes   813 Mbits/sec  283808             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.00  sec  20.0 MBytes   168 Mbits/sec    0    625 KBytes   26ms     
[  8]   9.00-10.00  sec  20.4 MBytes   171 Mbits/sec    0    658 KBytes   26ms     
[ 10]   9.00-10.00  sec  19.4 MBytes   163 Mbits/sec    0    567 KBytes   26ms     
[ 12]   9.00-10.00  sec  19.9 MBytes   167 Mbits/sec    0    626 KBytes   26ms     
[ 14]   9.00-10.00  sec  19.8 MBytes   166 Mbits/sec    0    617 KBytes   26ms     
[SUM]   9.00-10.00  sec  99.6 MBytes   835 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]  10.00-10.01  sec   147 KBytes   125 Mbits/sec    0    625 KBytes   33ms     
[  8]  10.00-10.01  sec   212 KBytes   181 Mbits/sec    0    658 KBytes   26ms     
[ 10]  10.00-10.01  sec   147 KBytes   125 Mbits/sec    0    567 KBytes   26ms     
[ 12]  10.00-10.01  sec   147 KBytes   125 Mbits/sec    0    626 KBytes   26ms     
[ 14]  10.00-10.01  sec   127 KBytes   108 Mbits/sec    0    617 KBytes   26ms     
[SUM]  10.00-10.01  sec   781 KBytes   665 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.01  sec   191 MBytes   160 Mbits/sec  573408             sender
[  8]   0.00-10.01  sec   195 MBytes   163 Mbits/sec  789160             sender
[ 10]   0.00-10.01  sec   202 MBytes   169 Mbits/sec  516936             sender
[ 12]   0.00-10.01  sec   186 MBytes   156 Mbits/sec  470600             sender
[ 14]   0.00-10.01  sec   186 MBytes   156 Mbits/sec  456120             sender
[SUM]   0.00-10.01  sec   961 MBytes   805 Mbits/sec  2806224             sender

I have to check which options are compatible with iperf3 and iperf3-darwin!

PS: this is a bit off topic here. maybe we can continue in a new thread? Can be useful for iOS users (that are not few :smile: )

2 Likes

Hi,

I have the same issue. Currently I have switch to AC, until the AX issue is solved.
Thanks everyone for sharing. It help be figure out I was not alone, and the AC fallback workaround.

I will keep following this thread of updates and also the issue raised on Github : https://github.com/openwrt/mt76/issues/709

Don't hesitate to login to github and :+1: the issue, if you want it solved quicker :wink:

Latest mt76 (not available from auc right now) seems to have fixed it.

3 Likes

Great news!!! Can't wait to try it out

Just tried the latest snapshot. Speed still off. Am I missing something here?

Buildbot build matrix:

1 Like

Yes, current master snapshot has problems with iwinfo: Transmit Power incorrect in snapshot. Breaking commit is from 2023-01-21. A fix has been proposed, but has not been merged yet.

1 Like