From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nm12-vm6.bullet.mail.ir2.yahoo.com (nm12-vm6.bullet.mail.ir2.yahoo.com [212.82.96.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 12AA93BA8D for ; Sat, 28 Jan 2017 23:51:48 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1485665507; bh=zPEsOMlviIBP4ZjjOdvbyCHISSNQRWTHbLtwv77V5B8=; h=Subject:From:To:Date:In-Reply-To:References:From:Subject; b=C8kYB0xPk+d94FVMaVPom1DrO6gm1yrXb0WI8K+PMO49un8eLX5Abj3Uv626FGFfGSD1ewOOx+xjaW8uuHFpecpuvGdS0RGeLKPmd40ghRKiStqirV1jIqdrMwu1kIz/Cjj1PxtgaUJtwjAMuUnqEHM/9kksJ81705g92q8IRiCu5OwQl+guWgrCq54FN1sLwDavJD/8yrWtlEBN5aQd4xAgYqBUbm4COIEmZgJQyp2pmtW566e1BUtvZWXMs0jbHrLMKhvmLPSKKEzeu8BvB3DHxvZVZA7W9fJCmHL05i0JF5xhoquZXKNxoTzgggxgH4i5xZb6r2GvvXcG103nIw== Received: from [212.82.98.63] by nm12.bullet.mail.ir2.yahoo.com with NNFMP; 29 Jan 2017 04:51:47 -0000 Received: from [46.228.39.102] by tm16.bullet.mail.ir2.yahoo.com with NNFMP; 29 Jan 2017 04:51:47 -0000 Received: from [127.0.0.1] by smtp139.mail.ir2.yahoo.com with NNFMP; 29 Jan 2017 04:51:47 -0000 X-Yahoo-Newman-Id: 825879.17175.bm@smtp139.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: gvYFjncVM1lHj74qNk_8iptdsTzdRfWdRekNkUjFtx6jCkh AXySGvUyw0kWburOwZ_cTmovj29Bs2DpWF0xdkYSy3m6u0N8Q2Oh_KrDWKis WQlc9SrWJmkrKlqEekLha5e85_kl8y28thJjb9l.hv6J0_8GdEjvAwDelpc8 tEJZ1l9AF1dz5PJ6tv7aKMWzJ0XXD9UbbiGgIyiR5mj0LwRm3eWHPlbgjQPr i3TiZyu7.KevreoLSr0L_J8csmy4ysOLJk6JKlJKbv_wVZAVzlpzXBKj7Pvm jEmlg5dIqc2KNE.kpOIj9KMkS31cn7RkMyNhB5aF_v4LGLrkiPhibxtmDhjS Cr8OnhMrSQcoG.Cf72fHIj0uQoT7d5N53Hz_jGBO1OPuz6Qn4BE4E6lzlRnx Xp3Fb45.C9GHUTPlqnyibN9HuPwQONfiJpjiu0xnPBxdWrlS2Qs16TmXV.Wq AhY6BuqAB8ZzR0O5mQPiPLcszOo74UHhdL7CM1SiMycBqQI6XKa_sHu7yWWp HM9ZkR9387dP1nWwIsZ1HBckCzlWEQo.D6tL6xQ1WHgV6e5o7.icdTb6wYuZ emjn2bKtoBl.zI5p0kNKsgvo- X-Yahoo-SMTP: R8REcOaswBA8tpUVQfvLNOMJ0vXRwYHSeLQ- Message-ID: <1485665503.12440.1.camel@yahoo.fr> From: Y To: bloat@lists.bufferbloat.net Date: Sun, 29 Jan 2017 13:51:43 +0900 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Bloat] Cake "out of tree" on Debian X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 04:51:49 -0000 Hi,all. Did you install cake qdisc to Debian 8.7 as usual? I can not at follow debian.=20 Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1 (2016-12-30) i686 GNU/Linux Yuta. 2017-01-28 (=E5=9C=9F) =E3=81=AE 21:48 -0500 =E3=81=AB Kristian Kielhofner = =E3=81=95=E3=82=93=E3=81=AF=E6=9B=B8=E3=81=8D=E3=81=BE=E3=81=97=E3=81=9F: > Hello All, >=20 > Having enjoyed great success with codel in various places I'm > finally getting around to dipping my toes in the water with Cake. >=20 > Router in this case is a Debian 8.7 machine running the provided > 3.16.0-4-amd64 kernel. Following the instructions here: >=20 > https://www.bufferbloat.net/projects/codel/wiki/Cake/#installing-cake-out= -of-tree-on-linux >=20 > I wrote myself a quick and dirty script: >=20 > #!/bin/bash >=20 > WAN=3D"eth2" > DOWN=3D"117mbit" > UP=3D"22mbit" >=20 > if [ -n "$1" ]; then > echo "DOWN:" > tc -s qdisc show dev "$WAN" > echo > echo "UP:" > tc -s qdisc show dev ifb4"$WAN" > exit > fi >=20 > tc qdisc del dev "$WAN" root > tc qdisc del dev ifb4"$WAN" root >=20 > modprobe sch_cake > modprobe act_mirred > modprobe ifb > tc qdisc add dev "$WAN" root cake bandwidth "$DOWN" >=20 > ip link add name ifb4"$WAN" type ifb > tc qdisc del dev "$WAN" ingress > tc qdisc add dev "$WAN" handle ffff: ingress > tc qdisc del dev ifb4"$WAN" root > tc qdisc add dev ifb4"$WAN" root cake bandwidth "$UP" besteffort > ifconfig ifb4"$WAN" up >=20 > tc filter add dev "$WAN" parent ffff: protocol all prio 10 u32 match > u32 0 0 flowid 1:1 action mirred egress redirect dev ifb4"$WAN" >=20 > status shows: >=20 > DOWN: > qdisc cake 8003: root refcnt 9 bandwidth 117Mbit (?diffserv?) > triple-isolate rtt 100.0ms noatm overhead 14 > Sent 6280 bytes 27 pkt (dropped 0, overlimits 4 requeues 0) > backlog 0b 0p requeues 0 > memory used: 4736b of 5850000b > capacity estimate: 117Mbit > Tin 0 Tin 1 Tin 2 > thresh 7312Kbit 117Mbit 29250Kbit > target 5.0ms 5.0ms 5.0ms > interval 100.0ms 100.0ms 10.0ms > Pk-delay 0us 86us 0us > Av-delay 0us 1us 0us > Sp-delay 0us 0us 0us > pkts 0 27 0 > bytes 0 6280 0 > way-inds 0 0 0 > way-miss 0 5 0 > way-cols 0 0 0 > drops 0 0 0 > marks 0 0 0 > Sp-flows 0 1 0 > Bk-flows 0 1 0 > last-len 0 0 0 > max-len 0 1412 0 >=20 > qdisc ingress ffff: parent ffff:fff1 ---------------- > Sent 31023 bytes 32 pkt (dropped 0, overlimits 0 requeues 0) > backlog 0b 0p requeues 0 >=20 > UP: > qdisc cake 8004: root refcnt 2 bandwidth 22Mbit besteffort > triple-isolate rtt 100.0ms noatm overhead 14 > Sent 29861 bytes 30 pkt (dropped 1, overlimits 42 requeues 0) > backlog 0b 0p requeues 0 > memory used: 53888b of 4Mb > capacity estimate: 22Mbit > Tin 0 > thresh 22Mbit > target 5.0ms > interval 100.0ms > Pk-delay 6.9ms > Av-delay 349us > Sp-delay 198us > pkts 31 > bytes 31273 > way-inds 0 > way-miss 4 > way-cols 0 > drops 1 > marks 0 > Sp-flows 1 > Bk-flows 1 > last-len 0 > max-len 1412 >=20 > From what I've tested to far everything works exactly as expected > (upstream throughput, downstream throughput, etc) until the last line. > When the egress traffic is redirected through the IFB device test > downstream drops to the same rate specified by upstream. >=20 > Hardware is Rangeley C2758, eth2 is an Intel I354 using Debian > provided igb. What am I missing here? >=20 > Thanks! >=20