* Re: PROBLEM: Poor wlan performance with lots of retries since kernel 5.9
[not found] <c885eca1-1563-f0a6-bf21-a8fc8762a68e@posteo.de>
@ 2020-12-21 6:47 ` Rainer Suhm
2020-12-21 10:58 ` Eric Dumazet
1 sibling, 0 replies; 2+ messages in thread
From: Rainer Suhm @ 2020-12-21 6:47 UTC (permalink / raw)
Cc: netdev
Am 21.12.20 um 00:19 schrieb Rainer Suhm:
> Since kernel 5.9 I do have very poor wlan performance with one of my machines.
> The transmission rate is only about a tenth of normal speed (~60MB/s -> 6 MB/s).
> iperf3 -c <server> shows hundreds of retries per second
> --- snip ---
> [ ID] Interval Transfer Bitrate Retr Cwnd
> [ 5] 0.00-1.00 sec 8.55 MBytes 71.7 Mbits/sec 649 1.41 KBytes
> [ 5] 1.00-2.00 sec 5.78 MBytes 48.5 Mbits/sec 366 17.0 KBytes
> [ 5] 2.00-3.00 sec 5.97 MBytes 50.0 Mbits/sec 371 19.8 KBytes
> [ 5] 3.00-4.00 sec 5.84 MBytes 49.0 Mbits/sec 390 17.0 KBytes
> [ 5] 4.00-5.00 sec 6.21 MBytes 52.1 Mbits/sec 380 19.8 KBytes
> [ 5] 5.00-6.00 sec 4.54 MBytes 38.1 Mbits/sec 299 1.41 KBytes
> [ 5] 6.00-7.00 sec 6.34 MBytes 53.2 Mbits/sec 367 26.9 KBytes
> [ 5] 7.00-8.00 sec 6.15 MBytes 51.6 Mbits/sec 390 19.8 KBytes
> [ 5] 8.00-9.00 sec 5.65 MBytes 47.4 Mbits/sec 370 2.83 KBytes
> [ 5] 9.00-10.00 sec 5.78 MBytes 48.5 Mbits/sec 377 21.2 KBytes
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval Transfer Bitrate Retr
> [ 5] 0.00-10.00 sec 60.8 MBytes 51.0 Mbits/sec 3959 sender
> [ 5] 0.00-10.00 sec 60.1 MBytes 50.4 Mbits/sec receiver
> --- snap ---
> (this measurement was taken after booting from the current official arch iso)
>
> The problem is only when transmitting data. Receiving (iperf3 -c <server> -R) works ok.
> No related errors/warnings in dmesg.
> The problem exists since kernel v5.9 up to 10.0.2-rc1
> Using other (older) WiFi firmware doesn't help.
> Hardware: TUXEDO InfinityBook S 14 v5/L140CU,
> with Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
> The machine runs Arch Linux, all updates installed.
> On all my other laptops this problem doesn't show up.
>
>
> Bisecting leads to:
> --- snip ---
> 3d5b459ba0e3788ab471e8cb98eee89964a9c5e8 is the first bad commit
> commit 3d5b459ba0e3788ab471e8cb98eee89964a9c5e8
> Author: Eric Dumazet <edumazet@google.com>
> Date: Wed Jun 17 20:53:26 2020 -0700
>
> net: tso: add UDP segmentation support
> Note that like TCP, we do not support additional encapsulations,
> and that checksums must be offloaded to the NIC.
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
>
> net/core/tso.c | 29 ++++++++++++++++++-----------
> 1 file changed, 18 insertions(+), 11 deletions(-)
> --- snap ---
>
> After reverting e89964a9c5e8, everything seems ok. WLan works with expected speed, and iperf3 doesn't show retries any more.
> I confirm this for kernels 5.10.1 and 5.10.2-rc1 (00017-gc96cfd687a3f).
>
> If I should provide more information, let me know.
> Please note: I'm not on any list. So please make sure to address me explicitly if replying to this mail.
>
>
> Thx
> Rainer
>
Sorry,
I have to resend this message, as it could not be delivered to the netdev list because of missing TLS.
--- snip ---
Final-Recipient: rfc822; netdev@vger.kernel.org
Original-Recipient: rfc822;netdev@vger.kernel.org
Action: failed
Status: 5.7.4
Diagnostic-Code: X-Postfix; TLS is required, but was not offered by host
vger.kernel.org[23.128.96.18]
--- snap ---
For now I switched the need for TLS off.
Hope that helps.
Thx
Rainer
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PROBLEM: Poor wlan performance with lots of retries since kernel 5.9
[not found] <c885eca1-1563-f0a6-bf21-a8fc8762a68e@posteo.de>
2020-12-21 6:47 ` PROBLEM: Poor wlan performance with lots of retries since kernel 5.9 Rainer Suhm
@ 2020-12-21 10:58 ` Eric Dumazet
1 sibling, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2020-12-21 10:58 UTC (permalink / raw)
To: Rainer Suhm; +Cc: David S. Miller, netdev
On Mon, Dec 21, 2020 at 12:19 AM Rainer Suhm <automat@posteo.de> wrote:
>
> Since kernel 5.9 I do have very poor wlan performance with one of my machines.
> The transmission rate is only about a tenth of normal speed (~60MB/s -> 6 MB/s).
> iperf3 -c <server> shows hundreds of retries per second
> --- snip ---
> [ ID] Interval Transfer Bitrate Retr Cwnd
> [ 5] 0.00-1.00 sec 8.55 MBytes 71.7 Mbits/sec 649 1.41 KBytes
> [ 5] 1.00-2.00 sec 5.78 MBytes 48.5 Mbits/sec 366 17.0 KBytes
> [ 5] 2.00-3.00 sec 5.97 MBytes 50.0 Mbits/sec 371 19.8 KBytes
> [ 5] 3.00-4.00 sec 5.84 MBytes 49.0 Mbits/sec 390 17.0 KBytes
> [ 5] 4.00-5.00 sec 6.21 MBytes 52.1 Mbits/sec 380 19.8 KBytes
> [ 5] 5.00-6.00 sec 4.54 MBytes 38.1 Mbits/sec 299 1.41 KBytes
> [ 5] 6.00-7.00 sec 6.34 MBytes 53.2 Mbits/sec 367 26.9 KBytes
> [ 5] 7.00-8.00 sec 6.15 MBytes 51.6 Mbits/sec 390 19.8 KBytes
> [ 5] 8.00-9.00 sec 5.65 MBytes 47.4 Mbits/sec 370 2.83 KBytes
> [ 5] 9.00-10.00 sec 5.78 MBytes 48.5 Mbits/sec 377 21.2 KBytes
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval Transfer Bitrate Retr
> [ 5] 0.00-10.00 sec 60.8 MBytes 51.0 Mbits/sec 3959 sender
> [ 5] 0.00-10.00 sec 60.1 MBytes 50.4 Mbits/sec receiver
> --- snap ---
> (this measurement was taken after booting from the current official arch iso)
>
> The problem is only when transmitting data. Receiving (iperf3 -c <server> -R) works ok.
> No related errors/warnings in dmesg.
> The problem exists since kernel v5.9 up to 10.0.2-rc1
> Using other (older) WiFi firmware doesn't help.
> Hardware: TUXEDO InfinityBook S 14 v5/L140CU,
> with Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
> The machine runs Arch Linux, all updates installed.
> On all my other laptops this problem doesn't show up.
>
>
> Bisecting leads to:
> --- snip ---
> 3d5b459ba0e3788ab471e8cb98eee89964a9c5e8 is the first bad commit
> commit 3d5b459ba0e3788ab471e8cb98eee89964a9c5e8
> Author: Eric Dumazet <edumazet@google.com>
> Date: Wed Jun 17 20:53:26 2020 -0700
>
> net: tso: add UDP segmentation support
>
> Note that like TCP, we do not support additional encapsulations,
> and that checksums must be offloaded to the NIC.
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
>
> net/core/tso.c | 29 ++++++++++++++++++-----------
> 1 file changed, 18 insertions(+), 11 deletions(-)
> --- snap ---
>
> After reverting e89964a9c5e8, everything seems ok. WLan works with expected speed, and iperf3 doesn't show retries any more.
> I confirm this for kernels 5.10.1 and 5.10.2-rc1 (00017-gc96cfd687a3f).
>
> If I should provide more information, let me know.
> Please note: I'm not on any list. So please make sure to address me explicitly if replying to this mail.
>
>
Thanks for the report.
A similar report has been sent a few days ago by Ben Greear, let's
keep the discussion there please.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-21 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <c885eca1-1563-f0a6-bf21-a8fc8762a68e@posteo.de>
2020-12-21 6:47 ` PROBLEM: Poor wlan performance with lots of retries since kernel 5.9 Rainer Suhm
2020-12-21 10:58 ` Eric Dumazet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).