Historic archive of defunct list bloat-devel@lists.bufferbloat.net
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Lars Eggert <lars@netapp.com>
Cc: Midori Kato <katoon@sfc.wide.ad.jp>,
	bloat-devel <bloat-devel@lists.bufferbloat.net>
Subject: Re: One-way delay measurement for netperf-wrapper
Date: Fri, 29 Nov 2013 08:55:54 -0800	[thread overview]
Message-ID: <CAA93jw7y5ce-HEgNxG2u=BkH7C3sQZ=kdne4dA5CYnW1URpCKg@mail.gmail.com> (raw)
In-Reply-To: <503FC4CA-967A-407A-9A93-97D61FE11566@netapp.com>

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

On Nov 29, 2013 6:30 AM, "Eggert, Lars" <lars@netapp.com> wrote:
>
> Hi,
>
> On 2013-11-29, at 14:04, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> > Now, some possible issues with this:
> >
> > - Are we measuring the right thing? This will measure the time it takes
> >  a message to get from the application level on one side to the
> >  application level on another. There are a lot of things that could
> >  impact this apart from queueing latency; the most obvious one is
> >  packet loss and retransmissions which will give some spurious results
> >  I suppose (?). Doing the measurement with UDP packets would alleviate
> >  this, but then we're back to not being in-stream...
>
> right. I happen to be interested in that metric, but not everyone may be.
Some folks may only care about latencies added in the network, in which
case the TCP-timestamp-based approach might be better (if the kernel can be
convinced to generate timestamps with sufficient resolution).
>
> You could also combine the two approaches. That way, you might be able to
account for sender, network and receiver latencies.
>
> > - As for point 3, not normalising the result and just outputting the
> >  computed delay as-is means that the numbers will be meaningless
> >  without very accurately synchronised clocks. On the other hand, not
> >  processing the numbers before outputting them will allow people who
> >  *do* have synchronised clocks to do something useful with them.
> >  Perhaps a --assume-sync-clocks parameter?
>
> Yep. Or you could check for the accuracy of the NTP synchronization, as
suggested by Hal.
>
> > - Echoing back the delay measurements causes traffic which may or may
> >  not be significant; I'm thinking mostly in terms of running
> >  bidirectional measurements. Is that significant? A solution could be
> >  for the receiver to hold on to all the measurements until the end of
> >  the test and then send them back on the control connection.
>
> Depends on the measurement interval. I'm guessing it won't matter much if
you e.g. only timestamp once a millisecond or something.
>
> > - Is clock drift something to worry about over the timescales of these
> >  tests?
> >  https://www.usenix.org/legacy/events/iptps10/tech/slides/cohen.pdf
> >  seems to suggest it shouldn't be, as long as the tests only run for at
> >  most a few minutes.
>
> Wouldn't think so.
>
> > So anyway, thoughts? Is the above something worth pursuing?
>
> I certainly would like this test. It may also be a good proposal for the
IPPM metric.
>
> Lars
>
> _______________________________________________
> Bloat-devel mailing list
> Bloat-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat-devel
>

The idea of creating a generic ipv6 header for timestamps was discussed at
ietf. I am under the impression this is an old SNA feature.

http://www.ietf.org/proceedings/88/slides/slides-88-ippm-0.pdf

I liked the chart and I seem to recall there was an implementation.

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

  reply	other threads:[~2013-11-29 16:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28 18:51 Toke Høiland-Jørgensen
2013-11-29  8:45 ` Eggert, Lars
2013-11-29  9:42   ` Toke Høiland-Jørgensen
2013-11-29 10:20     ` Eggert, Lars
2013-11-29 13:04       ` Toke Høiland-Jørgensen
2013-11-29 14:30         ` Eggert, Lars
2013-11-29 16:55           ` Dave Taht [this message]
2013-12-02 18:11     ` Rick Jones
2013-12-02 18:20       ` Toke Høiland-Jørgensen
2013-11-28 20:30 Hal Murray
2013-12-02  5:45 Hal Murray
2013-12-02  8:34 ` Toke Høiland-Jørgensen

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

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

  git send-email \
    --in-reply-to='CAA93jw7y5ce-HEgNxG2u=BkH7C3sQZ=kdne4dA5CYnW1URpCKg@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=bloat-devel@lists.bufferbloat.net \
    --cc=katoon@sfc.wide.ad.jp \
    --cc=lars@netapp.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