Bug 205767 - rtw88: regression from r8822be: slow throughput / connection hangs
Summary: rtw88: regression from r8822be: slow throughput / connection hangs
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-04 19:47 UTC by Bjoern Franke
Modified: 2021-03-20 01:58 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.4.1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Bjoern Franke 2019-12-04 19:47:36 UTC
A RTL8822BE using rtw88 in a Thinkpad A275 has some connection issues similar to #199217 - although the FritzBox 7590 reports a 390Mbit connection, even SSH connections are sluggish. And also like in #199217, the invalid misc counter increases every few seconds. The throughput tested with iperf3 is around 20/30 Mbit in good times, but after some time reduced to 100-200kbit.

I don't know which router was used in #199217, but I don't think a FritzBox 7590 is that crappy hardware and other devices don't have that issues.
Comment 1 Bjoern Franke 2019-12-05 08:06:51 UTC
I've tested now with the LTS kernel 4.19.87 which still uses r8822be. Connection speed is shown as 866Mbit in AC mode, iperf throughput as follows:

[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  27.0 MBytes   226 Mbits/sec                  
[  5]   1.00-2.00   sec  29.2 MBytes   245 Mbits/sec                  
[  5]   2.00-3.00   sec  29.9 MBytes   251 Mbits/sec                  
[  5]   3.00-4.00   sec  30.1 MBytes   252 Mbits/sec                  
[  5]   4.00-5.00   sec  26.1 MBytes   219 Mbits/sec                  
[  5]   5.00-6.00   sec  19.8 MBytes   167 Mbits/sec                  
[  5]   6.00-7.00   sec  30.4 MBytes   255 Mbits/sec                  
[  5]   7.00-8.00   sec  31.7 MBytes   266 Mbits/sec                  
[  5]   8.00-9.00   sec  29.4 MBytes   247 Mbits/sec                  
[  5]   9.00-10.00  sec  28.2 MBytes   237 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.05  sec   284 MBytes   237 Mbits/sec    1             sender
[  5]   0.00-10.00  sec   282 MBytes   236 Mbits/sec                  receiver

In comparison, throughput with rtw88:
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  4.02 MBytes  33.7 Mbits/sec                  
[  5]   1.00-2.00   sec  4.08 MBytes  34.2 Mbits/sec                  
[  5]   2.00-3.00   sec  4.12 MBytes  34.5 Mbits/sec                  
[  5]   3.00-4.00   sec  4.23 MBytes  35.5 Mbits/sec                  
[  5]   4.00-5.00   sec  4.18 MBytes  35.1 Mbits/sec                  
[  5]   5.00-6.00   sec  4.33 MBytes  36.3 Mbits/sec                  
[  5]   6.00-7.00   sec  4.30 MBytes  36.1 Mbits/sec                  
[  5]   7.00-8.00   sec  4.26 MBytes  35.7 Mbits/sec                  
[  5]   8.00-9.00   sec  4.37 MBytes  36.7 Mbits/sec                  
[  5]   9.00-10.00  sec  4.38 MBytes  36.7 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  44.2 MBytes  37.1 Mbits/sec  312             sender
[  5]   0.00-10.00  sec  42.3 MBytes  35.5 Mbits/sec                  receiver

The much slower speed and the connection issues appear as a regression to r8822be.
Comment 2 perso 2020-09-14 13:19:07 UTC
Using Linux 5.8.8, with driver rtw88_8822be, I can reach 398.84 Mbit/s (results obtained with speedtest-cli).
Comment 3 Steffen Nurpmeso 2021-03-20 01:58:40 UTC
Sorry for hijacking this.  I had #209263 open (rtw88 lots of crashes), and whereas this is still true (very much so sometimes, otherwise not, loosing connections), but closed it sometime.
For me it is still bluetooth-audio _or_ wlan, most of the time.  wlan stalls to 0 throughput very often, stopping bluetooth audio restarts it.  Speed slowly goes up thereafter.  In general, sinus curve style download throughput.
But all i wanted to note is that i get hearable stutter when rfkill is on for wlan but no connection there is, each time dhcpcd sends its packets, audio stutter occurs.  Maybe someone can make something of this.
Ciao (sorry again)

Note You need to log in before you can comment on or make changes to this bug.