From: Dave Taht <dave.taht@gmail.com>
To: bloat <bloat@lists.bufferbloat.net>
Subject: [Bloat] calculating baseline latency properly?
Date: Sun, 8 Jan 2012 21:27:35 +0100 [thread overview]
Message-ID: <CAA93jw69q7uhM-+Gweg1hNOSaiDyPychvJjL4HwerLX3MvWiOw@mail.gmail.com> (raw)
I have been fiddling with the latest SFQ patches from eric at 100Mbit.
I'm at the point where what are effectively "quantum effects" are bothering
me, statistically.
At 100Mbit:
I get a baseline latency for ping RTT on my hardware in the range .22 to .48 ms,
call it .32 as an average. Eric gets about 1/3 that, and after testing
it looks like
the majority of the ping latency comes from the cerowrt box for reasons unknown.
There are various tunables for ethtool that have a small effect on the e1000e
side, but not on that side.
Under a 50 iperf load + sfq, on 100Mbit ethernet,
the simultaneous 10ms ping RTTs vary thusly:
BQL = auto. RTT = ~ 2.16 ms
BQL = 4500 bytes = ~1.2 ms
BQL = 3000 bytes = ~ .67 ms
BQL = 1500 bytes = ~.76 ms
I note that these are pretty variable and looking at cdf graphs
makes the most sense over a large sample size, rather than the average.
It also helps when trying to compare sfq vs qfq vs sfqred.
For comparison, PFIFO_FAST (with a txqueuelen of 1000 on both sides),
I get a latency under the same workload of 121ms at all settings for BQL.
(I mean, probably seeing the fractional stuff but it just doesn't matter)
In measuring ping RTT rather than arrival time elsewhere (which I plan
to do with RTP at some point), there's actually two variables in play
send and return time...
So should a RTT latency under load calculation remove the baseline latency
thusly:
latency_improvement =
(ping_RTT - baseline_ping_rtt) / (new_ping_RTT - baseline_ping_rtt)
factor 344 improvement
OR keep it:
latency_improvement =
(ping_RTT) / (new_ping_RTT)
factor 180 improvement...
or would there be another way to compensate for it that made sense?
Either way the numbers look grand, and I plan to play with both a
real 10Mbit connection and a simulated 4Mbit one, next. Should
be interesting...
--
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
FR Tel: 0638645374
http://www.bufferbloat.net
reply other threads:[~2012-01-08 20:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAA93jw69q7uhM-+Gweg1hNOSaiDyPychvJjL4HwerLX3MvWiOw@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=bloat@lists.bufferbloat.net \
/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