General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Alan Jenkins <alan.christopher.jenkins@gmail.com>
To: Kathleen Nichols <nichols@pollere.com>, bloat@lists.bufferbloat.net
Subject: Re: [Bloat] Bufferbloat test measurements
Date: Sat, 27 Aug 2016 20:18:16 +0100	[thread overview]
Message-ID: <1091de30-017f-e6ee-a440-cd8425be0e1a@gmail.com> (raw)
In-Reply-To: <8971f9f1-a79b-ce49-f7c4-660a355fdd43@pollere.com>

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

On 27/08/16 18:37, Kathleen Nichols wrote:
> In-line below. Only for geeks.
Present.

> On 8/27/16 9:03 AM, Alan Jenkins wrote:
>> That's the simplest measure of bufferbloat though :).
> Don't I know! :)  Have spent a couple of years figuring out how to measure
> experienced delay...
>> Do you have a criticism in terms of dslreports.com?  I think it's fairly
>> transparent, showing idle v.s. download v.s. upload.  The headline
>> figures are an average, and you can look at all the data points.  (You
>> can increase the measurement frequency if you're specifically interested
>> in that).
> "Criticism" seems too harsh. The uplink and downlink speed stuff is great
> and agrees with all other measures. The "bufferbloat" grade is, I think,
> sort
> of confusing. Also, it's not clear where the queue the test builds up is
> located.
> It could be in ISP or home. So, I ran the test while I was also streaming a
> Netflix video. Under the column "RTT/jitter Avg" the test lists values that
> range from 654 to 702 with +/- 5.2 to 20.8 ms (for the four servers). I
> couldn't
> figure out what that means.

My assumption is the RTT is just read out from the TCP socket, i.e. it's 
one of the kernel statistics.

http://stackoverflow.com/questions/16231600/fetching-the-tcp-rtt-in-linux/16232250#16232250

Looking in `ss.c` as suggested, the second figure shown by `ss` is 
`rttvar`.  And that's the kernel's measure of RTT variation.  If my 
assumption is right, that would tell us where the "jitter" figure comes 
from as well.

>   I can see the delay ramp up over the test
> (the video
> stream also follows that ramp though it's normal delay ranges from about
> 1ms to
> about 40ms). If I took the RT delay experienced by the packets to/from
> those servers,
> I got median values between 391 and 429 ms. The IQRs were about 240ms to
> 536-616ms. The maximum values where all just over 700ms, agreeing with
> the dslreports
> number. But that number is listed as an average so I don't understand?
> Also what is the
> jitter. I looked around for info on the numbers but I didn't find it.
> Probably I just totally
> missed some obvious thing to click on.
>
> But the thing is, I've been doing a lot of monitoring of my link and I
> don't normally see
> those kinds of delays. In the note I put out a bit ago, there is
> definitely this bursting
> behavior that is particularly indulged in by netflix and google but when
> our downstream
> bandwidth went up, those bursts no longer caused such long transient
> delays (okay, duh).
> So, I'm not sure who should be tagged as the "responsible party" for the
> grade that the
> test gives. Nor am I convinced that users have to assume that means they
> are going to see
> those kinds of delays. But this is a general issue with active measurement.
>
> It's not a criticism of the test, but maybe of the presentation of the
> result.
>
> 	Kathie

Thanks.  I wasn't clear what you meant the first time, particularly 
about the 40ms figure.  Very comprehensive explanation of your point.

It's easy to rant about ubiquitous dumb FIFO's in consumer equipment 
:).  Whereas the queue on the ISP side of the link ("download"), can be 
more complex and varied.  Mine gets good results on dslreports.com, but 
the latency isn't always so good during torrent downloads.

I do have doubts about the highly "multi-threaded" test method. 
dslreports let you dial it down manually (Preferences).  As you say, a 
better real-world test is to just use your connection normally & run 
smokeping... or an online "line monitor" like 
http://www.thinkbroadband.com/ping :).

Alan

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

  reply	other threads:[~2016-08-27 19:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-27 11:46 [Bloat] Bufferbloat test measurements (was: Open Source Speed Test) Rich Brown
2016-08-27 15:19 ` Kathleen Nichols
2016-08-27 16:03   ` [Bloat] Bufferbloat test measurements Alan Jenkins
2016-08-27 17:37     ` Kathleen Nichols
2016-08-27 19:18       ` Alan Jenkins [this message]
2016-08-27 19:39         ` Alan Jenkins
2016-08-27 23:39       ` jb
2016-08-28  0:14         ` Kathleen Nichols
2016-08-28  2:23           ` jb

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=1091de30-017f-e6ee-a440-cd8425be0e1a@gmail.com \
    --to=alan.christopher.jenkins@gmail.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=nichols@pollere.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