<div dir="ltr">I'm pretty sure Ethernet rates are at the Layer 2, so we only need to care about Layer 2 sizes, not Layer 1. At Layer 1, Ethernet is faster than the listed 10/100/1000/10000 rates. You are correct about worrying about VLAN, but I would hope they actually include these.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 30, 2015 at 5:53 AM, Kevin Darbyshire-Bryant <span dir="ltr"><<a href="mailto:kevin@darbyshire-bryant.me.uk" target="_blank">kevin@darbyshire-bryant.me.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings fellow cake eaters :-)<br>
<br>
Sebastian raised a little flag in the brain cell yesterday in his<br>
questioning/discussion of cake stats & kernel accounted for overheads.<br>
As he stated the kernel considers the overhead of an ethernet packet to<br>
be 14 bytes but forgets about the 4 byte frame check sequence and<br>
pre/post ambles which in the end make a packet on the wire worth 1538<br>
bytes  (must use octets, must use octets)<br>
<br>
Jonathan pointed out that cake's overhead parameter/s are used for<br>
timing purposes, which to me makes it all the more important that<br>
overheads are got right.<br>
<br>
As much as I'm loath to suggest yet another option to cake, should it<br>
not by default assume ethernet 'on-the-wire' framing overheads<br>
(preamble& start of frame=8, FCS=4, interpacket gap=12) totalling 24<br>
octets, not forgetting VLAN tag/s at 4 octets each and the already<br>
accounted for 14 octets of MAC source,dest & frame type/length for<br>
timing purposes?  Ref: <a href="https://en.wikipedia.org/wiki/Ethernet_frame" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Ethernet_frame</a><br>
<br>
For ethernet links this is going to be important.  For other links<br>
'transporting' ethernet at slower rates (I'm thinking VDSL2 modems & the<br>
like) I suspect their overheads and pure slowness of link swamp the<br>
timing discrepancy.<br>
<br>
'ethernet' & 'ethernetotw' flags?<br>
<br>
What don't I understand properly here?<br>
<span class="HOEnZb"><font color="#888888"><br>
Kevin<br>
<br>
</font></span><br>_______________________________________________<br>
Cake mailing list<br>
<a href="mailto:Cake@lists.bufferbloat.net">Cake@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/cake" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/cake</a><br>
<br></blockquote></div><br></div>