From: moeller0 <moeller0@gmx.de>
To: "Dave Täht" <dave.taht@gmail.com>
Cc: "cerowrt-devel@lists.bufferbloat.net"
<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] qos calculator & paper for htb rate selection
Date: Sun, 19 Jun 2016 20:37:40 +0200 [thread overview]
Message-ID: <01C6A933-D65F-4CCC-84C2-86B2CFB62601@gmx.de> (raw)
In-Reply-To: <CAA93jw5gcBbvib2eHu-+=vpgChm-NPcoRMJ=Pp_nqNDwq2yoSQ@mail.gmail.com>
Hi Dave,
> On Jun 19, 2016, at 02:53 , Dave Taht <dave.taht@gmail.com> wrote:
>
> I do keep hoping that one day we'll just be able to plug values into
> an equation and come up with the right “thing".
Well, define “right” and “thing” first ;)
>
> Anyway, this paper had some pretty graphs and some severe flaws - like
> only using long flows, not emulating longer RTTs, nor experimenting
> with speeds greater than 40mbit. Some of the results, I think, hold,
> but I'd have to think about it. I was attracted to reading it because
> it attempted to take our "85%" rule for sqm-scripts on downloads and
> attach some science to it…
Oh, I have a theory about that. As far as I can see when the “folk” recipes evolved a lot of folks were using ADSL links, and the 48/53 encoding of ATM cells eats up 100-100*48/53 = 9.43 % of the available bandwidth right there. Add to this the typical ADSL overheads of say 32 bytes past the 1500 MTU limit you end up incurring another 100-100*1500/1532 = 2.09% of overhead for a total of around 11.4% (well actually it is 100-100*1500/1536 = 2.34 % due to the fact that in AAL5 each packet gets an integer number of ATM cells). So any shaper set to more than 100*1500/(32*53) = 88.44% of link bandwidth should not have been very effective; combined with the observations that a) people prefer round numbers and b) that especially downstream shaping/policing works better with more than the minimum required shaping anyway 15% seems like a reasonable recommendation.
I would guess that this probably developed by pure observation without being backed by “math". Now people on other link technologies than ADSL might have sacrificed a bit more bandwidth than absolutely necessary*, but since that would still lead to a working configuration, I assume no one cared deeply enough?
Tl;dr: The 85% has some backing in real link technologies used, that the paper completely glosses over…
Now I might be somewhat “obsessed” with trying to understand how per-packet-overhead and encapsulations affect on-the-wire bandwidth for different traffic patterns on different link technologies, but a bit more research in the reality home-users face, might have improved the applicability of the proposed solutions… AND they also do not consider the case typical for bit-torrent situations where a stampeding herd of shortish ingress flows cause sufficient back-pressure to actually flood the real bottleneck links under-managed buffers… The weird thing is they mention that their solution should work for DSL links, while I am certain it can not, given that at the upper end of ADSL links, like 16Mbs for AnnexJ the recommended shaper percentage of 87.5748 % is really to close to the effectively available link bandwidth of around 88.4% that their solution will not offer much safety margins… and at an adsl bandwidth of 22 Mbps (as far as I know the theoretical maximum for ADSL) the recommended 89.7557% will not work at all. Now the authors could assume that users do link layer accounting first and only apply their shaper rate to the “real” user visible bandwidth, but then 88.4*0.897557 = 79.3440388 is damn close to the 80% recommendation they just tried to debunk…
As so often, I have to admit I am confused…
Best Regards
M.
*) I just started looking into what happens on DOCSIS links, and all I can say right now is that DSL starts to look logical ;)
>
> http://sci-hub.bz/10.1109/TNET.2014.2366496
>
> --
> Dave Täht
> Let's go make home routers and wifi faster! With better software!
> http://blog.cerowrt.org
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
prev parent reply other threads:[~2016-06-19 18:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-19 0:53 Dave Taht
2016-06-19 3:43 ` Jonathan Morton
2016-06-19 4:20 ` Dave Taht
2016-06-19 18:37 ` moeller0 [this message]
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=01C6A933-D65F-4CCC-84C2-86B2CFB62601@gmx.de \
--to=moeller0@gmx.de \
--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