* rtw89: 8922ae: ~80 Mbps TCP throughput vs ~600 Mbps on Windows with the same hardware
@ 2026-11-24 7:07 Jimmy
2026-11-24 9:19 ` Ping-Ke Shih
0 siblings, 1 reply; 4+ messages in thread
From: Jimmy @ 2026-11-24 7:07 UTC (permalink / raw)
To: linux-wireless; +Cc: pkshih
Hello,
I have a RTL8922AE which only gets 60-120 Mbps TCP throughput on Linux,
even though the link reports 1200.9 MBit/s HE-MCS 11 NSS 2 in both
directions with a strong signal. The same machine gets ~600 Mbps
throughput when booted into Windows 11.
Issue is reproducible on:
- 7.3.5, in-kernel rtw89
- 6.18.60, in-kernel rtw89
- 7.3.5, morrownr/rtw89 at commit f2ce66e
The Windows driver that works for me is 6102.24.143.0.
My system:
- Motherboard: Gigabyte X870 AORUS ELITE WIFI7 ICE (onboard RTL8922AE)
- CPU: AMD Ryzen 9 9950X3D
- 09:00.0 Network controller [0280]: Realtek RTL8922AE [10ec:8922]
(rev 01), subsystem [10ec:8922]
- chip info CID: 71, CV: 2, AID: 6933, ACV: 1, RFE: 1
- Firmware 0.35.80.3 (8ef4f0cf), rtw89/rtw8922a_fw-4.bin
- Distro: CachyOS
- AP: Rogers (Canada) gateway CGM4331COM, hardware revision 2.0, 5 GHz
channel 44, 80 MHz, 802.11ax, WPA2-PSK. Regulatory domain: country CA.
Things I already tried:
- iw power_save off
- rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=y disable_clkreq=y,
rtw89_core disable_ps_mode=y (confirmed active in sysfs)
- LTS kernel and the latest driver from github
- Blocking bluetooth via rfkill
I have mostly been measuring speeds by using openspeedtest.com, but I
also used iperf3 to test transfer speeds between my PC and a macbook on
the same network.
These are my iperf3 results. Both the PC and the MacBook are using wifi
on the same AP. Windows numbers for iperf3 are about half of the
Windows numbers on openspeedtest because in this setup each packet
crosses the air twice.
PC sending (iperf3 -c <macbook> -t 20):
- Windows: ~297 Mbps
- Linux: ~156 Mbps, 205 TCP retransmits (bursts of ~100)
PC receiving (iperf3 -c <macbook> -t 20 -R):
- Windows: ~234 Mbps, 0 retransmits reported by the Mac
- Linux: ~69 Mbps. The Mac reported a single burst of ~830
retransmits at 1-2 s, then 0 for the rest of the run. Throughput
stays flat at ~70 Mbps with no further loss. Same pattern in
repeated runs.
During transfers, iw station dump stays at 1200.9 MBit/s HE-MCS 11
in both directions, signal around -43 dBm, and tx retries / tx failed
stay at 0.
The macbook itself gets ~500 Mbps on openspeedtest.
Please let me know if I can do anything to help track down the issue.
Jimmy
P.S. this is my first time reporting a kernel issue. Please let me know
if there's something I can do better in the future.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: rtw89: 8922ae: ~80 Mbps TCP throughput vs ~600 Mbps on Windows with the same hardware
2026-11-24 7:07 rtw89: 8922ae: ~80 Mbps TCP throughput vs ~600 Mbps on Windows with the same hardware Jimmy
@ 2026-11-24 9:19 ` Ping-Ke Shih
2026-11-24 19:12 ` Jimmy
0 siblings, 1 reply; 4+ messages in thread
From: Ping-Ke Shih @ 2026-11-24 9:19 UTC (permalink / raw)
To: Jimmy, linux-wireless@vger.kernel.org
Jimmy <kernel@jimmycushnie.com> wrote:
> Hello,
>
> I have a RTL8922AE which only gets 60-120 Mbps TCP throughput on Linux,
> even though the link reports 1200.9 MBit/s HE-MCS 11 NSS 2 in both
> directions with a strong signal.
It looks like PHY rate is normal. Please capture air packets and compare
the difference between Windows and Linux.
> The same machine gets ~600 Mbps
> throughput when booted into Windows 11.
>
> Issue is reproducible on:
> - 7.3.5, in-kernel rtw89
> - 6.18.60, in-kernel rtw89
> - 7.3.5, morrownr/rtw89 at commit f2ce66e
>
> The Windows driver that works for me is 6102.24.143.0.
>
> My system:
> - Motherboard: Gigabyte X870 AORUS ELITE WIFI7 ICE (onboard RTL8922AE)
> - CPU: AMD Ryzen 9 9950X3D
> - 09:00.0 Network controller [0280]: Realtek RTL8922AE [10ec:8922]
> (rev 01), subsystem [10ec:8922]
> - chip info CID: 71, CV: 2, AID: 6933, ACV: 1, RFE: 1
> - Firmware 0.35.80.3 (8ef4f0cf), rtw89/rtw8922a_fw-4.bin
> - Distro: CachyOS
> - AP: Rogers (Canada) gateway CGM4331COM, hardware revision 2.0, 5 GHz
> channel 44, 80 MHz, 802.11ax, WPA2-PSK. Regulatory domain: country CA.
>
> Things I already tried:
> - iw power_save off
I think this can affect throughput significantly. Please use iw get
to confirm again.
> - rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=y disable_clkreq=y,
> rtw89_core disable_ps_mode=y (confirmed active in sysfs)
This should be added into /etc/modprobe.d/, and cold reboot to take
effect. (Though I think this doesn't affect throughput too much)
Ping-Ke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rtw89: 8922ae: ~80 Mbps TCP throughput vs ~600 Mbps on Windows with the same hardware
2026-11-24 9:19 ` Ping-Ke Shih
@ 2026-11-24 19:12 ` Jimmy
2026-11-25 1:21 ` Ping-Ke Shih
0 siblings, 1 reply; 4+ messages in thread
From: Jimmy @ 2026-11-24 19:12 UTC (permalink / raw)
To: Ping-Ke Shih, linux-wireless@vger.kernel.org
Ping-Ke Shih <pkshih@realtek.com> wrote:
> Jimmy <kernel@jimmycushnie.com> wrote:
>> I have a RTL8922AE which only gets 60-120 Mbps TCP throughput on
>> Linux, even though the link reports 1200.9 MBit/s HE-MCS 11 NSS 2 in
>> both directions with a strong signal.
>
> It looks like PHY rate is normal. Please capture air packets and
> compare the difference between Windows and Linux.
Thank you for the debugging advice. I captured air traffic with my
macbook's sniffer tool during a speed test on the PC, once on Linux and
once on Windows. PHY rates look the same on both: data frames are at
HE-MCS 10/11 (1080-1201 Mb/s), and Linux actually has fewer retries
(0.2% of frames vs 1.6% on Windows).
The main difference I could find is that Windows uses BlockAck way more
than Linux:
Linux Windows
BlockAck frames sent by PC 0 30332
BlockAck frames sent by AP 0 16455
PC data MPDUs per A-MPDU 1.0 4.1
Normal ACKs sent to PC 52704 3875
I can send you the pcap files privately if you'd like to look at them.
>> Things I already tried:
>> - iw power_save off
>
> I think this can affect throughput significantly. Please use iw get
> to confirm again.
Confirmed: `iw dev wlan0 get power_save` prints `Power save: off`, even
after rebooting.
>> - rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=y disable_clkreq=y,
>> rtw89_core disable_ps_mode=y (confirmed active in sysfs)
>
> This should be added into /etc/modprobe.d/, and cold reboot to take
> effect. (Though I think this doesn't affect throughput too much)
Yes, they're in /etc/modprobe.d/70-rtw89.conf. I did a cold boot (PSU
switched off) and confirmed the values under
/sys/module/rtw89_{pci,core}/parameters/ before testing. As you
expected, they made no noticeable difference to throughput.
Jimmy
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: rtw89: 8922ae: ~80 Mbps TCP throughput vs ~600 Mbps on Windows with the same hardware
2026-11-24 19:12 ` Jimmy
@ 2026-11-25 1:21 ` Ping-Ke Shih
0 siblings, 0 replies; 4+ messages in thread
From: Ping-Ke Shih @ 2026-11-25 1:21 UTC (permalink / raw)
To: Jimmy, linux-wireless@vger.kernel.org
Jimmy <kernel@jimmycushnie.com> wrote:
> Ping-Ke Shih <pkshih@realtek.com> wrote:
> > Jimmy <kernel@jimmycushnie.com> wrote:
> >> I have a RTL8922AE which only gets 60-120 Mbps TCP throughput on
> >> Linux, even though the link reports 1200.9 MBit/s HE-MCS 11 NSS 2 in
> >> both directions with a strong signal.
> >
> > It looks like PHY rate is normal. Please capture air packets and
> > compare the difference between Windows and Linux.
>
> Thank you for the debugging advice. I captured air traffic with my
> macbook's sniffer tool during a speed test on the PC, once on Linux and
> once on Windows. PHY rates look the same on both: data frames are at
> HE-MCS 10/11 (1080-1201 Mb/s), and Linux actually has fewer retries
> (0.2% of frames vs 1.6% on Windows).
>
> The main difference I could find is that Windows uses BlockAck way more
> than Linux:
>
> Linux Windows
> BlockAck frames sent by PC 0 30332
> BlockAck frames sent by AP 0 16455
It is weird why Linux doesn't try to build BA session.
Maybe you can try another AP, such as your cell phone.
Check TX side first:
Check if driver enters rtw89_core_txq_check_agg() and queue work
ieee80211_queue_work(hw, &rtwdev->ba_work)
and then
ieee80211_start_tx_ba_session(sta, tid, 0);
after BA session establish, the function is called:
rtw89_ops_ampdu_action()
> PC data MPDUs per A-MPDU 1.0 4.1
> Normal ACKs sent to PC 52704 3875
So I think the difference is A-MSDU or A-MPDU number. For TX direction,
try to (hard code) increase desc_info->ampdu_num to 31 in
rtw89_core_tx_update_ampdu_info().
For RX direction, check the Add-BA response from STA to see the number
of buffer is normal (normally it should be 32 or 64) [1]
(I find this by google search)
[1] https://mrncciew.com/2014/11/01/cwap-802-11-block-ack/
Ping-Ke
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-25 1:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 7:07 rtw89: 8922ae: ~80 Mbps TCP throughput vs ~600 Mbps on Windows with the same hardware Jimmy
2026-11-24 9:19 ` Ping-Ke Shih
2026-11-24 19:12 ` Jimmy
2026-11-25 1:21 ` 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