From: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
To: <cake@lists.bufferbloat.net>
Subject: [Cake] cake/tc - removal of atm/ptm/ethernet specific overhead keywords
Date: Thu, 2 Jun 2016 10:37:22 +0100 [thread overview]
Message-ID: <574FFE52.1040501@darbyshire-bryant.me.uk> (raw)
Greetings All,
In a bid to create yet another day of cake controversy, here's my latest
pull request https://github.com/dtaht/tc-adv/pull/12
It removes all the atm/ptm/ethernet specific overhead keywords.
I find myself largely in agreement with Sebastian where he said:
"
I would prefer very much if we could just rip the keywords out and just
leave “overhead N” in there. As is the keywords are inconsistent in that
some act as modifiers that “add” to already specified values while
others replace older values whole-sale. Also these keywords do not
really simplify the challenges in choosing the correct overhead at all,
so my vote would be to go from today’s:
[ atm | noatm* ] [ overhead N | conservative | raw* ]
to:
[ atm | noatm* ] [ overhead N | raw* ]
So, instead of documenting the keywords, remove even more (and add an
info/error message to tc to warn users still using the old ones). If
that is not acceptable then I would propose to simply create named
keywords for the individual components that make up the overhead and
apply these in an additive fashion, like:
ppp pppoe ethernet llc snap atmpad aal5sar
which would translate into:
2 + 6 + 14 + 3 + 5 + 2 + 8 = 40
So, I propose to just take the components and their names from
https://web.archive.org/web/20150606220856/http://ace-host.stuart.id.au/russell/files/tc/tc-atm/
and ad vlan, mac, and fcs to the mix (and maybe the effective additional
overhead required to shape ethernet, IFG and friends).
But honestly I believe we would be better off by directing users to
decent information how to deduce the applicable overhead in each
individual case. Say the link above and maybe a link to
https://github.com/moeller0/ATM_overhead_detector might be of more help
than trying to simply a complex situation?
While at it, I also would remove the “conservative” keyword since with
that we make a promise to our users we might not be able to keep as we
have no guarantee of a maximum overhead possible.
"
I agree that pointing people to decent info and/or having a small table
in the cake man page with the same info as the now dropped overhead
commands would be far better. My concession is to keep the conservative
keyword. For people who are unwilling to go into this (and I expect
those same people would not be interested in Sebastian's ppp pppoe
ethernet llc....' keyword set) it is *likely* that the addition of a
whole ATM user cell is going to cover the overhead.
I'd be sort of interested to know if anyone is actually using those
keywords: ipoa-vcmux, ipoa-llcsnap, bridged-vcmux, bridged-llcsnap,
ppoa-vcmux, pppoa-llc, pppoe-vcmux, pppoe-llcsnap, pppoe-ptm,
bridged-ptm, via-ethernet, ether-phy, ether-all, ether-fcs, ether-vlan.
How many actually knew they even existed?
Yours controversially,
Kevin
next reply other threads:[~2016-06-02 9:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 9:37 Kevin Darbyshire-Bryant [this message]
2016-06-02 14:22 ` Jonathan Morton
2016-06-02 14:27 ` Toke Høiland-Jørgensen
2016-06-02 14:49 ` Jonathan Morton
2016-06-02 15:42 ` moeller0
2016-06-02 17:40 ` Jonathan Morton
2016-06-02 18:53 ` moeller0
2016-06-02 18:55 ` Jonathan Morton
2016-06-02 19:17 ` moeller0
2016-06-02 14:59 ` moeller0
2016-06-02 15:10 ` Jonathan Morton
2016-06-02 15:33 ` moeller0
2016-06-02 14:51 ` moeller0
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=574FFE52.1040501@darbyshire-bryant.me.uk \
--to=kevin@darbyshire-bryant.me.uk \
--cc=cake@lists.bufferbloat.net \
/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