linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Terrible performance form Lenovo Ideapad using RTL8852AE 802.11ax on 5.17 kernel (ubuntu)
@ 2022-08-02 17:53 Andrew than
  2022-08-02 18:44 ` Larry Finger
  2022-08-03  4:04 ` Ping-Ke Shih
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew than @ 2022-08-02 17:53 UTC (permalink / raw)
  To: linux-wireless

Hello all:

Please direct me on what additional information I can provide.

I recently added a Lenovo Ideapad to my wifi network. Two mac hosts on 
that network experience no issue whatsoever with the network (desktop + 
macpro laptop).

A simple scp test between the desktop & macpro vs desktop & lenovo 
yields a 50% difference in throughput.

Interactive performance of ssh is horrible vs the lenovo. I looked but 
didn't find any TCP_NODELAY / Nagel's related settings for sshd. 
However, the scp performance leads me to believe that's not the issue.

I've seen other reports of slow performance of these cards/drivers (e.g. 
https://github.com/lwfinger/rtw89/issues/36)

Any ideas?



   *-network
        description: Wireless interface
        product: RTL8852AE 802.11ax PCIe Wireless Network Adapter
        vendor: Realtek Semiconductor Co., Ltd.
        physical id: 0
        bus info: pci@0000:03:00.0
        logical name: wlo1
        version: 00
        serial: 14:5a:fc:01:c2:xx
        width: 64 bits
        clock: 33MHz
        capabilities: pm msi pciexpress bus_master cap_list ethernet 
physical wireless
        configuration: broadcast=yes driver=rtw89_pci 
driverversion=5.17.0-1014-oem firmware=N/A ip=192.168.x.x latency=0 
link=yes multicast=yes wireless=IEEE 802.11
        resources: irq:64 ioport:2000(size=256) memory:d1600000-d16fffff


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Terrible performance form Lenovo Ideapad using RTL8852AE 802.11ax on 5.17 kernel (ubuntu)
  2022-08-02 17:53 Terrible performance form Lenovo Ideapad using RTL8852AE 802.11ax on 5.17 kernel (ubuntu) Andrew than
@ 2022-08-02 18:44 ` Larry Finger
  2022-08-03  4:04 ` Ping-Ke Shih
  1 sibling, 0 replies; 3+ messages in thread
From: Larry Finger @ 2022-08-02 18:44 UTC (permalink / raw)
  To: Andrew than, linux-wireless

On 8/2/22 12:53, Andrew than wrote:
> Hello all:
> 
> Please direct me on what additional information I can provide.
> 
> I recently added a Lenovo Ideapad to my wifi network. Two mac hosts on that 
> network experience no issue whatsoever with the network (desktop + macpro laptop).
> 
> A simple scp test between the desktop & macpro vs desktop & lenovo yields a 50% 
> difference in throughput.
> 
> Interactive performance of ssh is horrible vs the lenovo. I looked but didn't 
> find any TCP_NODELAY / Nagel's related settings for sshd. However, the scp 
> performance leads me to believe that's not the issue.
> 
> I've seen other reports of slow performance of these cards/drivers (e.g. 
> https://github.com/lwfinger/rtw89/issues/36)
> 
> Any ideas?
> 
> 
> 
>    *-network
>         description: Wireless interface
>         product: RTL8852AE 802.11ax PCIe Wireless Network Adapter
>         vendor: Realtek Semiconductor Co., Ltd.
>         physical id: 0
>         bus info: pci@0000:03:00.0
>         logical name: wlo1
>         version: 00
>         serial: 14:5a:fc:01:c2:xx
>         width: 64 bits
>         clock: 33MHz
>         capabilities: pm msi pciexpress bus_master cap_list ethernet physical 
> wireless
>         configuration: broadcast=yes driver=rtw89_pci 
> driverversion=5.17.0-1014-oem firmware=N/A ip=192.168.x.x latency=0 link=yes 
> multicast=yes wireless=IEEE 802.11
>         resources: irq:64 ioport:2000(size=256) memory:d1600000-d16fffff
> 

I reported this at the GitHub repo, but I will put it here for others to see.

I tried your scp test with a 204 MB file. Using the 5G band on a wifi5 router 
(AC1900), I got 49.2 MBps (399 Mbps) for uploads and 64.0 MBps (511 Mbps) for 
downloads. The other end was a desktop connected to the network via a wire. 
Using my local speedtest, I got 587 Mbps down and 481 Mbps up. With file reads 
and writes, scp should be a little slower than speedtest. My signal reported by 
'iw dev ... scan' is -45 dBm.

You did not tell me what your kernel is, but from the name (rtw89_pci), I see 
that you are using the in-kernel version. The one from this repo, which I am 
using, would be rtw89pci with no underscore.

Larry


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Terrible performance form Lenovo Ideapad using RTL8852AE 802.11ax on 5.17 kernel (ubuntu)
  2022-08-02 17:53 Terrible performance form Lenovo Ideapad using RTL8852AE 802.11ax on 5.17 kernel (ubuntu) Andrew than
  2022-08-02 18:44 ` Larry Finger
@ 2022-08-03  4:04 ` Ping-Ke Shih
  1 sibling, 0 replies; 3+ messages in thread
From: Ping-Ke Shih @ 2022-08-03  4:04 UTC (permalink / raw)
  To: Andrew than, linux-wireless@vger.kernel.org

Hi, 

> -----Original Message-----
> From: Andrew than <linux_kernel_aathan@memeplex.com>
> Sent: Wednesday, August 3, 2022 1:54 AM
> To: linux-wireless@vger.kernel.org
> Subject: Terrible performance form Lenovo Ideapad using RTL8852AE 802.11ax on 5.17 kernel (ubuntu)
> 
> Hello all:
> 
> Please direct me on what additional information I can provide.
> 
> I recently added a Lenovo Ideapad to my wifi network. Two mac hosts on
> that network experience no issue whatsoever with the network (desktop +
> macpro laptop).
> 
> A simple scp test between the desktop & macpro vs desktop & lenovo
> yields a 50% difference in throughput.

Please share the real throughput you saw.

To check the status during you do scp test, please enter debug entry of this driver,
and capture log by:

  /sys/kernel/debug/ieee80211/phy0/rtw89$ while [ 1 ]; do cat phy_info; sleep 2; done | tee scp_test.log

Then, send the result to me. If there is privacy problem, please send
private mail to me directly.

Also, you can try 'iw wlan0 set power_save off' to see if it helps.

[...]

>         configuration: broadcast=yes driver=rtw89_pci
> driverversion=5.17.0-1014-oem firmware=N/A ip=192.168.x.x latency=0
> link=yes multicast=yes wireless=IEEE 802.11
>         resources: irq:64 ioport:2000(size=256) memory:d1600000-d16fffff
> 

Please check firmware you are using via /var/log/kern.log:
The firmware version looks like:
   rtw89_8852ae 0000:03:00.0: Firmware version 0.13.36.0, cmd version 0, type 1
   rtw89_8852ae 0000:03:00.0: Firmware version 0.13.36.0, cmd version 0, type 3


Ping-Ke


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-03  4:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-02 17:53 Terrible performance form Lenovo Ideapad using RTL8852AE 802.11ax on 5.17 kernel (ubuntu) Andrew than
2022-08-02 18:44 ` Larry Finger
2022-08-03  4:04 ` Ping-Ke Shih

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).