From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (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 3F4503B29E for ; Thu, 6 Apr 2017 06:27:02 -0400 (EDT) Received: by mail-wr0-x235.google.com with SMTP id t20so54531163wra.1 for ; Thu, 06 Apr 2017 03:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=FNv7VG0jZP/hNklLVNRyHlLzcRj2HwkkgrzhfYQlZ6s=; b=spsEW7jj5LNgn2Xa33rAsrloamYZG8rCjtDxVy2oT3coZeNhApVVizs9YQPweeka23 oU6JO9Q7pKI6/tg9XBWr1w6+up4FsFMZvUck74LKc36B3PGg8yCB+x3LEygcT9izc+RU WdY7O04S41xt+KJJ1s0QybXqQ+b+tKOhFn1i9dabYnCzIYe67OdOVEqQIr0K/q3T8qkx 22/H8CEtHeR60/9wyjpblMCES6ZnjW78KxNLXzIYYCyDEoOJ6WANbn9ugLNT1YDBTN2g 1a3Y6cGdRIhctH62u0ZoHnmcMrLYpPAED4cO/rP5s3yZvNsEBIY23bbhoag5HSsJr7eh MTvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=FNv7VG0jZP/hNklLVNRyHlLzcRj2HwkkgrzhfYQlZ6s=; b=VeCyPnrTDmGlrJcwb9IIipfctc1P7CrMbdheqzFUM/jJ7Hz+i9QeHUZrffA+oTkeec FjjJDsHTMAZ6BVV+2TJySl2JVPCov+uubKOq6UfyAKYKoZogJ5dNEbvr3SYjINvb+MuL ctwfRk8tdhesjxy2BaTBCfH4a/qIEU0mKdthxot7dtWRmlhIm4CRGrXd+vEgq/vS/gU6 /Yww77DgHN0wuIIDPlhnmL6IU6UEiSBd1p6bTkpYoacj4hEgG+MqIHJc5WtV9nBhW1fA yA6ugBGs+Viw7VTz/LQxu8Ba0XenXSkGlKBNeGUHgDY638svAwqHfywJ3nSqE7T3qXcl EDyA== X-Gm-Message-State: AFeK/H3hzG+D1wnN4H4BRLRFDznos0UhfsZBklcGsCmVBIlCVJd6esFGx/n3OaBA0MqawQ== X-Received: by 10.223.143.107 with SMTP id p98mr12714050wrb.3.1491474421298; Thu, 06 Apr 2017 03:27:01 -0700 (PDT) Received: from [10.72.0.130] (h-1169.lbcfree.net. [185.99.119.68]) by smtp.gmail.com with ESMTPSA id b66sm1577004wrd.29.2017.04.06.03.27.00 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 03:27:00 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_4A469310-CE9E-4574-8A31-DEDF32F005E7" Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Pete Heist In-Reply-To: <87ziftubgy.fsf@alrua-kau> Date: Thu, 6 Apr 2017 12:26:59 +0200 Cc: cake@lists.bufferbloat.net Message-Id: <8E96329F-A57D-49C7-A7EE-60BD165B4D5C@gmail.com> References: <2FD59D30-3102-4A3E-A38E-050E438DABF0@gmail.com> <87ziftubgy.fsf@alrua-kau> To: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= X-Mailer: Apple Mail (2.3124) Subject: Re: [Cake] flow isolation for ISPs X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 10:27:02 -0000 --Apple-Mail=_4A469310-CE9E-4574-8A31-DEDF32F005E7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Apr 6, 2017, at 11:33 AM, Toke H=C3=B8iland-J=C3=B8rgensen = wrote: >=20 > Once upon a time I implemented something like this; it was basically a > PHP script that would generate an HTB bucket (with sfq as leaf qdisc; > this was pre-fq_codel) per subscriber ID and use tc filter to map the > list of IPs registered to that customer into the right bucket. The HTB > shaper was used to enforce the bandwidth each customer was paying for. >=20 > Did it work? Yup, mostly. Was it ugly? Oh boy, yes! Oh my, ok, so it is possible. It can take a while to apply many qdiscs = and filters on lower end devices, so I picture some delay while = modifying the list or restarting the routers, but I=E2=80=99m just = exploring options now, so it is one. > The fq_codel qdisc does have support for arbitrary tc filters to = replace > the default hashing, BTW. If you don't need the cake shaper, that = might > be a solution? I see, I found mention of it in Chapter 6 of a draft RFC that it looks = like you wrote, actually = (https://tools.ietf.org/html/draft-ietf-aqm-fq-codel-06#section-6 = ). :) To try it = out, am I heading the right direction by looking at tc filter=E2=80=99s = skbedit action, or is that just for MQ devices? = (http://man7.org/linux/man-pages/man8/tc-skbedit.8.html = ) I also saw this mention of =E2=80=9CWe are not aware of any deployments = utilising the custom classification feature" = https://tools.ietf.org/html/draft-ietf-aqm-fq-codel-02#section-5.1.1 = , = so not sure how often this has been tried. :) Cake is not a requirement yet. I like it for several of its attributes = (good performance with high numbers of flows, and also when = =E2=80=9Cover-limiting=E2=80=9D, which I=E2=80=99ll explain more in my = next round of point-to-point WiFi results).= --Apple-Mail=_4A469310-CE9E-4574-8A31-DEDF32F005E7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Apr 6, 2017, at 11:33 AM, Toke H=C3=B8iland-J=C3=B8rgensen = <toke@toke.dk> = wrote:

Once upon a time I implemented something = like this; it was basically a
PHP script that would generate an HTB = bucket (with sfq as leaf qdisc;
this was pre-fq_codel) per subscriber ID = and use tc filter to map the
list of IPs registered to that customer = into the right bucket. The HTB
shaper was used to enforce the bandwidth = each customer was paying for.

Did it work? Yup, mostly. Was it ugly? Oh boy, = yes!

Oh my, ok, = so it is possible. It can take a while to apply many qdiscs and filters = on lower end devices, so I picture some delay while modifying the list = or restarting the routers, but I=E2=80=99m just exploring options now, = so it is one.

The fq_codel qdisc does = have support for arbitrary tc filters to replace
the default = hashing, BTW. If you don't need the cake shaper, that might
be a = solution?

I see, I found mention of it in Chapter = 6 of a draft RFC that it looks like you wrote, actually (https://tools.ietf.org/html/draft-ietf-aqm-fq-codel-06#section-= 6). :) To try it out, am I heading the right direction by looking at = tc filter=E2=80=99s skbedit action, or is that just for MQ devices? (http://man7.org/linux/man-pages/man8/tc-skbedit.8.html)

I also saw this = mention of =E2=80=9CWe are not aware of any deployments utilising the = custom classification feature" https://tools.ietf.org/html/draft-ietf-aqm-fq-codel-02#section-= 5.1.1, so not sure how often this has been tried. :)

Cake is not a requirement yet. I like it for = several of its attributes (good performance with high numbers of flows, = and also when =E2=80=9Cover-limiting=E2=80=9D, which I=E2=80=99ll = explain more in my next round of point-to-point WiFi = results).
= --Apple-Mail=_4A469310-CE9E-4574-8A31-DEDF32F005E7--