From: Dave Taht <dave.taht@gmail.com>
To: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] Running Cake at long RTTs
Date: Fri, 30 Oct 2015 17:34:12 -0400 [thread overview]
Message-ID: <CAA93jw7H9CTVV1QzHkVKogSgftDcdBGNh3RDS3q1Fi4Uvqa7ag@mail.gmail.com> (raw)
In-Reply-To: <5632591A.5040403@darbyshire-bryant.me.uk>
Good spot, thx!
Dave Täht
I just invested five years of my life to making wifi better. And,
now... the FCC wants to make my work, illegal for people to install.
https://www.gofundme.com/savewifi
On Thu, Oct 29, 2015 at 1:36 PM, Kevin Darbyshire-Bryant
<kevin@darbyshire-bryant.me.uk> wrote:
>
>
> On 27/10/15 15:14, Toke Høiland-Jørgensen wrote:
>> So Dave and I did a bit of testing of Cake at a 1-second base RTT. That
>> showed that, compared with a straight FIFO queue (with a sufficiently
>> large buffer), throughput was suffering quite a bit under Cake,
>> especially at large bandwidths. We did two changes to fix this:
>>
>> - Turn the hard packet queue size into a lower bound rather than an
>> upper bound.
>>
>> - Scale the target to be 1/16th of the interval.
>>
>> The first change allows Cake to actually reach the target throughput,
>> but it still takes a long while to get there. With the second change, we
>> actually get the desired behaviour. The attached plot shows the
>> difference, with the solid line being before the change and the dashed
>> line being after the change.
>>
>> Patch attached.
>>
>> -Toke
>
> That patch is really going to behave strangely indeed. You end up with
> b->cparams.interval = max(rtt_est_ns + b->cparams.target -
> ns_target,b->cparams.target * 8);
> b->cparams.target = max(max(byte_target_ns, ns_target),
> b->cparams.interval >> 4);
>
> So interval no matter what happens takes note of 'cparams.target' which
> hasn't yet been set (on first run is 0)
> And target wants to take interval/16, which may be based on the previous
> calculation. Erm. Needs more thought.
>
> My brain isn't working at the moment due to illness, but recursively
> playing with bandwidth settings on cake is most entertaining at the
> moment ;-)
>
> Kevin (dead with cold/high as a kite on cold drugs)
>
>
>
>
>
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
>
prev parent reply other threads:[~2015-10-30 21:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-27 15:14 Toke Høiland-Jørgensen
2015-10-27 15:16 ` Loganaden Velvindron
[not found] ` <6499FF74-D13B-4B2E-90E3-D1FDD3FD1468@gmx.de>
2015-10-27 16:50 ` Toke Høiland-Jørgensen
2015-10-27 17:14 ` Sebastian Moeller
2015-10-27 19:04 ` Jonathan Morton
2015-10-27 23:57 ` Toke Høiland-Jørgensen
2015-10-28 9:36 ` Sebastian Moeller
2015-10-28 15:28 ` Sebastian Moeller
2015-10-28 15:36 ` Toke Høiland-Jørgensen
2015-10-28 15:50 ` Sebastian Moeller
2015-10-28 16:34 ` Toke Høiland-Jørgensen
2015-10-28 17:44 ` Sebastian Moeller
2015-10-29 17:36 ` Kevin Darbyshire-Bryant
2015-10-30 20:30 ` Kevin Darbyshire-Bryant
2015-10-30 21:34 ` 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=CAA93jw7H9CTVV1QzHkVKogSgftDcdBGNh3RDS3q1Fi4Uvqa7ag@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=cake@lists.bufferbloat.net \
--cc=kevin@darbyshire-bryant.me.uk \
/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