From: Jonathan Morton <chromatix99@gmail.com>
To: xnor <xnoreq@gmail.com>
Cc: "bloat@lists.bufferbloat.net" <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] Inaccurate rates with HTB/HFSC+fq_codel on router due to VLAN?
Date: Sat, 25 Mar 2017 02:10:45 +0200 [thread overview]
Message-ID: <09232135-222F-414A-8568-40E9BD1AF424@gmail.com> (raw)
In-Reply-To: <em5538e94f-b5ff-4449-bea7-33ce8c0a4d64@gaming>
> On 24 Mar, 2017, at 20:18, xnor <xnoreq@gmail.com> wrote:
>
> you haven't responded to the cake stats I'd sent you
Ah, sorry about that. I see them in the thread, but I must have missed them at the time.
You do indeed have a significant number of packet drops in each case, with the more significant numbers corresponding to more intensive use cases. This is reflected in the differences you quote between “in” ad “out” bandwidth used; the “out” rates are all consistent with the configured rate. Importantly, you also *don't* have any ECN-marked packets.
Unfortunately, this behaviour is a known limitation of shapers operating downstream of the actual bottleneck; they cannot control the queue as thoroughly as they could if placed upstream of it. The problem is sharply exacerbated when ECN is not used, since the only signalling mechanism is then to drop packets, but every dropped packet has already consumed time on the bottleneck link and is then not accounted for by the shaper.
You may get significantly better results from turning on ECN negotiation on your hosts. Most servers already accept ECN negotiation, but won’t initiate it. (Do we have an ECN tutorial on bufferbloat.net already?)
Your solution is an interesting one, but I have a better idea which I could reasonably implement in Cake: account for dropped packets, as well as delivered packets, when an “ingress mode” flag is set. This avoids having an inner control loop which, I’ve found, is always less accurate and takes longer to respond.
I’d be grateful if you could open an issue on Github regarding this “ingress mode” flag, as a reminder.
- Jonathan Morton
prev parent reply other threads:[~2017-03-25 0:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-16 22:14 xnor
[not found] ` <57A046A6-C0F2-4209-93E5-CA728F4C64EE@gmx.de>
2017-03-17 19:15 ` xnor
2017-03-17 19:22 ` Jonathan Morton
2017-03-17 20:11 ` Sebastian Moeller
2017-03-17 21:15 ` Eric Dumazet
2017-03-18 15:34 ` xnor
2017-03-18 15:46 ` Jonathan Morton
2017-03-24 18:18 ` xnor
2017-03-25 0:10 ` Jonathan Morton [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/bloat.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09232135-222F-414A-8568-40E9BD1AF424@gmail.com \
--to=chromatix99@gmail.com \
--cc=bloat@lists.bufferbloat.net \
--cc=xnoreq@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