From: rootkit85 at yahoo.it Date: Thu, 24 Dec 2009 14:27:39 +0100 Subject: [ath9k-devel] throughput is unstable Message-ID: <40101cc30912240527g13c0a2c4v48b331f3cce2fc2@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, I'm using an AR9223 in AP mode with latest compat-wireless-2009-12-11 drivers but I get bad performances. SSH is unusable. The link is fine when it works but sometimes it stalls for a few seconds, which kills tcp performances: iperf -sui1 ------------------------------------------------------------ Server listening on UDP port 5001 Receiving 1470 byte datagrams UDP buffer size: 106 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.1 port 5001 connected with 192.168.0.79 port 33066 [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 0.0- 1.0 sec 7.98 MBytes 66.9 Mbits/sec 0.117 ms 1423/ 7115 (20%) [ 3] 1.0- 2.0 sec 11.3 MBytes 94.5 Mbits/sec 0.085 ms 2811/10849 (26%) [ 3] 2.0- 3.0 sec 11.1 MBytes 92.9 Mbits/sec 0.119 ms 2734/10632 (26%) [ 3] 3.0- 4.0 sec 6.63 MBytes 55.6 Mbits/sec 0.135 ms 1257/ 5986 (21%) [ 3] 4.0- 5.0 sec 1.95 MBytes 16.3 Mbits/sec 0.113 ms 186/ 1575 (12%) [ 3] 5.0- 6.0 sec 1.17 MBytes 9.81 Mbits/sec 0.083 ms 254/ 1088 (23%) [ 3] 6.0- 7.0 sec 0.00 Bytes 0.00 bits/sec 0.083 ms 0/ 0 (nan%) [ 3] 7.0- 8.0 sec 0.00 Bytes 0.00 bits/sec 0.083 ms 0/ 0 (nan%) [ 3] 8.0- 9.0 sec 0.00 Bytes 0.00 bits/sec 0.083 ms 0/ 0 (nan%) [ 3] 9.0-10.0 sec 1.86 MBytes 15.6 Mbits/sec 0.144 ms 649/ 1973 (33%) [ 3] 10.0-11.0 sec 2.38 MBytes 19.9 Mbits/sec 0.097 ms 609/ 2304 (26%) [ 3] 11.0-12.0 sec 652 KBytes 5.34 Mbits/sec 0.068 ms 198/ 652 (30%) [ 3] 12.0-13.0 sec 9.69 MBytes 81.3 Mbits/sec 0.085 ms 2563/ 9476 (27%) [ 3] 13.0-14.0 sec 6.38 MBytes 53.5 Mbits/sec 0.249 ms 1426/ 5977 (24%) [ 3] 14.0-15.0 sec 8.45 MBytes 70.9 Mbits/sec 1.677 ms 1940/ 7971 (24%) [ 3] 15.0-16.0 sec 8.03 MBytes 67.4 Mbits/sec 2.580 ms 1899/ 7628 (25%) [ 3] 16.0-17.0 sec 6.91 MBytes 57.9 Mbits/sec 0.157 ms 905/ 5832 (16%) [ 3] 17.0-18.0 sec 233 KBytes 1.91 Mbits/sec 0.788 ms 32/ 194 (16%) [ 3] 18.0-19.0 sec 1.12 MBytes 9.38 Mbits/sec 0.620 ms 210/ 1008 (21%) [ 3] 19.0-20.0 sec 7.06 MBytes 59.3 Mbits/sec 0.159 ms 1027/ 6066 (17%) [ 3] 20.0-21.0 sec 6.07 MBytes 50.9 Mbits/sec 0.322 ms 720/ 5047 (14%) [ 3] 21.0-22.0 sec 6.13 MBytes 51.4 Mbits/sec 0.109 ms 619/ 4989 (12%) [ 3] 22.0-23.0 sec 4.84 MBytes 40.6 Mbits/sec 0.154 ms 365/ 3814 (9.6%) [ 3] 23.0-24.0 sec 5.26 MBytes 44.1 Mbits/sec 0.308 ms 224/ 3978 (5.6%) [ 3] 24.0-25.0 sec 6.06 MBytes 50.9 Mbits/sec 0.167 ms 757/ 5083 (15%) [ 3] 25.0-26.0 sec 6.84 MBytes 57.4 Mbits/sec 0.148 ms 902/ 5779 (16%) [ 3] 26.0-27.0 sec 7.66 MBytes 64.3 Mbits/sec 0.152 ms 1288/ 6755 (19%) [ 3] 27.0-28.0 sec 0.00 Bytes 0.00 bits/sec 0.152 ms 0/ 0 (nan%) [ 3] 28.0-29.0 sec 84.7 KBytes 694 Kbits/sec 14.385 ms 141/ 200 (70%) [ 3] 0.0-30.0 sec 145 MBytes 40.7 Mbits/sec 0.290 ms 27599/131272 (21%) [ 3] 0.0-30.0 sec 1 datagrams received out-of-order $ ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=280 ms 64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=1.95 ms 64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=1002 ms 64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=50.3 ms 64 bytes from 192.168.0.1: icmp_seq=6 ttl=64 time=264 ms 64 bytes from 192.168.0.1: icmp_seq=7 ttl=64 time=322 ms 64 bytes from 192.168.0.1: icmp_seq=8 ttl=64 time=1232 ms 64 bytes from 192.168.0.1: icmp_seq=10 ttl=64 time=5.11 ms 64 bytes from 192.168.0.1: icmp_seq=11 ttl=64 time=1.96 ms ^C --- 192.168.0.1 ping statistics --- 11 packets transmitted, 9 received, 18% packet loss, time 10021ms rtt min/avg/max/mdev = 1.957/351.321/1232.350/430.558 ms, pipe 2 there are no errors in the master and client syslog, all the clients are using the same ath9k with an AR5416 card. signal level is around -61 dBm at 3 meters, without walls.