From: Jonathan Morton <chromatix99@gmail.com>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>,
cake@lists.bufferbloat.net, make-wifi-fast@lists.bufferbloat.net,
WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: [Cake] WireGuard Queuing, Bufferbloat, Performance, Latency, and related issues
Date: Wed, 5 Oct 2016 17:21:54 +0300 [thread overview]
Message-ID: <C02B0F30-D367-42D7-9E22-C32468AED629@gmail.com> (raw)
In-Reply-To: <87oa2y6gma.fsf@toke.dk>
> On 5 Oct, 2016, at 16:59, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>
> UDP floods are a concern, of
> course, but CoDel doesn't deal well with those at all, so you'd probably
> want a different mechanism for that.
Cake happens to have addressed the UDP flood problem by combining Codel with BLUE. I call the combination COBALT. BLUE acts on a percentage-drop basis, which makes it much better at handling unbounded flood traffic compared to Codel’s drops-per-second basis.
The way BLUE works means that it doesn’t kick in until Codel has demonstrated complete inability to control the flow, which usually means it’s an “unresponsive” flow (ie. it doesn’t respect normal congestion control signals). The two therefore work together very naturally.
It would also be reasonable to have the packet drops associated with BLUE at enqueue time (ie. at the tail of the queue), so that they do not occupy encryption bandwidth needlessly. Codel could still act at the queue head, which is the best position to send congestion signals from. Cake doesn’t split the actions like that, but it doesn’t have a particular need to.
I think it’s definitely a good idea to have separate Codel (and BLUE) state per flow, which means they *do* need to be disambiguated at the place the drops occur. Putting the queue ID in the cb along with the enqueue time seems like a sensible way to do it. This would mean that sparse flows both don’t get signalled to unnecessarily, and don’t disrupt the sojourn-time pattern of bulk flows.
- Jonathan Morton
next prev parent reply other threads:[~2016-10-05 14:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-30 23:21 Jason A. Donenfeld
2016-10-01 11:51 ` Toke Høiland-Jørgensen
2016-10-01 15:40 ` Dave Taht
2016-10-01 15:51 ` Toke Høiland-Jørgensen
2016-10-01 17:19 ` Dave Taht
2016-10-01 17:28 ` Toke Høiland-Jørgensen
2016-10-01 22:44 ` Jason A. Donenfeld
2016-10-01 23:40 ` Toke Høiland-Jørgensen
2016-10-02 2:25 ` Jason A. Donenfeld
2016-10-02 2:40 ` Jason A. Donenfeld
2016-10-02 11:31 ` Toke Høiland-Jørgensen
2016-10-05 12:39 ` Jason A. Donenfeld
2016-10-05 13:59 ` Toke Høiland-Jørgensen
2016-10-05 14:21 ` Jonathan Morton [this message]
[not found] <CAHmME9pT3wYc=zCm7XcBcgnsT2pDrNWQZpS95+d=GoPPQLa5VQ@mail.gmail.com>
2016-09-30 19:18 ` Dave Taht
2016-09-30 20:12 ` Jason A. Donenfeld
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=C02B0F30-D367-42D7-9E22-C32468AED629@gmail.com \
--to=chromatix99@gmail.com \
--cc=Jason@zx2c4.com \
--cc=cake@lists.bufferbloat.net \
--cc=make-wifi-fast@lists.bufferbloat.net \
--cc=toke@toke.dk \
--cc=wireguard@lists.zx2c4.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