From: Jonathan Morton <chromatix99@gmail.com>
To: Sebastian Moeller <moeller0@gmx.de>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] More overhead keywords
Date: Mon, 18 May 2015 11:13:16 +0300 [thread overview]
Message-ID: <CAJq5cE2jzvS24kpAzocpbOj2V=aH+HQnHpg4P+bFfTgEc-0ErA@mail.gmail.com> (raw)
In-Reply-To: <7B7986E7-49A1-4EE1-B8D0-B55A6C2660A1@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 1840 bytes --]
Hmm. Looks like that document I found was really out of date, then. But it
got me fairly close.
For me, the overhead starts at the IP packet (so for your example, at the
1492 byte level), and excludes optional parts of the spec like FCS (since I
have a separate flag for that). So I need to take the 8 bytes for PPPoE,
the 14 for Ethernet and the 4 for PTM, total 26 - one less than my existing
figure.
Presumably the bridged version is also one byte smaller than my
calculation, 18 rather than 19. Is there also a version which transmits IP
without Ethernet framing?
You would then specify "pppoe-ptm ether-vlan via-ethernet" to set your
example connection up the friendly way, or just "overhead 16" for the terse
way (and you can already do that in the current version).
The 64/65 sync overhead is something we'll have to discover by experiment.
Luckily, it's pretty easy to tell whether we're filling up a dumb FIFO or
not.
I've gone for the technical labels for three reasons. First, it reflects
what's actually happening, which generally reduces confusion in the long
run. Second, you might underestimate the number of ADSL ISPs worldwide, as
well as the difficulty of keeping such a database up to date. Third, every
DSL modem and ISP I know of has made it reasonably easy to discover at
least the base encapsulations - autodetection of vcmux vs llc isn't
absolutely reliable, for example. They might be less forthcoming about vlan
and FCS, but one can make intelligent guesses here, based on whether it's a
converged services ISP.
Ideally, we could do with a tool (at dslreports?) which makes detecting the
actual overhead easier. This would be doable using small packets to magnify
the differences.
And if the user really can't work it out, they can always throw up their
hands and specify "conservative".
- Jonathan Morton
[-- Attachment #2: Type: text/html, Size: 2063 bytes --]
next prev parent reply other threads:[~2015-05-18 8:14 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-10 14:02 [Cake] openwrt build with latest cake and other qdiscs Alan Jenkins
2015-05-10 17:29 ` Alan Jenkins
2015-05-10 20:37 ` Dave Taht
2015-05-10 20:38 ` Dave Taht
2015-05-11 6:54 ` Sebastian Moeller
2015-05-10 21:46 ` Sebastian Moeller
2015-05-10 22:19 ` Dave Taht
2015-05-11 6:50 ` Sebastian Moeller
2015-05-11 7:01 ` Jonathan Morton
2015-05-13 6:43 ` Jonathan Morton
2015-05-14 9:19 ` Sebastian Moeller
2015-05-14 10:24 ` Jonathan Morton
2015-05-14 10:33 ` Alan Jenkins
2015-05-14 10:42 ` Jonathan Morton
2015-05-14 10:58 ` Sebastian Moeller
2015-05-14 13:12 ` Jonathan Morton
2015-05-14 14:57 ` Sebastian Moeller
2015-05-14 15:32 ` Jonathan Morton
2015-05-14 18:15 ` Sebastian Moeller
2015-05-14 22:06 ` Jonathan Morton
2015-05-15 2:27 ` Dave Taht
2015-05-15 21:49 ` Jonathan Morton
2015-05-14 9:50 ` Alan Jenkins
2015-05-18 0:49 ` [Cake] More overhead keywords Jonathan Morton
2015-05-18 7:27 ` Sebastian Moeller
2015-05-18 8:13 ` Jonathan Morton [this message]
2015-05-18 8:41 ` Sebastian Moeller
2015-05-18 19:41 ` David Lang
2015-05-18 19:57 ` Dave Taht
2015-05-19 10:14 ` Kevin Darbyshire-Bryant
2015-05-23 0:30 ` Dave Taht
2015-05-23 2:27 ` 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='CAJq5cE2jzvS24kpAzocpbOj2V=aH+HQnHpg4P+bFfTgEc-0ErA@mail.gmail.com' \
--to=chromatix99@gmail.com \
--cc=cake@lists.bufferbloat.net \
--cc=moeller0@gmx.de \
/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