From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (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 B02D221F245 for ; Tue, 24 Jun 2014 09:26:23 -0700 (PDT) Received: by mail-oa0-f44.google.com with SMTP id i7so620174oag.17 for ; Tue, 24 Jun 2014 09:26:22 -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 :cc:content-type:content-transfer-encoding; bh=PRzHWYGrPPkQ3IOTiDvAHqiZNSCnvsxvmT/FpDxZmH4=; b=YGqUiXnKI8l6tGmx+bHJT/Syksn1JbLIsdRwJ8nEwvYn36QHLZspYlQSg+TJ8+kTSa 20UEWPKgO1bW29t/2lQbS5YSdMw0EM8xYufqp7Xc662R6V4sTOIOZva4oiFg6RtTFofG 5R+VyxIwqyWnz4EunpCq/ZdkjVnQj6+tQhb9N4ixRNkK21W4UCSTJ2T3GvT4r19t2M9a IDHfecahJbXImD5UZOLzASNaH5LiiTRteUaboWlaRk4vV9ZdgJf1VirCfo56Ein5BR3j Btqe2XusJGJydlMPVWwYEqNyBrq5XZnVcBAwhMqmfqofLYpRMKJ34ptB6WYVjMmnjywd Ei7A== MIME-Version: 1.0 X-Received: by 10.182.95.68 with SMTP id di4mr1927471obb.87.1403627182681; Tue, 24 Jun 2014 09:26:22 -0700 (PDT) Received: by 10.202.48.200 with HTTP; Tue, 24 Jun 2014 09:26:22 -0700 (PDT) In-Reply-To: <1403616175.3478.731.camel@pc.interlinx.bc.ca> References: <1403616175.3478.731.camel@pc.interlinx.bc.ca> Date: Tue, 24 Jun 2014 09:26:22 -0700 Message-ID: From: Dave Taht To: "Brian J. Murrell" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:26:24 -0000 Well, if your provided rate is different from line rate on the up or down, you need to apply a rate shaper to the interface first, not just fq_codel alone. You have to make your device be the bottleneck in order to have control of the queue. openwrt has the qos-scripts and luci-app-qos packages OR cerowrt has the sqm-scripts and luci-app-sqm packages (and these install on top of regular openwrt) http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_SQM_for_CeroWrt= _310 A simple example of how htb is used in the above http://wiki.gentoo.org/wiki/Traffic_shaping On Tue, Jun 24, 2014 at 6:22 AM, Brian J. Murrell w= rote: > 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 3= 00 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 qua= ntum 300 target 5.0ms interval 100.0ms ecn > qdisc fq_codel 0: dev tun0 root refcnt 2 limit 1024p flows 1024 quantum 3= 00 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? > > Cheers, > b. > > > > _______________________________________________ > Codel mailing list > Codel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/codel > --=20 Dave T=C3=A4ht NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_= indecent.article