Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Jonathan Morton <chromatix99@gmail.com>
Cc: Benjamin Cronce <bcronce@gmail.com>, cake@lists.bufferbloat.net
Subject: Re: [Cake] [lede-project/source] Add support for cake qdisc (#72)
Date: Wed, 1 Jun 2016 08:26:17 -0700	[thread overview]
Message-ID: <CAA93jw4Ht0eUVu=DnepfUrwo1k5Wxger9fvgo8Z9wj6Jn-vD0g@mail.gmail.com> (raw)
In-Reply-To: <54AE2960-D312-479D-8411-96993F087EF7@gmail.com>

My take on it was doing it in iptables was inefficient, error prone,
and slow. Interfacing to other people's iptables implementations was
and remains especially error prone.

My view has always been that iptables should be used mostly for firewall rules.

I had also had delusions of being able to apply this code and user
facing to other OSes like BSD, which lack iptables, per se'.

I further had delusions of ultimately replacing tc_mirred with
something that could do it as directly part of the ingress qdisc,
where I hoped it would speed up by lot by avoiding a copy.

as for the dscp re-writing issue, by all means, if you want to rewrite
it further than 0, do it with other, custom rules, which eliminates
the api issue jonathon mentioned, after rewriting it to 0, and after
nat is translated. We need better iptables functionality to do dscp
more right in the first place.

Am I the only one whose ISP (comcast) remarks all non-best effort
traffic as background?


On Wed, Jun 1, 2016 at 6:51 AM, Jonathan Morton <chromatix99@gmail.com> wrote:
>
>> On 1 Jun, 2016, at 15:25, Benjamin Cronce <bcronce@gmail.com> wrote:
>>
>> 1) Ideally, regardless of platform, should an AQM or scheduler have the responsibility of changing anything other than ECN?
>
> This was in part my original objection to having the squash/wash feature in Cake.
>
> The other part is that if we are going to rewrite the rest of the TOS byte (not just the ECN bits), then we should do it properly, which requires a rather substantial extension to the configuration API, even if we only try to cover the most obvious use-cases.
>
> This would then be a “semi proprietary” DSCP configurator, acting independently of Cake’s core AQM and shaping functions, which would have to be duplicated in other AQMs which had similar aims to Cake.  That’s not a good thing, and feeds back into the first point.
>
> Hence the correct solution is to put DSCP rewriting elsewhere, making it reusable.
>
> In Linux, doing ingress DSCP rewriting before it hits the ingress qdisc presently requires the rewriter itself to be a qdisc, but this can have Cake as a child qdisc.  For the simple “clearing” case iptables can be used instead, as long as Cake is configured to ignore the inbound DSCP using the “besteffort” flag.
>
>  - Jonathan Morton
>
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake



-- 
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org

      parent reply	other threads:[~2016-06-01 15:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <lede-project/source/pull/72@github.com>
     [not found] ` <lede-project/source/pull/72/c222782884@github.com>
2016-06-01 10:02   ` Kevin Darbyshire-Bryant
2016-06-01 10:13     ` Dave Täht
2016-06-01 10:20       ` Kevin Darbyshire-Bryant
2016-06-01 10:52         ` moeller0
2016-06-01 11:20           ` Toke Høiland-Jørgensen
2016-06-01 11:41             ` moeller0
2016-06-01 11:47               ` Kevin Darbyshire-Bryant
2016-06-01 11:57                 ` Sebastian Moeller
2016-06-01 12:25                   ` Benjamin Cronce
2016-06-01 13:09                     ` Kevin Darbyshire-Bryant
2016-06-01 13:51                     ` Jonathan Morton
2016-06-01 15:19                       ` moeller0
2016-06-01 20:22                         ` David Lang
2016-06-01 15:26                       ` Dave Taht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA93jw4Ht0eUVu=DnepfUrwo1k5Wxger9fvgo8Z9wj6Jn-vD0g@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=bcronce@gmail.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox