Re: [Ntp] An NTPv5 design sketch

Doug Arnold <doug.arnold@meinberg-usa.com> Mon, 20 April 2020 14:18 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 408853A0743 for <ntp@ietfa.amsl.com>; Mon, 20 Apr 2020 07:18:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.808
X-Spam-Level:
X-Spam-Status: No, score=-0.808 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.82, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinbergfunkuhren.onmicrosoft.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 HA_QbCgWF4mI for <ntp@ietfa.amsl.com>; Mon, 20 Apr 2020 07:18:23 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20081.outbound.protection.outlook.com [40.107.2.81]) (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 B975E3A065A for <ntp@ietf.org>; Mon, 20 Apr 2020 07:18:21 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T2tG5wIZ8xPBJoc87uo47ow1BgQ/lh2xcW23CzhtX+KZikcKOzCxN1wtIB6oll25uD5yE1AGXSXajmIkxBCz4633p7RmRziA5LeqJBbOAUE/JwttOrOPZWpBZxRkjeRutILTQSbvBPPz1GnbCGzySf2ChSfAoMoK6Q6lzlvaRYmX728dt22fzhOVu0PYCN7Lqeo+KMxugSEoa6FYn7kH9qdM3KKM86FTMh0OHDmk1DKIFNjteJnsOBK4x3p3EoKgobVmyX0PwC9vcyJF0XG5bOC+6WSGcQDUC+9QV0l8OwTC/5IyjqGb1HSOKWaMVYT4PDIKUPrXqxAtkDirzL6fqg==
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-SenderADCheck; bh=rg8ra0vxfO7Ed5DKJVhFTri2684GfdvJQli3LXy/6UY=; b=GRW9VVkF9D1iSIMbfv6uNd/Qc6xyIMqZeN9DYpSBup1ftBGZJ6zjPLF1tQEyzPcKYmrhI6FEvtRpdjKvUsU7QpmP6vEinLWI+dzD3FakE7YHLnmjM6W2tLpTUtix4WdgIZYOlhdsPzdO/HK8AfM95M1j7LOnu8y+w2n1y2qIXRnbrbS8VcRKPrEQsXVsPS36uI8sKkoW/IDexwpNOgsp924275j9fYE2NMFwBimo0bFdxQKTrMjuiPLUrWrmHqmnXA08ysg03GOYW3N4NRhAIgpGezyIzcQNdWSQbLKKFDinRczgVmVCM2T1f6ByW/+ToY7ijDc6PU5SQecRYqy2xA==
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=meinbergfunkuhren.onmicrosoft.com; s=selector1-meinbergfunkuhren-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rg8ra0vxfO7Ed5DKJVhFTri2684GfdvJQli3LXy/6UY=; b=UQ9xNy4fOCTppQGC9RxcQiFrbxMrL49SyXjFLTDwJCS7ux/kCnlhlMpSCkk1UmpSbVi5oAPAKQ7q74s4Q0rLDDXk4IDcPh7I6WAIkSH0QD9WRG1Qm9BOFD7hteXpmZ722tt8MZRz+OTg9mmzm8/xk6c0HMb8tfR2DW2YEDR9Ij8=
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com (2603:10a6:10:eb::31) by DB8PR02MB5561.eurprd02.prod.outlook.com (2603:10a6:10:eb::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Mon, 20 Apr 2020 14:18:14 +0000
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com ([fe80::9525:30ab:defe:44a6]) by DB8PR02MB5611.eurprd02.prod.outlook.com ([fe80::9525:30ab:defe:44a6%7]) with mapi id 15.20.2921.027; Mon, 20 Apr 2020 14:18:14 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Miroslav Lichvar <mlichvar@redhat.com>, Daniel Franke <dfoxfranke@gmail.com>
CC: NTP WG <ntp@ietf.org>
Thread-Topic: [Ntp] An NTPv5 design sketch
Thread-Index: AQHWEOYv5hVc24KDEky093B5a71QhKh4fQ+AgAA8gQCAAA4YgIAACmqAgAD4yYCAAJCNgIABFBmAgACZI4CABfgzgIAAEiHk
Date: Mon, 20 Apr 2020 14:18:14 +0000
Message-ID: <DB8PR02MB5611D827B97DE29970FB9C9FCFD40@DB8PR02MB5611.eurprd02.prod.outlook.com>
References: <CAJm83bBV+Pox3r6KU49ShwMOvr=R+U_vDKJtSZhfT6XX4qWmbA@mail.gmail.com> <20200414112541.GD1945@localhost> <CAJm83bCxuS_X68-pvpOWCPSmjAjTeYNJVuuOEhV-i82R7B28Mg@mail.gmail.com> <20200414155241.GF1945@localhost> <CAJm83bC1EhwQQ=+B7XPbEkvhOWvxU8zjCd290Fj5N43aMJQTkg@mail.gmail.com> <20200415072023.GG1945@localhost> <CAJm83bAEDuLk6vSa82D3smXO4x7iDywoy+FpC=gdm=m3SLrVLg@mail.gmail.com> <20200416082557.GI1945@localhost> <CAJm83bBBAwA9Da7aasneHV+JfVDOaT2j-Ymyem40-VFmjTQ8Jg@mail.gmail.com>, <20200420124341.GA9621@localhost>
In-Reply-To: <20200420124341.GA9621@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=doug.arnold@meinberg-usa.com;
x-originating-ip: [64.30.82.72]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d9eff04e-9941-4bbc-4565-08d7e535a9fe
x-ms-traffictypediagnostic: DB8PR02MB5561:
x-microsoft-antispam-prvs: <DB8PR02MB55612B0B1BB78A1CCD2212DFCFD40@DB8PR02MB5561.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 03793408BA
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR02MB5611.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(396003)(346002)(366004)(136003)(376002)(39830400003)(91956017)(26005)(19627405001)(2906002)(508600001)(966005)(86362001)(52536014)(316002)(33656002)(110136005)(5660300002)(7696005)(9686003)(66476007)(81156014)(55016002)(8676002)(66946007)(66556008)(44832011)(71200400001)(66446008)(6506007)(53546011)(8936002)(4326008)(64756008)(66574012)(76116006)(186003); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: meinberg-usa.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aBzy6aqg0Qup+bSIqG5FHKkrO+p2p5wfGX/vssPbCvUYS/ChWxYW8i4sOWSODR+PCvXjpU3/S8Ru1RZzyZ0nB1Frcmi6wZEov6L/68t+A5l+iZZ5aR+DZTrTxqoM/WeE6dJAJX7iSa71xCA1mUACYSQesoMDMnsJdShUcTRNN72vtQSODknQ2HZgr3xT/0d29z0kXjJyTO9CP6tdA5Sz9Pxc44QIt4uJDvOAf6rfzI+GcJT7xM5H/f8r/0PZqzwSg75r48MpBVEeCLjSQolk6a8pCtttdwtrZGfG43GLUdFd5oQgGkwbqe7IU3O9BizmEUkKkyXN7eLZmkrKaI+shZ+Fji9hd1Z6+kkuS0CxYXgNViEmdtzXYPgYTeA/qRdbjudrCYSa6oTPemJSyqnm71QYUgo6ZV5LHMvF8svbHUWBXMlgPo9+ngjdKjnoQ5cDVp4yH3MXem74V6oOikpIBjxE9jA5ZlDwMvWD93vkrkSXC43wFOJs3M5OL7zYEpZ+zWHB+2T1i5QCkbWqRMJOaw==
x-ms-exchange-antispam-messagedata: bZKh8FaY9xq8sLLZeVXL0NbcyYUEx7bzCNpl/tthIuUMVmX/4DxfznyOaKDKPxgcFSh0D6zkzhduCOvJSJWctc68REr+IDMi/U6wSXmC5JACtUlXeBvZm+cQDixQJE3IZ0iMeHj2+j7gb49Ln6trug==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DB8PR02MB5611D827B97DE29970FB9C9FCFD40DB8PR02MB5611eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d9eff04e-9941-4bbc-4565-08d7e535a9fe
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2020 14:18:14.2746 (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: HXnDmjGxU39BmQ70abxXP8EwHkiJQb8CvH2Wx80XCxpdqmGVYRQq7nDrZTJhXzQZ/ipMv1PX7el8R22Px8EwxwtCST/6iUiz0zrgRez2bJY=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR02MB5561
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/mTA9vJCpgJgAYnjjr37z5DVdlJ0>
Subject: Re: [Ntp] An NTPv5 design sketch
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <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: Mon, 20 Apr 2020 14:18:30 -0000

There are other key differences between PTP and NTP.  I will list, from the point of view of people familiar with NTP:

  *   Many PTP profiles are layer 2 only, no IP, and sometimes not even Ethernet.
  *   Many users of PTP like to have a strict hierarchy of clocks, one grandmaster, and not have clients or higher stratum clocks ensemble time from multiple servers.  Some people currently using PTP hate this and would rather use a version of NTP tailored for high accuracy.
  *   The assumption of many in the PTP world is that masters have extra processing cycles available, and not slaves (the opposite assumption of NTP)
  *   Many PTP profiles want the network hierarchy to be auto configured, as in using the Best Master Clock Algorithm, which depends on multicast operation.

I think the way to make sure that NTPv5 is useful in ways which PTP isn't is to maintain and perhaps enhance the following properties of NTP:

  *   Layer 3
  *   client server
  *   unicast is primary mode of operation
  *   ensemble of time from multiple servers with voting algorithms for robustness
  *   good cryptographic security
  *   works in WANs, including the public internet

As I mentioned above there are people currently using PTP, who wish that they could use NTP, except NTP doesn't have enough accuracy.  They would have the accuracy if they could run NTP at higher message rates, and substitute different servo filters.  One company has done well with financial data center customers by creating a non standard NTP which does these things.  The proposed modular architecture for NTPv5 would accommodate this.

Doug

________________________________
From: ntp <ntp-bounces@ietf.org> on behalf of Miroslav Lichvar <mlichvar@redhat.com>
Sent: Monday, April 20, 2020 5:43 AM
To: Daniel Franke <dfoxfranke@gmail.com>
Cc: NTP WG <ntp@ietf.org>
Subject: Re: [Ntp] An NTPv5 design sketch

On Thu, Apr 16, 2020 at 01:34:03PM -0400, Daniel Franke wrote:
> At any rate, I second Doug Arnold that if a use case is
> already well-served by PTP, then complicating NTPv5 on their behalf is
> not solving anyone's problem.

I think PTP and NTP have different goals, but overlapping use cases.

PTP is basically NTP in broadcast mode, where the protocol is designed
for hardware support to be as easy as possible. NTP may be more
difficult to support in hardware, but if it could be supported, I
think in many cases it would be preferred over PTP.

A use case where the broadcast design of PTP is an issue (and where
NTP would be preferred) is synchronization in large networks where both
multicast and boundary clocks need to be avoided (e.g. to avoid long
chains of servos). The unicast mode of PTP requires a client-specific
state, which is an issue with larger numbers of clients (it's not
unusual for GM clocks to support only 2048 clients or less), and there
is also an issue that it has practically an infinite amplification
factor, so the access needs to be carefully controlled.

--
Miroslav Lichvar

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