Re: [LOOPS] Measuring forward latency

"Roni Even (A)" <roni.even@huawei.com> Tue, 18 June 2019 13:19 UTC

Return-Path: <roni.even@huawei.com>
X-Original-To: loops@ietfa.amsl.com
Delivered-To: loops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E632E120088 for <loops@ietfa.amsl.com>; Tue, 18 Jun 2019 06:19:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MJD5jQIj7d7t for <loops@ietfa.amsl.com>; Tue, 18 Jun 2019 06:19:04 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71D7B120047 for <loops@ietf.org>; Tue, 18 Jun 2019 06:19:04 -0700 (PDT)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 3939543F110822CE0FEA; Tue, 18 Jun 2019 14:19:02 +0100 (IST)
Received: from DGGEMM401-HUB.china.huawei.com (10.3.20.209) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 18 Jun 2019 14:18:39 +0100
Received: from DGGEMM526-MBX.china.huawei.com ([169.254.8.116]) by DGGEMM401-HUB.china.huawei.com ([10.3.20.209]) with mapi id 14.03.0439.000; Tue, 18 Jun 2019 21:15:00 +0800
From: "Roni Even (A)" <roni.even@huawei.com>
To: Michael Welzl <michawe@ifi.uio.no>, Giuseppe Fioccola <giuseppe.fioccola@huawei.com>
CC: Cociglio Mauro <mauro.cociglio@telecomitalia.it>, "Brian Trammell (IETF)" <ietf@trammell.ch>, Carsten Bormann <cabo@tzi.org>, "loops@ietf.org" <loops@ietf.org>
Thread-Topic: [LOOPS] Measuring forward latency
Thread-Index: AQHVJV35lIvtQhu2ckClUnIb0DJ98aahUGqw//+IK4CAAIvFgA==
Date: Tue, 18 Jun 2019 13:14:59 +0000
Message-ID: <6E58094ECC8D8344914996DAD28F1CCD18D3855D@dggemm526-mbx.china.huawei.com>
References: <F64CD006-3F60-4D63-B97D-0251A7B7F0B0@tzi.org> <E92F9C7E59A8854E8BED73140B879B4E012C1D1D@lhreml507-mbs> <8033CD47-410C-4C04-B4E1-F70EBC2B92C3@ifi.uio.no>
In-Reply-To: <8033CD47-410C-4C04-B4E1-F70EBC2B92C3@ifi.uio.no>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.200.202.60]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/loops/WtQJz42MSfCSaVc12BTpA65ykhI>
Subject: Re: [LOOPS] Measuring forward latency
X-BeenThere: loops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Local Optimizations on Path Segments <loops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/loops>, <mailto:loops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/loops/>
List-Post: <mailto:loops@ietf.org>
List-Help: <mailto:loops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/loops>, <mailto:loops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Jun 2019 13:19:07 -0000

Hi,
The spin measurement depends on the number of measurement points. Using one point you can calculate the end to end RTT but by using two measurement points you can calculate the time between them
Roni

-----Original Message-----
From: LOOPS [mailto:loops-bounces@ietf.org] On Behalf Of Michael Welzl
Sent: Tuesday, June 18, 2019 3:53 PM
To: Giuseppe Fioccola
Cc: Cociglio Mauro; Brian Trammell (IETF); Carsten Bormann; loops@ietf.org
Subject: Re: [LOOPS] Measuring forward latency

Hi,

I thought the spin bit is meant for a router somewhere along the path to understand the end-to-end RTT of a flow.
We, on the other hand, need a LOOPS ingress node to understand the RTT (or, better, OWD) to the LOOPS egress node. So this is (LOOPS-)end-to-(LOOPS)-end.

Cheers,
Michael


> On 18 Jun 2019, at 14:39, Giuseppe Fioccola <giuseppe.fioccola@huawei.com> wrote:
> 
> Dear Carsten, All,
> I think it would be very useful to do a classification of the possible measurement methods for LOOPS.
> And, there are Pros and Cons to be considered for each methodologies.
> In addition to the methodologies already on the table (TCP-like mechanisms, one-way forward latency mechanism and so on...) I would suggest to consider also the so called spin bit approach as described in the following drafts: https://tools.ietf.org/html/draft-trammell-ippm-spin-00 and https://tools.ietf.org/html/draft-cfb-ippm-spinbit-new-measurements-00.
> The main difference is that the spin bit is a resource conserving mechanism since there is no timestamp processing and no timestamp on the wire, the RTT is given by the duration of the spin period. But it can only do measurements once for every RTT.
> What do you think?
> 
> Best Regards,
> 
> Giuseppe
> 
> 
> -----Original Message-----
> From: LOOPS [mailto:loops-bounces@ietf.org] On Behalf Of Carsten Bormann
> Sent: Tuesday, June 18, 2019 12:42 AM
> To: loops@ietf.org
> Subject: [LOOPS] Measuring forward latency
> 
> The proposal in
> 
> https://tools.ietf.org/html/draft-welzl-loops-gen-info
> 
> measures forward latency by having the egress node send back some acknowledgements that carry a timestamp of arrival (expressed in egress node local clock time).  No timing information is conveyed in the forward direction.
> 
> This assumes that the local clock of the egress node is useful for relaying timing information to the ingress node.  In many cases in today’s networks, nodes are synchronized using NTP (or maybe even PTP), so the clocks should not be diverging wildly.  Also, the assumption is that today’s nodes can keep their clock drift in check well enough that the latency measurements are not useless.
> 
> However, there is some systematic error being introduced if the nodes are not perfectly in sync.  This error should be an essentially constant addend (positive or negative) to the measured latency (maybe even leading to mostly negative “latency” measurements, which may seem illogical but may not invalidate the congestion detection math).
> 
> If the latency measurement is mostly used to detect upticks in latency that might be indicative of congestion, all this should not be a big problem.
> 
> Alternative approaches might:
> 
> — need to send more information (essentially running a per-tunnel time synchronization protocol, which is wasteful) — complicate the processing.
> 
> Note that the ingress node has under control how many ACKs with a time stamp it receives, by controlling the rate of setting the “ACK desired” flag; an ingress node that does not care about latency might never set that flag (and rely on cumulative “bitmap” style acknowledgements, called “block 2” in section 4.3).
> 
> So are we happy with the latency measurement approach described in the proposal?
> 
> Note that an ingress node can independently estimate RTT by noting when packets have been sent (in ingress node clock time) and noting the arrival time of an acknowledgement for that packet (if the PSN is different per transmission there is no ambiguity).  The overhead for storing the transmission point in time nearly vanishes behind the storage of the packet itself (which is needed at least in retransmission mode).  This independent RTT measurement is necessary because the path for the reverse information may be rather different from the forward path and also because delayed acknowledgement schemes add to the RTT.
> 
> Does the proposed design look right?
> 
> Grüße, Carsten
> 
> --
> LOOPS mailing list
> LOOPS@ietf.org
> https://www.ietf.org/mailman/listinfo/loops
> -- 
> LOOPS mailing list
> LOOPS@ietf.org
> https://www.ietf.org/mailman/listinfo/loops

-- 
LOOPS mailing list
LOOPS@ietf.org
https://www.ietf.org/mailman/listinfo/loops