#17354: ath9k packet loss with wds
-------------------------------+-----------------------------------
Reporter: dphi <philipp@…> | Owner: developers
Type: defect | Status: reopened
Priority: normal | Milestone: Barrier Breaker 14.07
Component: kernel | Version: Barrier Breaker 14.07
Resolution: | Keywords:
-------------------------------+-----------------------------------
Comment (by jannie@…):
I seem to have a similar issue, 14.07 final r43209. My setup differs in
that my main WDS base is a UBNT Bullet2 Backfire 10.03 Snapshot r33081
using madwifi. The WDS base and its existing UBNT Bullet2 Backfire 10.03
r33081 madwifi repeater have been - and continues to be - stable.
Two days ago, I added a UBNT NSM2 running 14.07 final r43209 using ath9k.
Things work great for a while (seems to be an arbitrary number of hours,
even if no non-WDS sessions have been associated.) I then start seeing
high latencies and packet loss. At the moment, it seems only traffic FROM
the ath9k repeater TO the madwifi base is affected. The rate of packet
loss varies tremendously - sometimes it's 1%, other times it's 80%.
Traffic from the madwifi base to the ath9k repeater appears to be
unaffected.
The madwifi base still works perfectly with the madwifi repeater during
this time. <1% packet loss, no latency issues.
In most cases, running 'wifi' on the ath9k repeater is enough to restore
the connection to normal state of virtually 0% packet loss. One case I've
had required doing so on the WDS base (even though the other Backfire
madwifi repeater was unaffected at the time.
I've been unable to find a 'trigger' pattern thus far.
How I'm testing throughput and packet loss:
********** Problem State **********
root@ath9krepeater:~# iperf -w 64k -c 192.168.18.10 -u -b 1m -r
------------------------------------------------------------
Client connecting to 192.168.18.10, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 128 KByte (WARNING: requested 64.0 KByte)
------------------------------------------------------------
[ 3] local 192.168.18.15 port 33571 connected with 192.168.18.10 port
5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.8 sec 715 KBytes 543 Kbits/sec
[ 3] Sent 498 datagrams
[ 3] Server Report:
[ 3] 0.0-11.1 sec 161 KBytes 119 Kbits/sec 122.994 ms 387/ 499
(78%)
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size: 128 KByte (WARNING: requested 64.0 KByte)
------------------------------------------------------------
[ 3] local 192.168.18.15 port 5001 connected with 192.168.18.10 port
56979
[ 3] 0.0-10.0 sec 1.19 MBytes 999 Kbits/sec 0.883 ms 1/ 853
(0.12%)
root@Bloudakhuis-NSM2:~#
********** Normal state, after running 'wifi', immediately following above
**********
root@ath9krepeater:~# iperf -w 64k -c 192.168.18.10 -u -b 1m -r
------------------------------------------------------------
Client connecting to 192.168.18.10, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 128 KByte (WARNING: requested 64.0 KByte)
------------------------------------------------------------
[ 3] local 192.168.18.15 port 42761 connected with 192.168.18.10 port
5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.19 MBytes 1000 Kbits/sec
[ 3] Sent 852 datagrams
[ 3] Server Report:
[ 3] 0.0-10.0 sec 1.19 MBytes 1.00 Mbits/sec 0.462 ms 1/ 853
(0.12%)
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size: 128 KByte (WARNING: requested 64.0 KByte)
------------------------------------------------------------
[ 3] local 192.168.18.15 port 5001 connected with 192.168.18.10 port
52210
[ 3] 0.0-10.0 sec 1.19 MBytes 1000 Kbits/sec 0.972 ms 1/ 852
(0.12%)
root@Bloudakhuis-NSM2:~#
--
Ticket URL: <https://dev.openwrt.org/ticket/17354#comment:6>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets