Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Fred Stratton <fredstratton@imap.cc>
To: Dave Taht <dave.taht@gmail.com>, cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] SQM Question #2: How does CeroWrt use info gleaned from the link layer adaptation?
Date: Sun, 29 Dec 2013 10:52:02 +0000	[thread overview]
Message-ID: <52BFFED2.4000602@imap.cc> (raw)
In-Reply-To: <CAA93jw4FWXopWycqgOBfMtf80W9QFh1jejyhdgmOFxO-N=xXxA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3726 bytes --]

Providers differ across countries.

European competition laws are interpreted quite differently in different 
countries. AFAIK, Deutsche Telekom and France Telecom are monopolies. 
ISPs there therefore use the same infrastructure. BT is not. Here there 
are differences between ISPs.

http://www.samknows.com/broadband/exchange/MRPOY

Shows service availability in the area where I am, immediately to the 
south of the Manchester conurbation.

Recommendations are also affected by service cost. In this country, BT 
increases its prices once or even twice a year by just below the ten per 
cent threshold where the regulator takes an interest. Sky and TalkTalk 
then follow. Individuals then have to make decisions based not just on 
shaping policy, the type of CPE supplied, and TV channels specific to 
the provider, but on cost.

Negotiation on cost involves a yearly conversation with the provider, 
and cashback offers available elsewhere. Recommendations are therefore 
problematic.



On 29/12/13 08:54, Dave Taht wrote:
> I would like it if we had a couple per-provider recomendations and
> relevant discussion.
>
> On Sat, Dec 28, 2013 at 11:36 PM, Sebastian Moeller <moeller0@gmx.de> wrote:
>> Rich Brown <richb.hanover@gmail.com> wrote:
>>> QUESTION #2: How does CeroWrt use info gleaned from the link layer
>>> adaptation?
>>        The link layer adaptations work in correcting the kernels estimate of a packets behavior on the wire. In the tc_stab case the kernel calculates the effective size of the packet on the wire, that is it pretends the packet is larger than it really is, so for a given bandwidth it estimates the correct time it takes for that packet to be actually transmitted. In the htb_private case the kernel keeps the packet's size (more or less) intact but adjusts its estimate of the packets transmit rate. Both methods boil down to the same idea, make sure the packet scheduler will only send packet N+1 after packet N has just cleared the wire.
>>
>>> Specifically, the link layer adaptation all seem to be designed to
>>> compute the actual time it takes to transmit a packet, accounting for
>>> Ethernet & PPPoE header bytes, other overhead, and ATM 48-in-53
>>> framing.
>>         And the annoying size dependent padding of the last ATM cell.
>>
>>> How does CeroWrt use this time calculation? Does it simply make sure
>>> that the target time doesn’t get too low for a particular flow’s queue?
>>          Thanks to the link layer adjustments (lla) cero now estimates the correct time each packet takes and will not send any faster than the shaped rate allows. If no lla is performed cero would overestimate the link capacity, send more than expected and potentially fill the modems bloated buffers. Traditionally people tried to reduce their shaped rate by >10% to at least account for the 48 in 53 framing, but failed miserably for small packets since overhead and padding can more than double the wire size of a packet. Note that ACQ packets typically are small as are voice over IP packets.
>>
>> I hope this helps
>>          Sebastian
>>
>>> (I could imagine that a short packet over ATM would take 2x the (naive)
>>> expected/calculated time for a packet of that length, and that flow
>>> would be penalized. Is there more to it?)
>>> _______________________________________________
>>> Cerowrt-devel mailing list
>>> Cerowrt-devel@lists.bufferbloat.net
>>> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>> Hi Rich
>> --
>> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>> _______________________________________________
>> Cerowrt-devel mailing list
>> Cerowrt-devel@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>
>


[-- Attachment #2: Type: text/html, Size: 5383 bytes --]

  reply	other threads:[~2013-12-29 10:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-29  4:32 Rich Brown
2013-12-29  7:36 ` Sebastian Moeller
2013-12-29  8:54   ` Dave Taht
2013-12-29 10:52     ` Fred Stratton [this message]
2013-12-29 13:51     ` Sebastian Moeller

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/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52BFFED2.4000602@imap.cc \
    --to=fredstratton@imap.cc \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=dave.taht@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