From: Dave Taht <dave@taht.net>
To: Pete Heist <peteheist@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] Cake upstream Planning
Date: Wed, 15 Nov 2017 12:04:24 -0800 [thread overview]
Message-ID: <87375f71h3.fsf@nemesis.taht.net> (raw)
In-Reply-To: <87bmk372du.fsf_-_@nemesis.taht.net> (Dave Taht's message of "Wed, 15 Nov 2017 11:44:45 -0800")
Dave Taht <dave@taht.net> writes:
>>
>> TCP RTT ~= 8ms with default qdisc, throughput ~= 940 Mbit
>> TCP RTT ~= 4.5ms with ‘cake unlimited’, throughput ~= 920 Mbit
>> TCP RTT ~= 1ms with ‘cake unlimited lan’, throughput ~= 920 Mbit
This was with BQL in play? Monitoring BQL's behavior might help.
I'd also love to know an exact setting for the shaper as a close as
possible to the underlying bandwidth of ethernet. However, I tend to be
plagued with
>>
>> So yes, we can lower TCP RTT with these more aggressive settings. But just to
>> make sure, we’re confident that there are no other side effects from these lower
>> targets and intervals? Is there anything else I should test for to be sure? For
>> example, when I rate limit to 950 Mbit and try the same test above, ‘lan’ causes
>> a 20% drop in throughput vs the defaults. That may be from an overtaxed CPU, but
>> I don’t know. I also wonder how this affects routed vs local traffic. I’ll try
>> to test this at some point, as I want to understand it better anyway to know how
>> backhaul links should be configured...
One interesting thing that might make tcp behave better is the new
pacing code which lets us set pacing to a different log value. Presently
- at 10 - the TSQ algorithm recalculates things at 1ms. The pacing value
is intended to be changed to, say, 6 or 7 to make wifi work
better... and I suspect, that if it were upped to, say 12 (250us), on ethernet,
that might make pacing more effective there.
Just like breaking the sound barrier, breaking the 1ms barrier looks to
be hard within conventional kernel thread scheduling.
>>
>> Non-Blockers:
>>
>> * I don't believe in cobalt, or rather, I won't believe in it until we
>> have data at many RTTs. That said, what I'd propose would be a
>> monolithic cobalt.h file rather than codel5.h.
>>
>> The netns stuff will make simulating RTTs and bandwidths much easier….
>>
>>
>> * I think the fq_codel batch drop facility is better than what cake uses
>> in case of floods. Partially due to the need to handle backports the
>> mechanism fq_codel uses is hard to use - but going mainline we could add
>> this.
>>
>> * The autorate_ingress code should be marked experimental. I keep hoping
>> it can be improved by better looking for "smoothness" inbound, but
>> algorithms escape me. This doesn't bother me much, as tcp continues to
>> be improved over the past 50 years, perhaps we can find ways to improve
>> this with more users.
>>
>> * It is possible to tune the quantum and peeling functions to not peel
>> to the extent they do. Particularly there is usually no need (aside from
>> wanting accurate statistics) to peel below 1500 bytes (except perhaps
>> with the new ack filter mode). We experimented a lot with this in the
>> early days but could never come to a resolution.
>>
>> * I don't have any use for precidence mode and would like to remove it.
>>
>> Regarding non-blockers, for FreeNet’s purposes, I wanted to see if I could add
>> the option to use packet marks as one of the identifiers for host isolation, but
>> I’ve not had time to explore it yet. This would be helpful for ISPs that want to
>> ensure fairness when there isn’t a one-to-one mapping between IP address and
>> customer. I’ll see if I can at least try it.
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
next prev parent reply other threads:[~2017-11-15 20:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.7.1510506001.13084.cake@lists.bufferbloat.net>
2017-11-14 9:51 ` [Cake] Donation Pete Heist
2017-11-14 20:10 ` Dave Taht
2017-11-15 14:41 ` Pete Heist
2017-11-15 19:44 ` [Cake] Cake upstream Planning Dave Taht
2017-11-15 20:04 ` Dave Taht [this message]
2017-11-15 20:44 ` Pete Heist
2017-11-15 20:49 ` Dave Taht
2017-11-15 20:06 ` Pete Heist
2017-11-15 20:19 ` Dave Taht
2017-11-15 20:28 ` Nils Andreas Svee
2017-11-15 20:58 ` Pete Heist
2017-11-15 22:40 ` Nils Andreas Svee
2017-11-16 8:41 ` Pete Heist
[not found] <mailman.1019.1510802012.3609.cake@lists.bufferbloat.net>
2017-11-16 9:14 ` Pete Heist
2017-11-16 16:31 ` Dave Taht
2017-11-16 18:40 ` Pete Heist
2017-11-16 19:13 ` Dave Taht
[not found] <mailman.1013.1510778675.3609.cake@lists.bufferbloat.net>
2017-11-16 9:50 ` Pete Heist
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=87375f71h3.fsf@nemesis.taht.net \
--to=dave@taht.net \
--cc=cake@lists.bufferbloat.net \
--cc=peteheist@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