Re: [LOOPS] Timestamps and delay measurements

"Zhouxingwang (Joe)" <zhouxingwang@huawei.com> Mon, 21 October 2019 06:48 UTC

Return-Path: <zhouxingwang@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 38F47120077 for <loops@ietfa.amsl.com>; Sun, 20 Oct 2019 23:48:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-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 hw7h0KDvhSaO for <loops@ietfa.amsl.com>; Sun, 20 Oct 2019 23:48:51 -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 B1C77120052 for <loops@ietf.org>; Sun, 20 Oct 2019 23:48:51 -0700 (PDT)
Received: from LHREML713-CAH.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 70F808D13FE1CD2D4F6B for <loops@ietf.org>; Mon, 21 Oct 2019 07:48:49 +0100 (IST)
Received: from dggeme707-chm.china.huawei.com (10.1.199.103) by LHREML713-CAH.china.huawei.com (10.201.108.36) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 21 Oct 2019 07:48:48 +0100
Received: from dggeme758-chm.china.huawei.com (10.3.19.104) by dggeme707-chm.china.huawei.com (10.1.199.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 21 Oct 2019 14:48:46 +0800
Received: from dggeme758-chm.china.huawei.com ([10.6.80.69]) by dggeme758-chm.china.huawei.com ([10.6.80.69]) with mapi id 15.01.1713.004; Mon, 21 Oct 2019 14:48:46 +0800
From: "Zhouxingwang (Joe)" <zhouxingwang@huawei.com>
To: Carsten Bormann <cabo@tzi.org>, "loops@ietf.org" <loops@ietf.org>
Thread-Topic: [LOOPS] Timestamps and delay measurements
Thread-Index: AQHVhFgaGwW/9H9a+E6l28ETvKQS9adkXrCQ
Date: Mon, 21 Oct 2019 06:48:46 +0000
Message-ID: <cff37a9fe65f4fecbe4b8f044a59ff96@huawei.com>
References: <85A3D130-43C8-4D89-B45B-75632331C5DF@tzi.org>
In-Reply-To: <85A3D130-43C8-4D89-B45B-75632331C5DF@tzi.org>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.134.27.230]
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/vRuud9ppZEIwuY5_uQghFvUiFpA>
Subject: Re: [LOOPS] Timestamps and delay measurements
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: Mon, 21 Oct 2019 06:48:54 -0000

Hi Carsten, 

About the random VMs, some public cloud provider does not provide the synchronized time for their VMs by default, and the time difference between the VMs changes a little (found a 3750ms variation for like 40 hours roughly).
And for the cached timestamp, it will be a problem if LOOPS is implemented in high speed and memory limited device, like physical switch or router.

Thanks
Joe

-----Original Message-----
From: LOOPS [mailto:loops-bounces@ietf.org] On Behalf Of Carsten Bormann
Sent: Thursday, October 17, 2019 3:29 AM
To: loops@ietf.org
Subject: [LOOPS] Timestamps and delay measurements

In the process of preparing the next version of the gen-info draft, there are a few items where it probably would be good to get wider input.

One of these is the use of timestamps.

Gen-info says that “block 1” reverse information (requested using the “ACK desirable” flag) has a wall clock time of reception of the forward packet that was triggering it.  This is a good way to measure one way latency if we believe the clocks on ingress and egress are synchronized; the quality of that synchronization limits the quality of the measurements.  The mechanism is still reasonable as a way to measure one way latency variance if we believe the clocks are maybe not synchronized, but do advance along the same time scale.

Question 1:
In your applications, would you expect to have reasonably synchronized clocks between ingress and egress?  Reasonable clocks at all?  Do you have data points, e.g., for random VMs in the cloud?

The prototype protocol described in appendix A uses a different form of timestamps: timestamps on a local timescale of the ingress (not further specified by the protocol) can be inserted by the ingress and are echoed back in ACKs.  (No information about time at egress is used.)  This can be used to cheaply obtain samples of round-trip time, including delays in sending back the ACK.  The timestamp is not strictly necessary if there is another correlation mechanism, as the timestamp can be stored at the ingress and retrieved if an ACK comes back.  This has two drawbacks:  (1) The timestamp needs to be stored with the cached packet, which may or may not be easy in a specific implementation, and (2) the correlation afforded by a packet sequence number has ACK ambiguity if the PSN is re-used in a retransmission (see the other message).

Question 2:
In your implementations, is it onerous to store a transmission timestamp with a cached (for retransmission) packet on the ingress?

The assumption of gen-info is that it is good to have samples of one-way delay in order to assess congestion, and that some measurement of round-trip delay is needed as an overall timing of retransmission and for ejecting cached packets.  Anything else you would expect LOOPS to measure in the way of timing?

Grüße, Carsten

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