From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id AD4F421F3BC for ; Fri, 24 Apr 2015 08:17:13 -0700 (PDT) Received: by ykep21 with SMTP id p21so7984409yke.3 for ; Fri, 24 Apr 2015 08:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=tmPBnlwA66GzavxdjTch7ITPfJk6EoyxKLlqECoEnXQ=; b=hV7/p5F6mzaVFOdRcgJejtcRLh8lSnF+KMNS2JcQwZOi7EeyZBcHvJQjl5iNN28AMn lYrvkiLERNue3w+POKoCvC1fuU0ZY8PlmKJN+iYXd7AQ7HBSzm3a4OXYCFLn0HxzK7EC 7NnAuhKF4O0JiL3/r6Uwl0kAWgs/Z8d9qBIjPajyKl7+jSIvavUkw7r3GgF0IMelHsRh 2cYguC4/Uo1qAVx4yfgMjyCz5p2tTDuJaQi/3pBYaFyvU/rSFKvJ4t5Nl7YOCKkf9GHX YU2pdqKdT7aVis/kn43eJBTeswyqKy2YT+/hju5yyjMgugQdATz+ZQOP/bAl9Y0kqr3f uoew== X-Received: by 10.236.70.168 with SMTP id p28mr10042364yhd.21.1429888631364; Fri, 24 Apr 2015 08:17:11 -0700 (PDT) MIME-Version: 1.0 Sender: white.phoenix@gmail.com Received: by 10.13.211.68 with HTTP; Fri, 24 Apr 2015 08:16:41 -0700 (PDT) From: leetminiwheat Date: Fri, 24 Apr 2015 11:16:41 -0400 X-Google-Sender-Auth: Qf6UW32Bau8VRuf4_4V2G87Twlw Message-ID: To: cerowrt-devel Content-Type: text/plain; charset=UTF-8 Subject: [Cerowrt-devel] 2.4GHz WiFi intermittent high latency/low speed issues - possibly ANI, bluetooth, or hwcrypt related? X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 15:17:46 -0000 Have not tested 2.4GHz extensively until recently, but I've noticed some intermittent issues. Seems kind of random but after about a day or two I start getting EXTREMELY high pings on wireless devices on 2.4ghz radio especially on tons of small packets (like synergy - keyboard/mouse over network), and speedtests drop a ton. Tested on two laptops. kernel debug shows lots of retransmits, and ANI shows increasing numbers of OFDM and CCK errors. changing channels doesn't seem to help, and the ath9k module parameters seem hardcoded without a /sys interface to change them, so I can't test different options. I have not messed with any of the txqueuelen options or anything queue related in /usr/sbin/debloat, they're all at default. Operating in HT20 mode, WMM enabled/disabled did not matter, nor did ECN on/off ingress/egress, and SQM on/off didn't matter either. Any ideas? Could it be bluetooth interference? I noticed bt_coex was disabled, and there's a few devices around here. or possibly some really far guest clients causing ANI to act up? There's about 15 other APs nearby on a scan but nothing higher (lower?) than -79dbI on my channel according to my phone 10ft from the AP. A /etc/init.d/network restart usually fixes it but not this time, nor did reboots. have not tried cold boot, but will try that later though it's still not a solution if it keeps coming back. this happens as soon as i move my mouse over to the laptop with synergy: 64 bytes from 172.30.42.1: icmp_seq=101 ttl=64 time=2.25 ms 64 bytes from 172.30.42.1: icmp_seq=102 ttl=64 time=4.95 ms 64 bytes from 172.30.42.1: icmp_seq=103 ttl=64 time=35.9 ms 64 bytes from 172.30.42.1: icmp_seq=104 ttl=64 time=3.16 ms 64 bytes from 172.30.42.1: icmp_seq=105 ttl=64 time=125 ms 64 bytes from 172.30.42.1: icmp_seq=106 ttl=64 time=345 ms 64 bytes from 172.30.42.1: icmp_seq=107 ttl=64 time=3093 ms 64 bytes from 172.30.42.1: icmp_seq=108 ttl=64 time=5696 ms 64 bytes from 172.30.42.1: icmp_seq=109 ttl=64 time=5193 ms 64 bytes from 172.30.42.1: icmp_seq=110 ttl=64 time=4198 ms 64 bytes from 172.30.42.1: icmp_seq=112 ttl=64 time=3360 ms 64 bytes from 172.30.42.1: icmp_seq=114 ttl=64 time=2597 ms 64 bytes from 172.30.42.1: icmp_seq=116 ttl=64 time=2225 ms 64 bytes from 172.30.42.1: icmp_seq=117 ttl=64 time=2107 ms 64 bytes from 172.30.42.1: icmp_seq=118 ttl=64 time=1137 ms 64 bytes from 172.30.42.1: icmp_seq=119 ttl=64 time=485 ms 64 bytes from 172.30.42.1: icmp_seq=120 ttl=64 time=71.3 ms 64 bytes from 172.30.42.1: icmp_seq=121 ttl=64 time=3.12 ms regular speedtests show about 6mbps... which normally is around 28mbps # uptime 11:04:20 up 21 min, load average: 0.17, 0.21, 0.33 # iw sw00 station dump Station 00:26:c7:76:ab:80 (on sw00) inactive time: 31 ms rx bytes: 1249755 rx packets: 9068 tx bytes: 2851502 tx packets: 27751 tx retries: 18418 tx failed: 0 signal: -50 [-52, -56] dBm signal avg: -50 [-51, -55] dBm tx bitrate: 130.0 MBit/s MCS 15 rx bitrate: 58.5 MBit/s MCS 6 authorized: yes authenticated: yes preamble: short WMM/WME: yes MFP: no TDLS peer: no # iw gw00 station dump Station bc:52:b7:d6:65:38 (on gw00) inactive time: 4699 ms rx bytes: 62140 rx packets: 709 tx bytes: 283680 tx packets: 358 tx retries: 635 tx failed: 17 signal: -88 [-89, -93] dBm signal avg: -87 [-88, -93] dBm tx bitrate: 1.0 MBit/s rx bitrate: 1.0 MBit/s authorized: yes authenticated: yes preamble: short WMM/WME: yes MFP: no TDLS peer: no Station e4:92:fb:57:82:b9 (on gw00) inactive time: 66 ms rx bytes: 657880 rx packets: 6043 tx bytes: 6950507 tx packets: 5663 tx retries: 5668 tx failed: 202 signal: -85 [-87, -90] dBm signal avg: -85 [-87, -89] dBm tx bitrate: 5.5 MBit/s rx bitrate: 5.5 MBit/s authorized: yes authenticated: yes preamble: short WMM/WME: yes MFP: no TDLS peer: no Station 44:a7:cf:d7:76:30 (on gw00) inactive time: 2402 ms rx bytes: 30852 rx packets: 349 tx bytes: 28079 tx packets: 132 tx retries: 96 tx failed: 0 signal: -41 [-46, -42] dBm signal avg: -41 [-45, -43] dBm tx bitrate: 54.0 MBit/s rx bitrate: 36.0 MBit/s authorized: yes authenticated: yes preamble: short WMM/WME: yes MFP: no TDLS peer: no # cat /sys/kernel/debug/ieee80211/phy0/ath9k/ani ANI: ENABLED ANI RESET: 9 OFDM LEVEL: 9 CCK LEVEL: 7 SPUR UP: 205 SPUR DOWN: 205 OFDM WS-DET ON: 1 OFDM WS-DET OFF: 2 MRC-CCK ON: 0 MRC-CCK OFF: 0 FIR-STEP UP: 201 FIR-STEP DOWN: 178 INV LISTENTIME: 0 OFDM ERRORS: 307392 CCK ERRORS: 125040 # tc qdisc (tested with/without though) qdisc fq_codel a: dev se00 root refcnt 2 limit 1514p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn qdisc htb 1: dev ge00 root refcnt 2 r2q 10 default 12 direct_packets_stat 0 direct_qlen 1000 qdisc fq_codel 110: dev ge00 parent 1:11 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn qdisc fq_codel 120: dev ge00 parent 1:12 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn qdisc fq_codel 130: dev ge00 parent 1:13 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn qdisc ingress ffff: dev ge00 parent ffff:fff1 ---------------- qdisc mq 1: dev sw10 root qdisc fq_codel 10: dev sw10 parent 1:1 limit 800p flows 1024 quantum 500 target 10.0ms interval 100.0ms qdisc fq_codel 20: dev sw10 parent 1:2 limit 800p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn qdisc fq_codel 30: dev sw10 parent 1:3 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn qdisc fq_codel 40: dev sw10 parent 1:4 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms qdisc htb 1: dev sw00 root refcnt 5 r2q 10 default 12 direct_packets_stat 0 direct_qlen 1000 qdisc fq_codel 110: dev sw00 parent 1:11 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms qdisc fq_codel 120: dev sw00 parent 1:12 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms qdisc fq_codel 130: dev sw00 parent 1:13 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms qdisc ingress ffff: dev sw00 parent ffff:fff1 ---------------- qdisc htb 1: dev gw00 root refcnt 5 r2q 10 default 12 direct_packets_stat 4 direct_qlen 1000 qdisc fq_codel 110: dev gw00 parent 1:11 limit 1001p flows 1024 quantum 300 target 8.0ms interval 103.0ms qdisc fq_codel 120: dev gw00 parent 1:12 limit 1001p flows 1024 quantum 300 target 8.0ms interval 103.0ms qdisc fq_codel 130: dev gw00 parent 1:13 limit 1001p flows 1024 quantum 300 target 8.0ms interval 103.0ms qdisc ingress ffff: dev gw00 parent ffff:fff1 ---------------- qdisc htb 1: dev ifb4ge00 root refcnt 2 r2q 10 default 12 direct_packets_stat 0 direct_qlen 32 qdisc fq_codel 110: dev ifb4ge00 parent 1:11 limit 1001p flows 1024 quantum 500 target 5.0ms interval 100.0ms ecn qdisc fq_codel 120: dev ifb4ge00 parent 1:12 limit 1001p flows 1024 quantum 1500 target 5.0ms interval 100.0ms ecn qdisc fq_codel 130: dev ifb4ge00 parent 1:13 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn qdisc htb 1: dev ifb4gw00 root refcnt 2 r2q 10 default 12 direct_packets_stat 0 direct_qlen 32 qdisc fq_codel 110: dev ifb4gw00 parent 1:11 limit 1001p flows 1024 quantum 500 target 10.3ms interval 105.3ms ecn qdisc fq_codel 120: dev ifb4gw00 parent 1:12 limit 1001p flows 1024 quantum 1500 target 10.3ms interval 105.3ms ecn qdisc fq_codel 130: dev ifb4gw00 parent 1:13 limit 1001p flows 1024 quantum 300 target 10.3ms interval 105.3ms ecn qdisc htb 1: dev ifb4sw00 root refcnt 2 r2q 10 default 12 direct_packets_stat 0 direct_qlen 32 qdisc fq_codel 110: dev ifb4sw00 parent 1:11 limit 1001p flows 1024 quantum 500 target 5.0ms interval 100.0ms ecn qdisc fq_codel 120: dev ifb4sw00 parent 1:12 limit 1001p flows 1024 quantum 1500 target 5.0ms interval 100.0ms ecn qdisc fq_codel 130: dev ifb4sw00 parent 1:13 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn