From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-x229.google.com (mail-qg0-x229.google.com [IPv6:2607:f8b0:400d:c04::229]) (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 A180721F243 for ; Sun, 25 May 2014 12:56:19 -0700 (PDT) Received: by mail-qg0-f41.google.com with SMTP id j5so11099207qga.0 for ; Sun, 25 May 2014 12:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=5479lu52kJfHqOfmsUiEQ7cFEZJE53/vLw3ESW0Txq8=; b=z/BV602HzOMqCCTbhd11y7fUJuaT0MOS3vzlScFq2ryNzwwOzR+qKTE/Cq9y5AsQW3 vzCL0ATbs0j5mIrQ0tLCGiNHvoox1vhOR1lo0sWrT05KAJrEw7ZHmuU7i4SbJPs99M7/ UN7pJnM3Bca+sKbkxevIzm33i5Ua8TP/RzAvn41/BkLxlumqy//G2WhmQ//oupdldUp7 embpZ3r45NI2sVcKxVcnAKbuN5Mh56lvpkKd296fM0HWVbkPGzFRNEcq+lNIvON1jcOG ZLDIVsPMdKPXZqzisx1gzbe4BKkYrlt5YEBgu9hqDW1vZbGLfC261XRxMvugUhkpsSQ4 n4PA== MIME-Version: 1.0 X-Received: by 10.229.221.194 with SMTP id id2mr26517592qcb.5.1401047778273; Sun, 25 May 2014 12:56:18 -0700 (PDT) Received: by 10.140.37.133 with HTTP; Sun, 25 May 2014 12:56:18 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 May 2014 12:56:18 -0700 Message-ID: From: Dave Taht To: "cerowrt-devel@lists.bufferbloat.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Cerowrt-devel] Fwd: qos in open commotion? 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, 25 May 2014 19:56:20 -0000 meant to cc cerowrt-devel on this... ---------- Forwarded message ---------- From: Dave Taht Date: Sun, May 25, 2014 at 12:55 PM Subject: qos in open commotion? To: andygunn@opentechinstitute.org, commotion-dev@lists.chambana.net Dear Andy: In response to your thread on qos in open commotion my list started a threa= d https://lists.bufferbloat.net/pipermail/cerowrt-devel/2014-May/003044.html summary: You can and should run packet scheduling/aqm/qos in routers with 32MB of memory or less. Some compromises are needed: https://lists.bufferbloat.net/pipermail/cerowrt-devel/2014-May/003048.html FIRST: We strongly recomend that your edge gateways have aqm/packet scheduling/qos on all their connections to the internet. See innumerable posting on bufferbloat and the fixes for it... http://gettys.wordpress.com/ Feel free to lift cerowrt's SQM scripts and gui from the ceropackages repo for your own purposes. Openwrt barrier breaker qos-scripts are pretty good too but don't work with ipv6 at the moment... http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_SQM_for_CeroWrt= _310 For the kind of results we get on cable: http://snapon.lab.bufferbloat.net/~cero2/jimreisert/results.html Wifi has a built in QoS (802.11e) system but it doesn't work well in congested environments and optimizing wireless-n aggregation works better. As for fixing wifi, well, we know what to do, but never found any funding for it. Ath9k is still horribly overbuffered and while fq_codel takes some of the edge off of wifi (and recently we disabled 802.11e entirely in favor of fq_codel), and in cerowrt we reduce aggregation to get better latency also - much more work remains to truly make it scale down to levels of latency we consider reasonable while (In other words, wifi latencies suck horribly now no matter what yet we think we know how to improve that. Feel free to do measurements of your mesh with tools like netperf-wrapper. There are also a few papers out there now showing how bad wifi can get nowadays) As for replacing pfifo_fast, openwrt barrier breaker replaced pfifo_fast with fq_codel in barrier breaker a year ago. fq_codel by default is essentially zero cost (64k per interface*hw queues) and the default in openwrt on all interfaces by default now... but the typical router cpus are so weak it is rare it kicks in except at 100mbit and below. (where it can be wonderful) - and it's on a rate limited (eg dsl or cable) system where it's most obviously useful. Presently. Lastly, I've been running a deployed babel mesh network for 2 years with fq_codel in it, 2 SSIDs per nanostation m5 and picostation, and it runs pretty good. Recent tests on the ubnt edgerouter went well, as well... Please give this stuff a shot. Your users will love it. -- Dave T=C3=A4ht NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_= indecent.article --=20 Dave T=C3=A4ht NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_= indecent.article