From: Jonathan Morton <chromatix99@gmail.com>
To: Sebastian Moeller <moeller0@gmx.de>
Cc: Ryan Mounce <ryan@mounce.com.au>, Cake List <Cake@lists.bufferbloat.net>
Subject: Re: [Cake] overheads or rate calculation changed?
Date: Sun, 7 Jan 2018 02:33:31 +0200 [thread overview]
Message-ID: <202188C4-062D-430B-838B-EAFEDB394002@gmail.com> (raw)
In-Reply-To: <DB905DCD-6D10-4F24-9AFA-4340532EC432@gmx.de>
> On 7 Jan, 2018, at 12:46 am, Sebastian Moeller <moeller0@gmx.de> wrote:
>
> I thibk cake should offer a mode in which it behaves as all other qdiscs currently do and not do auto correction at all and a mode where it corrects for the right amount, but keeping the current ake cbehavior will not help anybody.... but most likely i misunderstood your proposal in that regard.
Let me explain a little more clearly, using your example:
Here "by default" means with no overhead keywords used at all. Currently, Cake does nothing with the packet lengths by default, acting as though "raw" was specified.
Instead, Cake will act as though "overhead 26" were specified on egress and "overhead 14" on ingress in your case. Unlike its current behaviour, it will recognise that it's actually getting raw IP packets, and won't first attempt to subtract a non-existent header from them. That's still different from tc-stab behaviour, but probably more useful.
Conversely, with a typical Ethernet interface, it will act as though "overhead 14" were specified on both egress and ingress, and will effectively leave the packet length alone, recognising that there is in fact an Ethernet frame header on the front of the packets handed in.
If you then specify "overhead 34", you'll get exactly that, relative to the transport-layer packet (that is, IP).
You'll get visibility into this behaviour through the output of the current configuration, which will include an overhead keyword. And all this assumes that skb_network_offset(skb) *actually* does what I think it does.
What I'm not sure about yet is whether to keep "raw" and "via-ethernet" with their current meanings - as that would probably have a (small) runtime overhead as well as requiring more serious thought into how to organise the configuration interface. Otherwise, I do intend to keep "raw" as a way to reset to the default configuration.
- Jonathan Morton
next prev parent reply other threads:[~2018-01-07 0:33 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 20:32 Andy Furniss
2017-12-21 0:54 ` Andy Furniss
2017-12-22 6:38 ` Jonathan Morton
2017-12-22 7:58 ` Kevin Darbyshire-Bryant
[not found] ` <CAJq5cE3e-CbJ8X_Bpu3AhwbVmq-yD89HGe7rSNMTYqj+KSaBUg@mail.gmail.com>
2017-12-22 10:00 ` Jonathan Morton
2017-12-22 12:58 ` Kevin Darbyshire-Bryant
2017-12-22 15:55 ` Dave Taht
2017-12-22 23:38 ` Andy Furniss
2017-12-23 9:41 ` Sebastian Moeller
2017-12-23 9:59 ` Andy Furniss
2017-12-23 12:55 ` Sebastian Moeller
2017-12-23 13:11 ` Ryan Mounce
2017-12-23 14:21 ` Sebastian Moeller
2017-12-23 21:03 ` Sebastian Moeller
2017-12-23 21:20 ` Jonathan Morton
2017-12-24 10:34 ` Kevin Darbyshire-Bryant
2017-12-24 10:39 ` Jonathan Morton
2017-12-24 10:46 ` Kevin Darbyshire-Bryant
2017-12-24 12:19 ` Sebastian Moeller
2017-12-24 12:14 ` Sebastian Moeller
2018-01-06 20:44 ` Jonathan Morton
2018-01-06 22:46 ` Sebastian Moeller
2018-01-07 0:33 ` Jonathan Morton [this message]
2018-01-07 8:19 ` Sebastian Moeller
2018-01-07 15:21 ` 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=202188C4-062D-430B-838B-EAFEDB394002@gmail.com \
--to=chromatix99@gmail.com \
--cc=Cake@lists.bufferbloat.net \
--cc=moeller0@gmx.de \
--cc=ryan@mounce.com.au \
/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