Re: ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue...?
From: Mathias Kresin <hidden>
Date: 2018-03-27 07:49:06
26.03.2018 12:35, Stanislaw Gruszka:
Hi Mathiasquoted
sorry for the delayed testing. I had to create a new test setup first, fought with buggy hardware and was busy with other stuff.Thanks for doing it.quoted
The two attached patches are causing a performance regression for me again: OpenWrt head (forced HT40, 100Mbit wired interface) wireless (iperf client) to wired (iperf server) Interval Transfer Bitrate Retr 0.00-60.00 sec 584 MBytes 81.6 Mbits/sec 666 sender 0.00-60.00 sec 584 MBytes 81.6 Mbits/sec receiver wired (iperf client) to wireless (iperf server) Interval Transfer Bitrate Retr 0.00-60.00 sec 620 MBytes 86.7 Mbits/sec 33 sender 0.00-60.00 sec 617 MBytes 86.2 Mbits/sec receiver OpenWrt head (forced HT40, 100Mbit wired interface) + rt2800_change_rx_ampdu_factor.patch + rt2800_change_ba_size.patch wireless (iperf client) to wired (iperf server) Interval Transfer Bitrate Retr 0.00-60.00 sec 356 MBytes 49.8 Mbits/sec 6 sender 0.00-60.00 sec 356 MBytes 49.7 Mbits/sec receiver wired (iperf client) to wireless (iperf server) Interval Transfer Bitrate Retr 0.00-60.00 sec 627 MBytes 87.7 Mbits/sec 5 sender 0.00-60.00 sec 626 MBytes 87.5 Mbits/sec receiver Due to the regression I haven't tested your ampdu_density patch so far. Let me hear if you want to see more tests done.Could you test just RX AMPDU patches, i.e. rt2800_change_rx_ampdu_factor.patch rt2800_change_rx_ampdu_density.patch I have somewhat positive results on RX performance on some devices with those. Perhaps you could confirm that :-)
This time I've done the test with HT20 only, to not annoy my neighbours.
The test setup is the following:
ath9k (STA) <=> (AP) o2 Box 6431 (RJ45) <=> desktop
With the patches applied the bandwidth is somewhat around 10 MBit/sec
lower. Even if I was able to reliable reproduce it, I'm not sure if it
is within the measuring tolerance.
OpenWrt head
mkresin@desktop ~ $ iperf3 -c 192.168.1.156
Connecting to host 192.168.1.156, port 5201
Interval Transfer Bandwidth Retr
0.00-10.00 sec 89.5 MBytes 75.0 Mbits/sec 1 sender
0.00-10.00 sec 88.2 MBytes 74.0 Mbits/sec receiver
mkresin@desktop ~ $ iperf3 -c 192.168.1.156 -R
Connecting to host 192.168.1.156, port 5201
Reverse mode, remote host 192.168.1.156 is sending
Interval Transfer Bandwidth Retr
0.00-10.00 sec 70.8 MBytes 59.4 Mbits/sec 0 sender
0.00-10.00 sec 70.5 MBytes 59.1 Mbits/sec receiver
OpenWrt head
+ rt2800_change_rx_ampdu_factor.patch
+ rt2800_change_rx_ampdu_density.patch
mkresin@desktop ~ $ iperf3 -c 192.168.1.156
Connecting to host 192.168.1.156, port 5201
Interval Transfer Bandwidth Retr
0.00-10.00 sec 78.2 MBytes 65.6 Mbits/sec 0 sender
0.00-10.00 sec 77.1 MBytes 64.7 Mbits/sec receiver
mkresin@desktop ~ $ iperf3 -c 192.168.1.156 -R
Connecting to host 192.168.1.156, port 5201
Reverse mode, remote host 192.168.1.156 is sending
Interval Transfer Bandwidth Retr
0.00-10.00 sec 51.8 MBytes 43.5 Mbits/sec 1 sender
0.00-10.00 sec 51.7 MBytes 43.3 Mbits/sec receiver
Mathias