Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: Cake List <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Possible conntrack lookup improvements
Date: Fri, 3 May 2019 14:32:04 +0000	[thread overview]
Message-ID: <96D6EC2B-C57B-450D-AC65-9D9526840D83@darbyshire-bryant.me.uk> (raw)
In-Reply-To: <87pnozhb2s.fsf@toke.dk>



> On 3 May 2019, at 15:22, Toke Høiland-Jørgensen <toke@redhat.com> wrote:
> 
> Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> writes:
> 
>> Hi Everyone,
>> 
>> I’ve been working on act_ctinfo toward getting that upstream and it is
>> getting closer. Since that module along with act_connmark does its own
>> conntrack lookups I’ve been looking at what they do and what we do in
>> cake.
>> 
>> Two patches attached - one is a simple variable elimination with no
>> functional change. The second changes/simplifies the conntrack tuple
>> lookup & usage. I’ve had a play and I don’t think I’ve broken any of
>> the host fairness BUT it could do with some more testing, that’s where
>> you come in… probably Pete & George :-)
> 
> Seems reasonable. But please fold these two patches into one; changing
> everything, then immediately changing it again does not help
> readability... And the explanation makes a lot more sense if you just
> change the whole thing in one patch :)
> 
> -Toke

Yeah, when I do the PR after testing confirms I haven’t totally screwed up host fairness in the process I’ll of course squash them together :-) The 1st patch is a no brainer, the second should be a no brainer but it needs more testing than I have given it.

I went down this path as a result of my act_ctinfo work which in the latest version is able to restore DSCP & skb->marks from conntrack.  I had an idea to restore the ct info as well, so CAKE didn’t have to do its ‘look harder’ lookup.  Then I noticed how cake sort of does the harder lookup backwards.


Cheers,

Kevin D-B

gpg: 012C ACB2 28C6 C53E 9775  9123 B3A2 389B 9DE2 334A


  reply	other threads:[~2019-05-03 14:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-03 13:55 Kevin Darbyshire-Bryant
2019-05-03 14:16 ` Jonathan Morton
2019-05-03 18:57   ` Kevin Darbyshire-Bryant
2019-05-03 19:13     ` Toke Høiland-Jørgensen
2019-05-03 19:23       ` Kevin Darbyshire-Bryant
2019-05-03 23:57         ` Kevin Darbyshire-Bryant
2019-05-03 14:22 ` Toke Høiland-Jørgensen
2019-05-03 14:32   ` Kevin Darbyshire-Bryant [this message]
2019-05-03 15:13     ` Toke Høiland-Jørgensen

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=96D6EC2B-C57B-450D-AC65-9D9526840D83@darbyshire-bryant.me.uk \
    --to=kevin@darbyshire-bryant.me.uk \
    --cc=cake@lists.bufferbloat.net \
    --cc=toke@redhat.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