Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3674 - WLAN transfer rate drops extreme under high load #8742

Closed
openwrt-bot opened this issue Mar 9, 2021 · 6 comments
Closed

FS#3674 - WLAN transfer rate drops extreme under high load #8742

openwrt-bot opened this issue Mar 9, 2021 · 6 comments
Labels

Comments

@openwrt-bot
Copy link

renegat:

Device problem occurs on: WAVLINK WL-WN577A2 aka Maginon WL-755
Software versions of OpenWrt/LEDE release, packages, etc.: latest Snapshot wavlink_wl-wn577a2-squashfs-sysupgrade.bin

Steps to reproduce:
On Maginon WL-755 with latest snapshot installed try to stream some fullHD video over 2,4GHz to client.
After a short time where it will work the video begins to stutter and finally stopps on client.

Try to transfer a big file (some GB) over 2,4GHz network:
Transferrate will start high (about 90 - 100 Mbit/s, limited by the fast ethernet ports) than drop to < 20 Mbit/s, finally to fewer than 10 Mbit/s.

The issue appears only under high load and transfer speed will return to normal after a while.

This issue can be reproduced on a lot of devices with every snapshot published till now.

Perhaps some throttling issue?!

@openwrt-bot
Copy link
Author

easyteacher:

2.4GHz works fine on Newifi-D1(mt7603) with OpenWRT snapshot r16134, using kernel 5.10.
Do you have any QoS script enabled?

@openwrt-bot
Copy link
Author

renegat:

No, there is no QoS (SQM) enabled.
The issue appears on LAN -> LAN here - not WAN -> LAN

As far as I understood SQM is only suitable für WAN or does it make sense to enable it for LAN too?

There is only one client and one server in network here, server is connected via fast ethernet plug, client via 2,4GHz.

Same scenario with Archer C50 (MediaTek MT7620A) or WDR3600 (Atheros AR9344) (both 19.7.7) works flawless but 2,4GHz WiFi is installed as "Generic 802.11bgn".

Wavlink WL-WN577A2 has MediaTek MT7628AN, MediaTek MT7610E

@openwrt-bot
Copy link
Author

easyteacher:

LAN(PC) to LAN(my phone connected to 2.4G network) test result also looks good.

My wireless settings:

config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'pci0000:00/0000:00:01.0/0000:02:00.0'
option legacy_rates '0'
option htmode 'HT20'
option channel '3'

Maybe the problem is MT7628AN-specific?

@openwrt-bot
Copy link
Author

renegat:

I tried to reproduce the issue using iperf without success.

Client connecting to odu3p, TCP port 5001
TCP window size: 153 KByte (default)

[ 3] local 192.168.200.208 port 50122 connected with 192.168.200.13 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-120.0 sec 1.31 GBytes 93.4 Mbits/sec

This only applies as long as you use unidirectional test only!
See Addenum below

But when I try to copy some files via nfs-share using rsync bandwith drops after some seconds with approx. 10MB/s to 7MB/s than 2MB/s and vice versa.

Sometimes the WLAN connection is lost completely and the client has to reassociate with the router. No entries about this in logs.

Same test again over ssh caused wlan to crash completely, had to restart dhcpcd.
OpenWRT logs show repeating:

daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED

ADDENUM:

I was able to reproduce the issue using iperfs -d (bidirectional test simultaneously) option! Now you can clearly see what the issue is: Bandwidth drops, than connection gets lost completely.

@openwrt-bot
Copy link
Author

renegat:

Today I tried it again with latest snapshot on Maginon WL-755 AC with the same result:

WLAN transfer rate drops than the routers wlan crashes completely.
Sometimes it comes back up after a while, sometimes not and you have to reset / powercycle it.

Cross check with original firmware for Maginon WL-755 AC:
Much better transfer speed in bidirectional test simultaneously, no drops, no crashes:

iperf -c 192.168.10.100 -t 300 -i 5 -d ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 128 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 192.168.10.100, TCP port 5001 TCP window size: 85.0 KByte (default) ------------------------------------------------------------ [ 4] local 192.168.10.101 port 41534 connected with 192.168.10.100 port 5001 [ 5] local 192.168.10.101 port 5001 connected with 192.168.10.100 port 43866 [ ID] Interval Transfer Bandwidth [ 4] 0.0- 5.0 sec 50.1 MBytes 84.1 Mbits/sec [ 5] 0.0- 5.0 sec 42.1 MBytes 70.7 Mbits/sec [ 4] 5.0-10.0 sec 47.8 MBytes 80.1 Mbits/sec [ 5] 5.0-10.0 sec 47.7 MBytes 80.1 Mbits/sec [ 4] 10.0-15.0 sec 46.5 MBytes 78.0 Mbits/sec [ 5] 10.0-15.0 sec 49.1 MBytes 82.4 Mbits/sec [ 4] 15.0-20.0 sec 52.0 MBytes 87.2 Mbits/sec [ 5] 15.0-20.0 sec 43.2 MBytes 72.5 Mbits/sec [ 4] 20.0-25.0 sec 52.5 MBytes 88.1 Mbits/sec [ 5] 20.0-25.0 sec 42.9 MBytes 72.0 Mbits/sec [ 4] 25.0-30.0 sec 53.4 MBytes 89.5 Mbits/sec [ 5] 25.0-30.0 sec 41.7 MBytes 69.9 Mbits/sec [ 4] 30.0-35.0 sec 53.5 MBytes 89.8 Mbits/sec [ 5] 30.0-35.0 sec 41.9 MBytes 70.3 Mbits/sec [ 4] 35.0-40.0 sec 54.9 MBytes 92.1 Mbits/sec [ 5] 35.0-40.0 sec 41.4 MBytes 69.5 Mbits/sec [ 4] 40.0-45.0 sec 53.1 MBytes 89.1 Mbits/sec [ 5] 40.0-45.0 sec 40.2 MBytes 67.5 Mbits/sec [ 4] 45.0-50.0 sec 53.4 MBytes 89.5 Mbits/sec [ 5] 45.0-50.0 sec 42.8 MBytes 71.9 Mbits/sec [ 4] 50.0-55.0 sec 52.0 MBytes 87.2 Mbits/sec [ 5] 50.0-55.0 sec 43.5 MBytes 73.0 Mbits/sec [ 4] 55.0-60.0 sec 54.0 MBytes 90.6 Mbits/sec [ 5] 55.0-60.0 sec 41.3 MBytes 69.3 Mbits/sec [ 4] 60.0-65.0 sec 52.0 MBytes 87.2 Mbits/sec [ 5] 60.0-65.0 sec 43.8 MBytes 73.5 Mbits/sec [ 4] 65.0-70.0 sec 53.2 MBytes 89.3 Mbits/sec [ 5] 65.0-70.0 sec 43.3 MBytes 72.7 Mbits/sec [ 4] 70.0-75.0 sec 52.4 MBytes 87.9 Mbits/sec [ 5] 70.0-75.0 sec 43.8 MBytes 73.5 Mbits/sec [ 4] 75.0-80.0 sec 53.5 MBytes 89.8 Mbits/sec [ 5] 75.0-80.0 sec 45.4 MBytes 76.2 Mbits/sec [ 4] 80.0-85.0 sec 52.0 MBytes 87.2 Mbits/sec [ 5] 80.0-85.0 sec 45.6 MBytes 76.5 Mbits/sec [ 4] 85.0-90.0 sec 52.2 MBytes 87.7 Mbits/sec [ 5] 85.0-90.0 sec 41.2 MBytes 69.0 Mbits/sec [ 4] 90.0-95.0 sec 49.2 MBytes 82.6 Mbits/sec [ 5] 90.0-95.0 sec 44.3 MBytes 74.3 Mbits/sec [ 4] 95.0-100.0 sec 50.6 MBytes 84.9 Mbits/sec [ 5] 95.0-100.0 sec 44.9 MBytes 75.3 Mbits/sec [ 4] 100.0-105.0 sec 53.5 MBytes 89.8 Mbits/sec [ 5] 100.0-105.0 sec 39.8 MBytes 66.7 Mbits/sec [ 4] 105.0-110.0 sec 53.8 MBytes 90.2 Mbits/sec [ 5] 105.0-110.0 sec 42.5 MBytes 71.4 Mbits/sec [ 4] 110.0-115.0 sec 50.6 MBytes 84.9 Mbits/sec [ 5] 110.0-115.0 sec 45.2 MBytes 75.8 Mbits/sec [ 4] 115.0-120.0 sec 51.9 MBytes 87.0 Mbits/sec [ 5] 115.0-120.0 sec 43.6 MBytes 73.1 Mbits/sec [ 4] 120.0-125.0 sec 54.9 MBytes 92.1 Mbits/sec [ 5] 120.0-125.0 sec 40.1 MBytes 67.3 Mbits/sec [ 4] 125.0-130.0 sec 51.9 MBytes 87.0 Mbits/sec [ 5] 125.0-130.0 sec 42.1 MBytes 70.6 Mbits/sec [ 4] 130.0-135.0 sec 54.9 MBytes 92.1 Mbits/sec [ 5] 130.0-135.0 sec 40.5 MBytes 68.0 Mbits/sec [ 4] 135.0-140.0 sec 56.1 MBytes 94.2 Mbits/sec [ 5] 135.0-140.0 sec 40.3 MBytes 67.7 Mbits/sec [ 4] 140.0-145.0 sec 50.6 MBytes 84.9 Mbits/sec [ 5] 140.0-145.0 sec 43.8 MBytes 73.5 Mbits/sec [ 4] 145.0-150.0 sec 52.0 MBytes 87.2 Mbits/sec [ 5] 145.0-150.0 sec 42.5 MBytes 71.3 Mbits/sec [ 4] 150.0-155.0 sec 54.8 MBytes 91.9 Mbits/sec [ 5] 150.0-155.0 sec 41.2 MBytes 69.1 Mbits/sec [ 4] 155.0-160.0 sec 53.8 MBytes 90.2 Mbits/sec [ 5] 155.0-160.0 sec 41.6 MBytes 69.8 Mbits/sec [ 4] 160.0-165.0 sec 56.1 MBytes 94.2 Mbits/sec [ 5] 160.0-165.0 sec 42.4 MBytes 71.2 Mbits/sec [ 4] 165.0-170.0 sec 53.5 MBytes 89.8 Mbits/sec [ 5] 165.0-170.0 sec 42.8 MBytes 71.8 Mbits/sec [ 4] 170.0-175.0 sec 48.9 MBytes 82.0 Mbits/sec [ 5] 170.0-175.0 sec 47.5 MBytes 79.7 Mbits/sec [ 4] 175.0-180.0 sec 45.1 MBytes 75.7 Mbits/sec [ 5] 175.0-180.0 sec 48.7 MBytes 81.7 Mbits/sec [ 4] 180.0-185.0 sec 52.0 MBytes 87.2 Mbits/sec [ 5] 180.0-185.0 sec 43.4 MBytes 72.8 Mbits/sec [ 4] 185.0-190.0 sec 53.4 MBytes 89.5 Mbits/sec [ 5] 185.0-190.0 sec 42.0 MBytes 70.4 Mbits/sec [ 4] 190.0-195.0 sec 53.8 MBytes 90.2 Mbits/sec [ 5] 190.0-195.0 sec 42.9 MBytes 72.1 Mbits/sec [ 4] 195.0-200.0 sec 54.6 MBytes 91.6 Mbits/sec [ 5] 195.0-200.0 sec 42.3 MBytes 70.9 Mbits/sec [ 4] 200.0-205.0 sec 50.6 MBytes 84.9 Mbits/sec [ 5] 200.0-205.0 sec 45.9 MBytes 77.1 Mbits/sec [ 4] 205.0-210.0 sec 50.5 MBytes 84.7 Mbits/sec [ 5] 205.0-210.0 sec 46.3 MBytes 77.7 Mbits/sec [ 4] 210.0-215.0 sec 53.4 MBytes 89.5 Mbits/sec [ 5] 210.0-215.0 sec 43.2 MBytes 72.5 Mbits/sec [ 4] 215.0-220.0 sec 53.5 MBytes 89.8 Mbits/sec [ 5] 215.0-220.0 sec 41.8 MBytes 70.2 Mbits/sec [ 4] 220.0-225.0 sec 52.0 MBytes 87.2 Mbits/sec [ 5] 220.0-225.0 sec 41.8 MBytes 70.2 Mbits/sec [ 4] 225.0-230.0 sec 53.5 MBytes 89.8 Mbits/sec [ 5] 225.0-230.0 sec 43.7 MBytes 73.3 Mbits/sec [ 4] 230.0-235.0 sec 52.2 MBytes 87.7 Mbits/sec [ 5] 230.0-235.0 sec 44.1 MBytes 74.0 Mbits/sec [ 4] 235.0-240.0 sec 55.0 MBytes 92.3 Mbits/sec [ 5] 235.0-240.0 sec 36.0 MBytes 60.3 Mbits/sec [ 4] 240.0-245.0 sec 56.0 MBytes 94.0 Mbits/sec [ 5] 240.0-245.0 sec 34.4 MBytes 57.7 Mbits/sec [ 4] 245.0-250.0 sec 54.9 MBytes 92.1 Mbits/sec [ 5] 245.0-250.0 sec 39.5 MBytes 66.3 Mbits/sec [ 4] 250.0-255.0 sec 53.4 MBytes 89.5 Mbits/sec [ 5] 250.0-255.0 sec 42.0 MBytes 70.5 Mbits/sec [ 4] 255.0-260.0 sec 52.0 MBytes 87.2 Mbits/sec [ 5] 255.0-260.0 sec 41.2 MBytes 69.1 Mbits/sec [ 4] 260.0-265.0 sec 51.9 MBytes 87.0 Mbits/sec [ 5] 260.0-265.0 sec 44.6 MBytes 74.9 Mbits/sec [ 4] 265.0-270.0 sec 53.5 MBytes 89.8 Mbits/sec [ 5] 265.0-270.0 sec 44.4 MBytes 74.6 Mbits/sec [ 4] 270.0-275.0 sec 54.4 MBytes 91.2 Mbits/sec [ 5] 270.0-275.0 sec 41.1 MBytes 69.0 Mbits/sec [ 4] 275.0-280.0 sec 50.6 MBytes 84.9 Mbits/sec [ 5] 275.0-280.0 sec 46.2 MBytes 77.5 Mbits/sec [ 4] 280.0-285.0 sec 50.5 MBytes 84.7 Mbits/sec [ 5] 280.0-285.0 sec 45.4 MBytes 76.2 Mbits/sec [ 4] 285.0-290.0 sec 53.6 MBytes 90.0 Mbits/sec [ 5] 285.0-290.0 sec 41.1 MBytes 69.0 Mbits/sec [ 4] 290.0-295.0 sec 51.0 MBytes 85.6 Mbits/sec [ 5] 290.0-295.0 sec 43.3 MBytes 72.7 Mbits/sec [ 4] 295.0-300.0 sec 52.0 MBytes 87.2 Mbits/sec [ 4] 0.0-300.1 sec 3.08 GBytes 88.0 Mbits/sec [ 5] 295.0-300.0 sec 44.7 MBytes 75.0 Mbits/sec [ 5] 0.0-300.0 sec 2.52 GBytes 72.0 Mbits/sec [SUM] 0.0-300.0 sec 2.56 GBytes 73.2 Mbits/sec

@openwrt-bot
Copy link
Author

renegat:

Latest test with recent snapshot r16336-b36068d35d for WAVLINK WL-WN577A2:

-WLAN with no encryption (open):

$ iperf -c test -t 300 -i 10 -d

two cycles - no drops, no slowdowns, always around 100Mbits/s in sum

  • same test with WPA2-PSK (force CCMP), max. lenght passwd (63 digits):
    two cycles - no drops, no slowdowns, always around 100Mbits/s in sum

rsync-copy test (via ssh):
rock-solid transfer of 9.62G (11.59 bytes/sec)

Seems like the issue with this device is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant