From: "Justin Kilpatrick" <justin@althea.net>
To: "Jonathan Morton" <chromatix99@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] Fighting bloat in the face of uncertinty
Date: Sat, 07 Sep 2019 20:03:50 -0400 [thread overview]
Message-ID: <9a90111b-2389-4dc6-8409-18c40f895540@www.fastmail.com> (raw)
In-Reply-To: <E0C914DE-893D-4B14-9179-F10EB595DE0C@gmail.com>
Sadly this isn't a driver, its a point to point wireless device that often seems designed to introduce bloat. I could probably ssh in and configure it to behave properly but that's not very scalable.
Underestimating link capacity dramatically isn't an option as no matter how buttery smooth the experience people still crave those high speedtest numbers.
> In fact I'm unsure as to why changing the AQM parameters would cure it.
> You may have benefited from an unintentional second-order effect which
> we normally try to eliminate, when the 'target' parameter gets too
> close to the CPU scheduling latency of the kernel.
So you believe that setting the target RTT closer to the path latency was not the main contributor to reducing bloat? Is there a configuration I could use to demonstrate that one way or the other?
--
Justin Kilpatrick
justin@althea.net
On Sat, Sep 7, 2019, at 7:42 PM, Jonathan Morton wrote:
> > On 8 Sep, 2019, at 2:31 am, Justin Kilpatrick <justin@althea.net> wrote:
> >
> > If I set a throughput that's 50% too high should it still help? In my testing it didn't seem to.
>
> In that case you would be relying on backpressure from the network
> interface to cause queuing to actually occur in Cake rather than in the
> driver or hardware (which would almost certainly be a dumb FIFO). If
> the driver doesn't implement BQL, that would easily explain 300ms of
> bloat.
>
> In fact I'm unsure as to why changing the AQM parameters would cure it.
> You may have benefited from an unintentional second-order effect which
> we normally try to eliminate, when the 'target' parameter gets too
> close to the CPU scheduling latency of the kernel.
>
> I generally find it's better to *underestimate* the bandwidth parameter
> by 50% than the reverse, simply to keep the queue out of the dumb
> hardware. But if you want to try implementing BQL in the relevant
> drivers, go ahead.
>
> - Jonathan Morton
next prev parent reply other threads:[~2019-09-08 0:04 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-07 22:42 Justin Kilpatrick
2019-09-07 23:09 ` Jonathan Morton
2019-09-07 23:31 ` Justin Kilpatrick
2019-09-07 23:42 ` Jonathan Morton
2019-09-08 0:03 ` Justin Kilpatrick [this message]
2019-09-08 0:59 ` Jonathan Morton
2019-09-08 14:29 ` Justin Kilpatrick
2019-09-08 17:27 ` Jonathan Morton
2019-09-16 10:21 ` [Cake] cake memory consumption Sebastian Gottschall
2019-09-16 12:00 ` Dave Taht
2019-09-16 12:51 ` Dave Taht
2019-09-16 13:31 ` Sebastian Gottschall
2019-09-16 13:22 ` Sebastian Gottschall
2019-09-16 13:28 ` Justin Kilpatrick
2019-09-16 13:39 ` Jonathan Morton
2019-09-16 13:54 ` Sebastian Gottschall
2019-09-16 14:06 ` Jonathan Morton
2019-09-17 5:10 ` Sebastian Gottschall
2019-09-16 13:47 ` Sebastian Gottschall
2019-09-16 12:08 ` Toke Høiland-Jørgensen
2019-09-16 13:25 ` Sebastian Gottschall
2019-09-16 14:01 ` Toke Høiland-Jørgensen
2019-09-17 5:06 ` Sebastian Gottschall
2019-09-17 5:21 ` Sebastian Gottschall
2019-09-17 5:31 ` Sebastian Gottschall
2019-09-17 9:21 ` Jonathan Morton
2019-09-17 9:55 ` Sebastian Gottschall
2019-09-17 5:33 ` Sebastian Gottschall
2019-09-17 9:40 ` Toke Høiland-Jørgensen
2019-09-18 7:19 ` Sebastian Gottschall
2019-09-18 9:53 ` Toke Høiland-Jørgensen
2019-09-18 9:57 ` Sebastian Gottschall
2019-09-18 10:22 ` Toke Høiland-Jørgensen
2019-10-03 17:52 ` [Cake] Fighting bloat in the face of uncertinty Justin Kilpatrick
2019-10-03 18:41 ` Dave Taht
2019-10-03 19:04 ` Jonathan Morton
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=9a90111b-2389-4dc6-8409-18c40f895540@www.fastmail.com \
--to=justin@althea.net \
--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