Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Fred Stratton <fredstratton@imap.cc>
Cc: "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] tc-stab versus htb on ADSL 8000/700
Date: Wed, 14 Aug 2013 19:15:05 -0700	[thread overview]
Message-ID: <CAA93jw5X-4TC2vioO6Y1Cf8bczF4Zuqta5mC5E8sTvPU9EXMPg@mail.gmail.com> (raw)
In-Reply-To: <AEFB0B5C-C210-4582-A962-F9B3207212C2@imap.cc>


[-- Attachment #1.1: Type: text/plain, Size: 3809 bytes --]

0) What cero version is this? I have a slightle optimization for codel in
3.10.6 that I'd hoped would improve < 4mbit behavior... basically it turns
off maxpacket (and was discussed earlier this month on the codel list) as
not being useful outside of the ns2 environment.

1) I kind of prefer graphs get stuck on a website somewhere, rather than
email. Having to approve big postings manually adds to the 10 spams I have
to deal with per day, per list.

We would certainly like to add an "upload this test" feature to rrul one
day, that captures more data about the user's configuration and the test
data (from both sides!), but that project and servers remain unfunded, and
toke's really busy with his masters thesis...

2) Test #1 at T+48 or so appears to have a glitch - either caused by local
traffic on the link or something else. The long diagonal lines that you see
are bugs in the python-matplotlib library, they are fixed in ubuntu 13.4
and latest versions of arch. The choppy resolution of the second graph in
each chart is due to the sample interval being kind of small relative to
the bandwidth and the RTT. That's sort of fixable, but it's readable
without it....

Moving to what I see here, you are approximately 50ms (?) or so from the
icei.org server which is located on the east coast of the US (NJ, in
linode's co-location facility) (services on this box are graciously donated
by the icei organization that has been working in the background to help
out in many ways)

The black line is an average of 4 streams in the first and second graphs in
each chart. So you can multiply by 4 to get a rough estimate of actual
bandwidth on this link, but you do have to factor in the measurement
streams (graph 3), and the overhead of acks in each direction (which is
usually 66 bytes every other packet for ipv4), which are hard to measure.
So you are showing 6Mbit of raw bandwidth down, and about 480 up. Factoring
in the ack overhead of the the down, into the up, gets pretty close to your
set limit of 700. You experienced packet loss at time T+6 (not unusual)
that killed the non-ping measurement flows. (some day in the future we will
add one way ping measurements and NOT stop measuring after the first loss)

(There are multiple other plot types. do a --list-plots rrul. You can
generate a new plot on the same data by taking the *json.gz file and
supplying a different output filename (-o filename.svg) and plot type (-p
totals)

I regard the cdf plots as the most useful, but ALWAYS check this main graph
type to see glitches. Otherwise a cdf can be very misleading.)

So in this test latency spikes by about 100ms. Why does it do that? Well,
you have to fit 6k bytes (4 1500 byte flows), + 122 bytes (2 acks), + 65
bytes (ping) into the queues, and at 700kb/second that queue is far less
than the default 5ms target we start with. a 1500 byte packet takes 13ms to
transmit at 1Mbit, so we are ending up here with sufficient "standing
queue" to

Frankly, it should, eventually, achieve a tcp window size that will reduce
the latency to something lower than 100ms, but it obviously isn't.
nfq_codel is "tighter", but who knows, we're still in very early days of
trying to optimize for these bandwidths, and, like I said, I just killed
the maxpacket thing which might help some. A longer test (-l 300) at this
rtt) might be more revealing.

Clear as mud?



On Wed, Aug 14, 2013 at 2:28 PM, Fred Stratton <fredstratton@imap.cc> wrote:

>
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>
>


-- 
Dave Täht

Fixing bufferbloat with cerowrt:
http://www.teklibre.com/cerowrt/subscribe.html

[-- Attachment #1.2: Type: text/html, Size: 4796 bytes --]

[-- Attachment #2: fq_simplest_htb_8000_700a.png --]
[-- Type: image/png, Size: 241826 bytes --]

[-- Attachment #3: fq_simplest_tcstab_8000_700a.png --]
[-- Type: image/png, Size: 200986 bytes --]

  parent reply	other threads:[~2013-08-15  2:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 21:28 Fred Stratton
     [not found] ` <CAA93jw4ns-cCawB+XvQMbGtOidtz1u_k1WRQgF=SMP86cYzFJg@mail.gmail.com>
2013-08-15  2:14   ` Fred Stratton
2013-08-15  2:21     ` Dave Taht
2013-08-15  2:25       ` Fred Stratton
2013-08-15  2:34         ` Fred Stratton
     [not found]     ` <CAA93jw44ZyDy8epO8EzGG+aemU96oTP_bV_q8USkwYS2EfZWeg@mail.gmail.com>
     [not found]       ` <CAA93jw5VaDsdeZOiapNz6mPFGO+omxHAi2f-05aqEgC7sk0reQ@mail.gmail.com>
2013-08-15  2:27         ` Fred Stratton
     [not found]           ` <CAA93jw7XSQOc0T3q1PfguLLimE0dEtt1FYR7-hYUH+yrVad9AA@mail.gmail.com>
2013-08-15  2:36             ` Fred Stratton
2013-08-15  2:42               ` Dave Taht
2013-08-15  2:15 ` Dave Taht [this message]
2013-08-15  9:32   ` Sebastian Moeller
2013-08-15 15:17     ` Dave Taht
2013-08-16 19:46       ` Sebastian Moeller
2013-08-21 19:44         ` Sebastian Moeller
2013-08-14 22:14 Fred Stratton

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=CAA93jw5X-4TC2vioO6Y1Cf8bczF4Zuqta5mC5E8sTvPU9EXMPg@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=fredstratton@imap.cc \
    /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