[ippm] Re: OWAMP protocol

stanislav shalunov <shalunov@internet2.edu> Fri, 04 February 2005 16:55 UTC

Received: from megatron.ietf.org (megatron.ietf.org [132.151.6.71]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA14093 for <ippm-archive@lists.ietf.org>; Fri, 4 Feb 2005 11:55:59 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1Cx6g4-0005Fb-KP; Fri, 04 Feb 2005 11:51:28 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1Cx6fo-00057F-HO for ippm@megatron.ietf.org; Fri, 04 Feb 2005 11:51:12 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA13849 for <ippm@ietf.org>; Fri, 4 Feb 2005 11:51:08 -0500 (EST)
Received: from basie.internet2.edu ([207.75.164.22]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cx6yb-0006Iy-69 for ippm@ietf.org; Fri, 04 Feb 2005 12:10:38 -0500
Received: from localhost (unknown [127.0.0.1]) by basie.internet2.edu (Postfix) with ESMTP id 088D41CD9DE; Fri, 4 Feb 2005 11:51:07 -0500 (EST)
Received: from basie.internet2.edu ([127.0.0.1]) by localhost (basie.internet2.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04617-10; Fri, 4 Feb 2005 11:51:06 -0500 (EST)
Received: from localhost (unknown [127.0.0.1]) by basie.internet2.edu (Postfix) with ESMTP id BBC491CD6FF; Fri, 4 Feb 2005 11:51:06 -0500 (EST)
To: Roland Karch <roland@dfn.de>
References: <200502010839.j118dsBr003497@tyholt.uninett.no> <41FFBC5A.8010609@internet2.edu> <41FFC80A.6050207@internet2.edu> <4200B645.8000903@dante.org.uk> <420122BF.90202@internet2.edu> <4201E49C.3060501@dante.org.uk> <42024F4D.8050209@internet2.edu> <1107452487.16868.44.camel@krieg.rrze.uni-erlangen.de> <42027096.1010100@internet2.edu> <1107533084.19001.85.camel@krieg.rrze.uni-erlangen.de>
From: stanislav shalunov <shalunov@internet2.edu>
Date: Fri, 04 Feb 2005 11:51:09 -0500
In-Reply-To: <1107533084.19001.85.camel@krieg.rrze.uni-erlangen.de>
Message-ID: <864qgsgtfm.fsf_-_@abel.internet2.edu>
Lines: 83
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Virus-Scanned: by mail.internet2.edu virus scanner
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 31247fb3be228bb596db9127becad0bc
Cc: ippm@ietf.org, WiN Labor <win-labor@dfn.de>, owamp-users@internet2.edu
Subject: [ippm] Re: OWAMP protocol
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org >
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org ?subject=unsubscribe>
List-Post: <mailto:ippm@ietf.org >
List-Help: <mailto:ippm-request@ietf.org ?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org ?subject=subscribe>
Sender: ippm-bounces@ietf.org
Errors-To: ippm-bounces@ietf.org

Roland,

Your message seems to be mostly about the OWAMP protocol itself rather
than the particular implementation.  I have added ippm@ietf.org (IETF
IP Performance Metrics working group), the IETF WG responsible for the
protocol, draft-ietf-ippm-owdp-17.txt (now in ``publication
requested'' state) to the CC list.

Roland Karch <roland@dfn.de> writes:

> We have slightly more detailed information about the timesource
> involved in the tests.  Besides the estimated error and the
> timesource (stratum 1?) we also stored the type of the sender's
> timestamps (us vs. ns) and some integrity checks (e.g. packet size).

The protocol needs to be applicable to a wide range of scenarios.
Some system-dependent information about the time source, would,
therefore, be lost in any case.  (Can't include everything for every
possible system.)  I believe that what the protocol has now strikes a
reasonable balance: most implementations should be able to come up
with the information, and it describes most of the important stuff
about the time source.  Note that NTP is not the only possible time
source for OWAMP implementations.

> On second thought, I think it's possible that we just dispose of the
> additional data and make do with just the clock info the protocol
> provides. I have one problem with your choice of format for the
> timestaps though: We'll run into problems in about 30 years from
> now. But that's maybe something that the NTP folks should fix. ;-)

The NTP folks seem to have already done so, or so David Mills says.
The arithmetic with timestamps 30 years from now would need to be a
little funny (add epoch duration if negative), but this is the same
Z/nZ arithmetic that's used in, say, TCP sequence numbers wraparound.
Since the epoch is large enough, there's no need to worry about doing
the right modulo just yet, but that can always be done.

> Excellent, that's (almost) how I would describe a part of our packet
> grouping problem. One thing I'd avoid is to have 0 waiting time between
> test packets. I've seen some interesting effects, just because the
> sender actually queued packets faster than it could send them out on our
> system.

In the protocol specification, this is left up to the user.  The user
can specify zero time between packets (e.g., for packet train
measurements).  If that works poorly, the user is free to specify some
other time.

> That's an interesting way to solve these problems. As I mentioned once,
> we try to avoid collisions of packets completely by either negotiating
> or centrally assigning a global schedule for the measurement slots. I
> can see a way to use OWAMP-control for the latter, centralized case. How
> to efficiently negotiate a test without that entity still poses a
> problem for me.

Periodic streams have long been known (since RIP times) to tend to
synchronize over time.  The OWAMP specification lets you send both
Poisson and periodic streams (and arbitrary other ones), but this
should be taken into consideration.

> Do you think it would be possible within the protocol to _efficiently_
> negotiate a common starting time when both ends have sets of timeslices
> available, but which may differ in most cases? In my opinion a simple
> ACK/NACK type of negotiation could introduce a lot of round-trips for
> that scenario.

The Internet is global.  Having a central authority negotiate sending
times for every test packet doesn't seem feasible.

> I think we'll handle our case of permanent measurements as a special
> case of this. Maybe by specifying a special value of 2^32-1 as the
> number of packets? The implementation should then be able to take care
> of it like I want to see it.

You could also do a sequence of measurement sessions, with the time
between measurement sessions distributed identically to the time
between packets within a test session.


-- 
Stanislav Shalunov		http://www.internet2.edu/~shalunov/

Sex is the mathematics urge sublimated.                 -- M. C. Reed.

_______________________________________________
ippm mailing list
ippm@ietf.org 
https://www1.ietf.org/mailman/listinfo/ippm