From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (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 9CFB3201B88 for ; Tue, 24 Jun 2014 09:11:54 -0700 (PDT) Received: by mail-wi0-f179.google.com with SMTP id cc10so951900wib.12 for ; Tue, 24 Jun 2014 09:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; bh=dTRs9s+3RFdNgBTgAfEZZBsPJaF7jEUm06dRIvnZxsY=; b=POK4MOWtZoSKce5bXMUlltJ//X6u6GeSYjw830q3WBCBnz39/iiuPNratX2qr+T2Zo pZ6zxhcTcmZkmlDymyoyZS9rxP3mQX13tNV//VeXdb9YpIb4LLfckL3v9mdkme4l/l8c wxNaOLAFtmrT08mPa0L8Cljbe8Q9qR5oNPjVBm9IEmFoGrs/ZCTy9ldbt8IfDY52HdWI 6RbOzR5p2awuRpOb413alnjauwxOC4NKoxXy+Wfr1r1VVYXrBmjhhVPstNyLubyjwF+P tzMubjFOouZSr3aWYF8+/H8wZ00FXUGxUR5guH/v69yotiRZW1ny/b93b7ORRVpol2bv PE6A== X-Received: by 10.195.11.132 with SMTP id ei4mr2455090wjd.95.1403626309344; Tue, 24 Jun 2014 09:11:49 -0700 (PDT) Received: from [172.28.91.71] ([172.28.91.71]) by mx.google.com with ESMTPSA id gi7sm44459270wib.1.2014.06.24.09.11.47 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 24 Jun 2014 09:11:48 -0700 (PDT) Message-ID: <1403626306.3796.19.camel@edumazet-glaptop2.roam.corp.google.com> From: Eric Dumazet To: "Brian J. Murrell" Date: Tue, 24 Jun 2014 09:11:46 -0700 In-Reply-To: <1403616175.3478.731.camel@pc.interlinx.bc.ca> References: <1403616175.3478.731.camel@pc.interlinx.bc.ca> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Cc: codel@lists.bufferbloat.net Subject: Re: [Codel] what am i doing wrong? why isn't codel working? X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 16:11:55 -0000 On Tue, 2014-06-24 at 09:22 -0400, Brian J. Murrell wrote: > Hi all, > > I've upgraded my router to OpenWRT Breaker Barrier r41163 which has > kernel 3.10.36 in it. I was pleased to see that codel appears (to my > very newbie eyes) to be default on what should be the > "fast->slow" (where bufferbloat happens) interfaces: > > qdisc fq_codel 0: dev eth0 root refcnt 2 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn > qdisc mq 0: dev wlan1 root > qdisc mq 0: dev wlan0 root > qdisc fq_codel 0: dev pppoe-wan1 root refcnt 2 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn > qdisc fq_codel 0: dev tun0 root refcnt 2 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn > > So first thing to notice is that this router has two WAN interfaces but > only one of them (pppoe-wan1) has had codel applied. The other WAN > interface (eth0.2) is not even listed. > > So off I go to experiment with the WAN interface that does have codel > applied... > > So I do the saturate-and-ping test through pppoe-wan1 and ping times go > from ~12ms to ~1200ms, while saturating the upstream so clearly codel is > not working there. > > What am I doing wrong? Maybe queue builds after the qdisc. ethtool eth0 ethtool -g eth0