From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) (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 F1F3221F308 for ; Sun, 26 Apr 2015 07:47:21 -0700 (PDT) Received: by ykep21 with SMTP id p21so14977856yke.3 for ; Sun, 26 Apr 2015 07:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=kPrvJLpPAssKE/PaI3Mfk5At+dpy8TubLs9bqDZi+Lo=; b=RTIh91fN1eS6IpX9bQ14m91+PmzieDeQ16bWS58tR4SHjf3Oy9WX1VqC23LvQZzouk 9MZHK6lUpA6RA92asuQm7uM4bvBV3xbRkQIFzWFYL18rHxiCUEg2DA0zsRqjQf0PRi2r uWz169eSYJRbvj81/D6fTa4n43t3ovqU6ql3/Ib5anUuWjqsaOtX3PxDdjcWIqX6V+1a w0z+VJQ9HQPVGQc+PB3bH6/ica22OqONIo9Nh43wJSBL56ffUl+0Wssanl/IROd5ngO5 mrDFhv6AaXIFXSHzSS+vj7OUGvcgi1gFrcGGFcO1lL08j1WJQ0KCxSOdy1HhV3Uymt6E YyjQ== X-Received: by 10.236.223.137 with SMTP id v9mr11291259yhp.89.1430059633814; Sun, 26 Apr 2015 07:47:13 -0700 (PDT) MIME-Version: 1.0 Sender: white.phoenix@gmail.com Received: by 10.13.211.68 with HTTP; Sun, 26 Apr 2015 07:46:43 -0700 (PDT) In-Reply-To: <8a92da2c-a057-4dc1-a600-821798d5e808@reed.com> References: <8a92da2c-a057-4dc1-a600-821798d5e808@reed.com> From: leetminiwheat Date: Sun, 26 Apr 2015 10:46:43 -0400 X-Google-Sender-Auth: U7OcaocemkbpG91zf_sZt-HE_Rw Message-ID: To: "David P. Reed" Content-Type: text/plain; charset=UTF-8 Cc: cerowrt-devel Subject: Re: [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: Sun, 26 Apr 2015 14:47:58 -0000 Ah, thanks. So it's one of my guest WiFi clients then... wonderful. Need to think of some way to handle this... -j DSCP --set-dscp 0x08 isn't working, nor is bandwidth limiting. If only all my devices could use 5GHz I could reserve that for myself. I get <=1ms pings on 5GHz On Sun, Apr 26, 2015 at 9:56 AM, David P. Reed wrote: > Classic symptom of bufferbloated link. One station or AP is probably not > running Fq_codel. If some station starts a file transfer all users of the > net suffer. Daddy why is the Internet slow? It's because someone is > uploading and not knowing his packets are being buffered. > > On Apr 24, 2015, leetminiwheat wrote: >> >> 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 >> >> ________________________________ >> >> Cerowrt-devel mailing list >> Cerowrt-devel@lists.bufferbloat.net >> https://lists.bufferbloat.net/listinfo/cerowrt-devel > > > -- Sent with K-@ Mail - the evolution of emailing.