From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x22e.google.com (mail-qt0-x22e.google.com [IPv6:2607:f8b0:400d:c0d::22e]) (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 334253B2A4 for ; Sun, 29 Jan 2017 13:06:44 -0500 (EST) Received: by mail-qt0-x22e.google.com with SMTP id w20so118246240qtb.1 for ; Sun, 29 Jan 2017 10:06:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Wi3JOGFAZsf0plvvDLVSkdq70MYK3aMYJJy1qpLmb4o=; b=fPyK8j4TrV1nUMHxfRxz6V19OxvPZkYUmji9SFA77CIMB8dKLrOKbq9PNxrLueeAss 47qu9hADmrjNTf+4294Rtk6RQtIVbR90BCJmRC2ILnbqtRlRQAf25rKQGUdkTopJ+ziz 2ZB8cj4grPMh8bLlcIiuxsEgZx3v4dOJXazLdnkHJbFTzMx+DCEvDNycds87w4Pdd3Wo +gH0ZkE09zFIw99pQ/rk7K4PxN4oGruzVShb0ipYJ9S+7dgMHQiE2IemZMmNyTgaTerl ULRWIWPT54gw/BCypM9hyMggcBplGdabgnGxTrLF4QeV7uMZw6xirMhrFLhektpOdLXo bHgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Wi3JOGFAZsf0plvvDLVSkdq70MYK3aMYJJy1qpLmb4o=; b=MIu0jZ09JRkGai1jDX/Mz1Rbfnr5FwgXvoW2U7Ag5AoTsiGuWmGYT0eoW5XupEF9Xo dqr6TgAJlW60SnG5sO7zDq6ZpdDhu0cRSqMQiscTc35QFRXqu4bClcbfCPj9zN3FYQIB tO1CuTK91IFwuOYj5QfKO8X0lwLji84Pv66AHcGe0zHsfX0h6yh6Yuw8Vz73uZhP8gND W3RG9bb6qAKoRTGv81S+JZMvgS4W1havqPQfnqB6NuAPpISd8WwfM1jrikAgWxcJnxo/ gKI7ZHmrxtqa0QbGB9PxQiW2eHdtJG5JlpMFY1xYfAjT0ZSlKdZf/IWGqdbpGMx5GHMD 04aA== X-Gm-Message-State: AIkVDXKHg8bEENqIX2fd00LhIytmXzAFI8pHHWAp8U20dWR4udPDQt9KNiSGPvkPi954Kf2NKV4XyzcQSRYIZA== X-Received: by 10.200.0.193 with SMTP id d1mr16197415qtg.275.1485713203669; Sun, 29 Jan 2017 10:06:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.142.132 with HTTP; Sun, 29 Jan 2017 10:06:43 -0800 (PST) In-Reply-To: References: <3F74504E-B709-4E0C-926B-40923245B493@gmail.com> From: Dave Taht Date: Sun, 29 Jan 2017 10:06:43 -0800 Message-ID: To: Kristian Kielhofner Cc: Jonathan Morton , bloat Content-Type: text/plain; charset=UTF-8 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 18:06:44 -0000 On Sun, Jan 29, 2017 at 9:48 AM, Kristian Kielhofner wr= ote: > On Sun, Jan 29, 2017 at 12:42 PM, Dave Taht wrote: >> tc should not be showing ?diffserv? >> >> did you pull your tc from here? https://github.com/dtaht/tc-adv - >> fixed this yesterday, or so I thought. >> >> Also: I just refreshed iproute to head and rebased - (I needed working >> ra expires support, and it's long past time we updated - regrettably >> lede is on 4.4, can't change that, there). It's generally safe to be >> running a later iproute2 than the kernel you have. >> >> https://github.com/dtaht/iproute2-head-cake >> > > Now: > > UP: > qdisc cake 8003: root refcnt 9 bandwidth 22Mbit diffserv3 > triple-isolate rtt 100.0ms raw > Sent 12868692 bytes 8521 pkt (dropped 0, overlimits 10941 requeues 0) > backlog 7570b 5p requeues 0 > memory used: 44320b of 4Mb > capacity estimate: 22Mbit > Bulk Best Effort Voice > thresh 1375Kbit 22Mbit 5500Kbit > target 13.2ms 5.0ms 5.0ms > interval 108.2ms 100.0ms 10.0ms > pk_delay 0us 7.0ms 0us > av_delay 0us 2.7ms 0us > sp_delay 0us 465us 0us > pkts 0 8530 1 > bytes 0 12883790 42 > way_inds 0 0 0 > way_miss 0 10 1 > way_cols 0 0 0 > drops 0 0 0 > marks 0 0 0 > sp_flows 0 0 0 > bk_flows 0 1 0 > un_flows 0 0 0 > max_len 0 10598 42 > > qdisc ingress ffff: parent ffff:fff1 ---------------- > Sent 264453 bytes 4795 pkt (dropped 0, overlimits 0 requeues 0) > backlog 0b 0p requeues 0 Groovy. I thought you were "Mr. VOIP"? While the default fq scheme works really well in cake, if you test marking packets as voip (EF, CS4,CS6,CS7,VA), it will end up in the diffserv3 voice queue. asterisk used to have an encapsulating protocol called iax2, which generated a single flow as backhaul - is that still deployed? We have a tool in flent based on dit-itg to test this. It's a bit painful to setup the first time. I've longed to have a full asterisk/freeswitch/jitsy test setup to look harder at voip/video characteristics. There are also now several as yet underdocumented options in cake: "nat" will look at flows before they are natted so as to isolate them bette= r. When combined with the dual-dsthost or dual-srchost option (depending on traffic direction) that gives you per host fq, along with per-flow fq. (nat triple-isolate should also do this but we're still sorting out a bug on that: https://github.com/dtaht/sch_cake/issues/46 ) wash: washes out dscp markings. Helpful when your provider (:cough: comcast) remarks nearly all traffic to CS1. I just found that appear.in is using the new "goog" marker, which marks all videoconferencing traffic as AF41, which is more or less appropriately handled in the "diffserv4" model. In general I have always had good results with the simplest (besteffort or diffserv3) settings. There's also new support for a docsis mode using the new "mpu" idea. https://github.com/dtaht/sch_cake/pull/45 > > DOWN: > qdisc cake 8004: root refcnt 2 bandwidth 130Mbit besteffort > triple-isolate rtt 100.0ms raw > Sent 331715 bytes 4797 pkt (dropped 0, overlimits 610 requeues 0) > backlog 0b 0p requeues 0 > memory used: 1792b of 6500000b > capacity estimate: 130Mbit > Tin 0 > thresh 130Mbit > target 5.0ms > interval 100.0ms > pk_delay 13us > av_delay 1us > sp_delay 0us > pkts 4797 > bytes 331715 > way_inds 0 > way_miss 9 > way_cols 0 > drops 0 > marks 0 > sp_flows 0 > bk_flows 1 > un_flows 0 > max_len 198 Blow it up. Tell us what happens. :) > > -- > Kristian Kielhofner --=20 Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! http://blog.cerowrt.org