Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03 / Extension fields

Doug Arnold <doug.arnold@meinberg-usa.com> Thu, 02 December 2021 17:20 UTC

Return-Path: <doug.arnold@meinberg-usa.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1E013A12A5 for <ntp@ietfa.amsl.com>; Thu, 2 Dec 2021 09:20:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=meinberg-usa.com
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 X8mr-XDFC8_7 for <ntp@ietfa.amsl.com>; Thu, 2 Dec 2021 09:20:25 -0800 (PST)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40082.outbound.protection.outlook.com [40.107.4.82]) (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 DE40B3A12A0 for <ntp@ietf.org>; Thu, 2 Dec 2021 09:20:24 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gBjSfO42fshvvN/XQqyxMy9qemrtsBeaHuUH+2PgGm+9Mfnp/p9wyKsnzyk5wB7n7lte6cVPzYGBTfHoN5vIqdTqoRhnVyeDmYwpLOOuYd8KnBmVZYwIVNtc7tbeZshyA+KH/+KCvh01WUPb+nvYxoVwQz63EfbcZWMOK4pMVzm04iDT50z1GH+yIjbQaG1V0asn8m9Yq1d7UV9maE3JTdphEDwPCqW8ulFFnaTOQQIBU20KRjWD2fQ/5LXDnARS2NXCQQR923ydc0N0+PJJh53148/ajc46nouEhDfqjA4C7rnJ0ky5hi4DGqoIqGjA3vF2wDTNYwvjZ6K7S2IPIA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RyjiRATm8sZmMqFC113pHCxWy+NmkyU+d6qHV2Yj0Ak=; b=kSzXfVQoGeuky6WYR2pmO3biYs1iY/+DbrzXpVDBd5/OcAZoiJM4TG+2UsjQDHg0ua3/uIrMB50Bkzf0hMwgLcfOKKFAOfyeJZZT1eNacqwlwqqjdR+0kjFqYpTOlpePl4GTWdHE6CnRY4UwPV1CxYTVCUeU/UGG6UxRs1wQwvLxNNQOUoQeetprsYdEahPl+FThxT2nLpNqT8+A810nv2mdN6fSRXxoFE0gR8c7gxUEVKU17bDPoACF9aruL6SU2aObtkcjVX5xL42kSx/w7aLUbFosGDlZMYgIJcjzrx0PJE9QWjxK1BHgp40ETouZUiGIlZTaOfbCLMfk+fBfOg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meinberg-usa.com; dmarc=pass action=none header.from=meinberg-usa.com; dkim=pass header.d=meinberg-usa.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meinberg-usa.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RyjiRATm8sZmMqFC113pHCxWy+NmkyU+d6qHV2Yj0Ak=; b=CTRwRJXt6t4TQ4YVQBMgln4oc12O62vP2DTJbEzOhOt8AnPlsMmN6Pi57GdhYtvZb2QMqskyBCemP6do8Z2XZ0O/VZquKMXDUvA7TVRhXeDNLkFWnMcm1vshSOu4raBK8eM9q8COHFMp2/5kRliotLCrDFiB0hc7FuCZXRIksN/mshFfNhLVNOVGBqEqNzsjtmwc5cCBgQy0JEw1XVWgNtz0Mf/YBKFd5wKl4poo9hI4Xv0Z8t3AP1Qq+pbc98ouBmM9PHW6o62H7ymdxQEzz5xHSn22UoAy7raB60I1u3JPA2TSiCb+MojW+vtAc7WoW3AhLAUXHxm9emfl8dQkVA==
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com (2603:10a6:20b:102::15) by AS8PR02MB7462.eurprd02.prod.outlook.com (2603:10a6:20b:3f7::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.11; Thu, 2 Dec 2021 17:20:17 +0000
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com ([fe80::d054:3b1a:4c3b:413b]) by AM7PR02MB5765.eurprd02.prod.outlook.com ([fe80::d054:3b1a:4c3b:413b%9]) with mapi id 15.20.4734.024; Thu, 2 Dec 2021 17:20:16 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Miroslav Lichvar <mlichvar@redhat.com>, "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03 / Extension fields
Thread-Index: AQHX4nhpuYXsfuOR+UeEb2QhbER8g6wdh8cAgAEcwICAAExWAIAAh4l5
Date: Thu, 02 Dec 2021 17:20:16 +0000
Message-ID: <AM7PR02MB57650A1696E0708E322247E7CF699@AM7PR02MB5765.eurprd02.prod.outlook.com>
References: <20211123131501.Horde.ErUH7VWw3Nr2PFkAGzGIEuI@mail.drown.org> <20211125214748.Horde.K2Fa5qir5iPLYRvfQJBMx8m@mail.drown.org> <YadcBggcGB2plRcB@localhost> <20211201222611.Horde.cHBebdjnI893O9eYyGQ_AE7@mail.drown.org> <YaiK7LT+BHaJMkyv@localhost>
In-Reply-To: <YaiK7LT+BHaJMkyv@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=meinberg-usa.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 488b66f6-525c-4517-a86a-08d9b5b80278
x-ms-traffictypediagnostic: AS8PR02MB7462:
x-microsoft-antispam-prvs: <AS8PR02MB7462A0702E4F325AB4E947C2CF699@AS8PR02MB7462.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: UCd0OS3rGS51g1yFc5V/flQ1CQy5GkP8CAf1RCDyDUBIR6QErNxmRmrEM8PU/JaVMe029GhX6sthEcD5oIIQj5V1uWZ5kgaqHK/n6TgaVt+a5tuaSW13nhSyBhGjRwINvR7LcDJ1BIqNbIlT4wtsvbonv0A9bdu/9kSSGsu1Jby49vXadW+IcpPWMsedEy6zMXL3ymyW1bNxSjKf2yeDowMVAtYoO4UCW/yj8OrZ8QDSRqZgcmt9P1uQWp3rq2V12RpC0ZKmvTxUC8hwyxL4NM7dJYYquVHYiTezs7ASROk7dfOe4azNs5H8vBPcarcxVQPjx/Osie4f/XuLe8/SSm2rxcu3af6cOteAYZZBGnetOeRvN1Yc6ePwJVQE1IZ+fEgVBAppTyvLR18Go+QP2x9S+IgWcOLtmc0ntQOxE3MWdn35UonOcACshaBceiGJ/MbUCKnuUl2DB5LB8F2pMVoMnl1nmSiQ74/T9CQm6Yfi6pjm80f93BTsrTZHiHcR8gz0izITLtvsE1uz9W+dAvlinri0F2KvOC6oXrVkNC1nunRW5aSXJR7BsWD+TYW9q9bhWlSR9MIatUMhzlncUQ66nroAp2qAeEFKw30MYyhx7KuN9/0XlczEo6Hg8DocTwnI+IqaPpNhUjLGMVQgRYJbdjNmdIs/yF++EU4OP+6AVCbwrUvxyZZxBXDR5r1fbung4pyi358I6yPb1qTRDu5rk8l/p9aJtyZYgxMigZ7mlcFtFqMr29nIJ3CYXUm/8oydUo7gEz1eEGra5g0jpTmaMeG78FAYp/L/pBIPvrI=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR02MB5765.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(346002)(396003)(39830400003)(376002)(366004)(55016003)(33656002)(83380400001)(2906002)(5660300002)(38070700005)(508600001)(110136005)(316002)(86362001)(8676002)(9686003)(66574015)(6506007)(7696005)(26005)(966005)(44832011)(76116006)(64756008)(66556008)(66476007)(66946007)(66446008)(91956017)(166002)(122000001)(52536014)(8936002)(53546011)(186003)(71200400001)(38100700002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Oz5OaqA+8QaI3wNBVO6GI1gCrxpJjTqTMFQ1jjSABBWGR5EvHjEc8NgtIgeAfpWzyNmIr191732gN0PrL6LnW8ih0uWWk2fp6XOW8FE59w5k1Q/Zs8ZuyVIMWotEtwZ53Tsh0qgVzNi0CllpTkNjy3Z8b78o/Y/J1LbF4QI4NY13xGt5ZK6zNlMir4uV7tJLtMClfsC5LEDcYYNg3LNzdkwLo6DIglBQi3f87UcuqACa0kotHw1tlz+qgZZ02ZwO9PTZT9+jQtx3SrlItZ9S7uTR3UtDnnNfg5IMp9nQwcQBAw0rdER7SO4YZdCkqmfvAEHBA4T0a+aFx1GxKhQCnpI1ueglqxIrgI/xpo8pWdrOv9ahhiwEZPN3bUMzXlKV704iYTrtw7Ps/RvyWJMGFzpe534XIjQjwJcWIKX/C7MDCUhvS/zViVB1Sa2rhjI7T8aQWoVWrVBE96Cy4MIsT42W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qYhufSxGrQds34e8dNobnteRlFFjflFWESKTf4pBo2ZqOIwQWHPvx3CXtnhJ4+mFvQJjxqOXZ91/pswwliM4GDjDYiuIreQnMut4eKm/lmj/yDuX5ebixSjNVXTJF2EXus=
Content-Type: multipart/alternative; boundary="_000_AM7PR02MB57650A1696E0708E322247E7CF699AM7PR02MB5765eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR02MB5765.eurprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 488b66f6-525c-4517-a86a-08d9b5b80278
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2021 17:20:16.8552 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d59904cd-769f-4368-8bd0-f5f435893a38
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: dHfdMj3cMwf8rD6BvLR0HT4gqfoqEzn9QQzCt/FhsfUGYlIl61xjPKKKz22kCKEWSKWEL6FH7Qldo5LoRpVmH05sCKNNfklTzIkF5rthxco=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR02MB7462
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/cD3n5J4jXHl6RKNFgn8-Rlo_NxE>
Subject: Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03 / Extension fields
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Time Protocol <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 17:20:30 -0000

Just to be clear: PTP does not require that all switches are PTP capable.  The ITU-T G.8265.1 and G.8275.2 profiles explicitly assume that there is no or only partial timing support in the network path.  Financial data centers often do not need on-path support since their networks are designed for minimum latency.

Practically speaking, in long network paths, it would take only one busy router with no timing capability to render the correction field irrelevant. The Correction proposed for ntpv5 would probably be most useful for site local use cases, at least at first.  But if it became common for switch and router vendors to implement this feature, then WAN timing would gradually become more precise.

Doug

From: ntp <ntp-bounces@ietf.org> on behalf of Miroslav Lichvar <mlichvar@redhat.com>
Date: Thursday, December 2, 2021 at 3:59 AM
To: ntp@ietf.org <ntp@ietf.org>
Subject: Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03 / Extension fields
On Wed, Dec 01, 2021 at 10:26:11PM -0600, Dan Drown wrote:
> Quoting Miroslav Lichvar <mlichvar@redhat.com>:
> > I have no idea if anyone is actually willing to implement the
> > correction field. In any case, it will still be more difficult to
> > implement than the PTP correction field as NTP works with timestamps
> > corresponding to the end of the reception instead of beginning.
>
> Wouldn't the middle boxes just need to measure queue latency from RX(first
> byte) to TX(first byte)? The gist you linked had the correction factor just
> adding latency in the request packet and subtracting latency in the response
> packet to result in the asymmetric latency that the client can use as a
> correction.

That assumes the correction field is supported on all network devices
between the server and client, or at least that all network links have
the same speed and the packet length doesn't change (e.g. due to
adding and removing VLAN tags). If that is not the case, the
correction will have an error due to the asymmetric link speed or
length.

In the NTPv5 draft this specific case is mentioned, but in general it
is required that the correction works with the end of the reception to
support networks where not all devices support the correction field.

This is in contrast to PTP which requires the support everywhere. That
is ok as PTP was specifically designed for full hardware support. But
in NTP I think it would be nice if switches in a network could be
upgraded only one at a time without breaking the assumptions.

--
Miroslav Lichvar

_______________________________________________
ntp mailing list
ntp@ietf.org
https://www.ietf.org/mailman/listinfo/ntp