General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Jonathan Morton <chromatix99@gmail.com>
To: David Lang <david@lang.hm>
Cc: bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] extremely good dslreports result for bufferbloat on free.fr
Date: Wed, 29 Apr 2015 04:39:26 +0300	[thread overview]
Message-ID: <CAJq5cE0NR9YMCqspqkyDC+BX40a0Zcn8hD=SK+kVenk7sfwfnw@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1504281640350.28505@nftneq.ynat.uz>

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

These are pretty good questions, actually. But as pointed out, when you
want to start ranking, it's important to distinguish the performance of the
ISP itself from equipment under the subscriber's control, which itself
might be configured to hide faults in the ISP.

Statistics is a hard subject. If you feel at all confused by what I
describe below, it might be a good idea to sit down with a real expert. The
basic calculations are not difficult; it's knowing WHAT to calculate and
what it means once you've done it.

Notably, the upload queue usually depends much more on the CPE than on
anything the ISP controls directly. I don't think there are that many ISPs
left which absolutely insist on using their own modem, but most will supply
a preferred, preconfigured model on request, and many users will accept
that, not knowing better. Unfortunately, I can't think of an easy, robust
way to detect what CPE is in use our how it has been configured, so it's
hard to control for it statistically.

In general, downstream queuing is much more under the ISP's control. To
account for the (growing?) subset of users who apply ingress shaping, you
could look at the upper percentiles of latency, since usually ingress
shaping will improve matters. Caveat: it's also possible for ingress
shaping to make things worse, either through accidental misconfiguration or
even maliciously, so don't just take the peak value.

Initially I suggest you present a histogram of the results that fall into
particular grades. That'll help you get a feel for the statistics, and it's
easy to pick out a modal value by eye. Beware of trying to calculate a
modal value simplistically, since the histogram might not show a simple
mode if results tend to straddle two adjacent grades. (This is why the mode
is the least used of the three basic averages; it's hard to calculate it
such that it's reliably useful, even though it's often intuitively useful.)

I also suggest you add a basic question to the user: are you using a router
with QoS features turned on (yes/no/dunno), with dunno as the default.
That'll give you a way to point out that most of the lower latency results
are probably a result of this. You could draw stacked or adjacent
histograms with this information colour coded.

As for the single numbers to plug into the formula, this also requires some
care.

For the idle/baseline, I suggest using only the samples from before the
bandwidth tests begin, rather than also including those from between and
afterwards. Then you should use the harmonic mean on these, to get a value
biased on the low end.

For each of the load sets, you want a value biased high. Taking the 90th
percentile might be a reasonable approach here; it'll discard outliers and
brief transients that a good AQM acting alone (ie. without FQ) might leave,
but should still expose the sorts of obvious problems that we're trying to
tackle.

I do think that the idle latency and the total loaded latency can usefully
be reported as frequencies. The total loaded latency can be taken to be the
idle latency plus the induced download latency plus the induced upload
latency, as an approximation of the latency when both directions are loaded
at once.

As for ranking ISPs overall... this is hard to do in a way that's perceived
to be fair. My recommendation on this front would be to allow your users to
select criteria with weights. Some might consider download and/or upload
speed to be important as well as latency, while others might see a choice
between overall latency (important for games) and jitter (important for
VoIP). This makes it harder to claim that you're personally presenting a
controversial opinion on relative merits.

- Jonathan Morton

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

  reply	other threads:[~2015-04-29  1:39 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 14:48 Dave Taht
2015-04-28 23:33 ` jb
2015-04-28 23:44   ` David Lang
2015-04-29  1:39     ` Jonathan Morton [this message]
2015-04-29  2:01       ` Dave Taht
2015-04-29  2:49       ` jb
2015-04-29 16:32 ` Juliusz Chroboczek
2015-04-29 18:32   ` Dave Taht
     [not found]     ` <CAH3Ss96FnwgK8qxdV-n46GLe2FSsRRa7zD1M_Wmq91o=+-7qdQ@mail.gmail.com>
2015-04-30  4:23       ` Dave Taht
2015-04-30  4:33         ` jb
2015-04-30  4:43           ` Dave Taht
2015-04-30  4:55             ` Dave Taht
2015-04-30  5:23               ` Dave Taht
2015-04-30  5:49                 ` jb
2015-04-30 16:36           ` Dave Taht
2015-05-01  0:48             ` Rich Brown
2015-05-01  3:10               ` jb
2015-05-01  4:41                 ` [Bloat] ThinkBroadBand also has a bloat detector in their speed test Rich Brown
2015-05-01  6:17                   ` jb
2015-05-01  6:05                 ` [Bloat] extremely good dslreports result for bufferbloat on free.fr Dave Taht
2015-05-01  6:31                   ` jb
2015-05-01  8:10                     ` Dave Taht
2015-05-02 11:49                     ` Sebastian Moeller
2015-05-02 13:40                       ` jb
2015-05-02 15:01                         ` Sebastian Moeller
2015-05-02 16:55                           ` Dave Taht
2015-05-02 17:15                 ` Aaron Wood

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

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

  git send-email \
    --in-reply-to='CAJq5cE0NR9YMCqspqkyDC+BX40a0Zcn8hD=SK+kVenk7sfwfnw@mail.gmail.com' \
    --to=chromatix99@gmail.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=david@lang.hm \
    /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