Re: [Ntp] The bump, or why NTP v5 must specify impulse response

Doug Arnold <doug.arnold@meinberg-usa.com> Tue, 21 April 2020 18:59 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 DF0DE3A0766 for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 11:59:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.233
X-Spam-Level:
X-Spam-Status: No, score=-1.233 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no 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 WjQrpRiiwob3 for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 11:59:56 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2064.outbound.protection.outlook.com [40.107.22.64]) (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 715373A0768 for <ntp@ietf.org>; Tue, 21 Apr 2020 11:59:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Emkv3l5DHMhcyk77Dm8vQc8jQafvlz+LRqyVIQBWaJSLNbKW4UvX43DrChgYdGHeP0KJ7vC7tUDcp3W2dL/CoCitnqExkn5SFs+FrOZDlZ+rwakNKcr+bJkdpWXD2XpfE2cxC5+YZ6blbU3SoqAXMEd1i4PAN17dh8JcPjaJKtcYRophCmpQ7mrJWTj22chwJzCCbJtnZAmoH50YFMCX+//31B2HluwN7V3ftPIRlK5XK7Kbb8SxXUp/KjYWHcG6wEesjZ31tSICNfar74mVehbtZE6SWZQeNqqVXtUNHRInUY2nYm1dM2lRI2HNKQM1NCvuCdgEmNalWIoqLyWj+A==
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=5EC86PKXNdpDUXtf6IMgZSt3C8yBmHFSUgb40L7V9sY=; b=RdqrtRE6ErvwLn5/JuJXRu195F+Cb1gJm8UgT3IrM8sNEGi7EbgUbB0oyGqGH/HB3osI/5eFDPIer8ZvT2MsuwdDA8lxAVsvFkKotkAGbKKGKoGsJHqaANtOD6OEXTqtPKclXvNkbYSZJp/229gYU4ILE9O/4EPFANBSDdSODBIifwa2WBb1e+WtyznpJtlUl7ASMccGzw2b5KMw88C99KvX92hFknz+Q/NEUk9zNQyJ0M4t0Vq8MCFxIqjjSVUqOO0moktUd95IB5/QkGd1d3HmsrGqRau3W1a3F5ark6kgdIJEUgascUarMWro2Xetikw9MoLAbae6m/zZxVK9xw==
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=5EC86PKXNdpDUXtf6IMgZSt3C8yBmHFSUgb40L7V9sY=; b=HMZbN6s9ljP/92xmE0XRvMQ14GEHLpyxeThMULbSpWGEhzdMmdWoH115hrechFPs1ssRQVdZTgRYlqeEO0Mqu6e3tWRFSZglbCA2nPjdaT+joIGEsn+Q/Llgrvs5eTPV/D9vB4A/3ldzjrH5YR+eu52/Rzo3nT0dGF3yP5cv4ps=
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com (2603:10a6:10:eb::31) by DB8PR02MB5515.eurprd02.prod.outlook.com (2603:10a6:10:bf::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Tue, 21 Apr 2020 18:59:49 +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.030; Tue, 21 Apr 2020 18:59:48 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Philip Prindeville <philipp@redfish-solutions.com>, Harlan Stenn <stenn@nwtime.org>
CC: "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] The bump, or why NTP v5 must specify impulse response
Thread-Index: AQHWERdg/8i/rvFkyUOx/r80OrpRSqh3G4MAgABSFYCAAAKRAIAADJ2AgAAM+D+AAPEegIABe/OAgAA9WACAAVTegIAAO6oAgAADBQCAAAOSgIAAeiEAgAAIswCAANtNAIAGwOMAgAAFiD4=
Date: Tue, 21 Apr 2020 18:59:48 +0000
Message-ID: <DB8PR02MB56110A4D1FB7871594CBB990CFD50@DB8PR02MB5611.eurprd02.prod.outlook.com>
References: <CACsn0cm3jpKZTUQ=novTgVaFhc1xCJgmUF3oOgdrzQa-HgOCUQ@mail.gmail.com> <CAJm83bAqbMMs2W3SyH+3c17wcC85paY4-_jk2SxczgsxBLyYyA@mail.gmail.com> <CAJm83bAQeR_6U3jgmbWzdus3pu+OO2_KP+M9RtbCFYOfDQy4dw@mail.gmail.com> <DB8PR02MB56111CCA23CDCF97A3C9F3E8CFDD0@DB8PR02MB5611.eurprd02.prod.outlook.com> <F7E5836A-4C7A-4A1A-B769-65EADE2C8F5C@gmail.com> <7d909ae3-a830-1270-6920-fa088a56525e@nwtime.org> <6C9832A9-E18B-4DE2-934F-9E471FC22F7B@akamai.com> <bc7920e2-dc81-ba7f-ec24-7926cda8589d@nwtime.org> <alpine.DEB.2.20.2004161430210.5561@grey.csi.cam.ac.uk> <93795d4a-25e7-c918-47d4-44aa6d92ee5e@nwtime.org> <20200416135547.GF412294@roeckx.be> <2d483354-a707-fbca-e914-cbe1479a4c25@nwtime.org> <CAJm83bAMxGrx_PSPQUjERzT2TT_0Tiutx=R0LRF2m9bY4QTj4w@mail.gmail.com> <39a14fe5-845d-aa3a-f236-5e767b6cce95@nwtime.org>, <2A6E880D-C467-4AC5-A8C2-F3C61B323A53@redfish-solutions.com>
In-Reply-To: <2A6E880D-C467-4AC5-A8C2-F3C61B323A53@redfish-solutions.com>
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: 975cc847-1f26-4f48-ae56-08d7e6262a57
x-ms-traffictypediagnostic: DB8PR02MB5515:
x-microsoft-antispam-prvs: <DB8PR02MB5515498221DF5BFCFC78E9F0CFD50@DB8PR02MB5515.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 038002787A
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)(366004)(136003)(396003)(376002)(346002)(39830400003)(86362001)(52536014)(8676002)(71200400001)(81156014)(186003)(8936002)(2906002)(316002)(966005)(33656002)(55016002)(9686003)(19627405001)(508600001)(66556008)(66946007)(5660300002)(26005)(6506007)(66476007)(66446008)(64756008)(7696005)(91956017)(4326008)(110136005)(44832011)(76116006)(53546011); 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: FLBckHDNzww62HopH3/Raevv9282E59IDF8dSZ5j34pMsNhDccFt1Bfw/WWvUvyBAoQJU52ihTiiUdyQIpw7vNhRvTCVC23Ak4lJfiYmokUHg3rx0jhgk7+BIVVm74lhkFNk4mWUzWpdH/Aq12q/2/Oe+eR/k1Dcl8V3qYUiSGZ9Ozq+SETI9R7dDhl8+uH4nQ1J2xFatH3a8Aa8j7jUHRDSR9N4FN7z/vrEHzlcbrLRKip6/X92CQf7FtkfLtZV9qnDBDkI/uJFoPx3lboaeBf3p/0S7oFbHCFyJrXVQ4wn7PBybrvvZKSgxj/26xHHtS1h7PHcPquuuk1WjUSNQmwpJUA93V6uoBI79TitMugEzQDDgNjkFGpIoZz3y/5I6lFGPC7awm8b7sJuux3lzvYq66Yy9ybiVBJen04hdjxUIKl0VYpEg/cxQB5CBRkIYO4aPGcqeq/CzEdy6cfp6ktyXYAKenML7voq3fKzB5Bd6CIkq40cNHv7O12In4HjLtx9B7qVSipCaMaVMHutZA==
x-ms-exchange-antispam-messagedata: 8foWtP/SaeKU9TUoRQVTngLyTkx5JGOe0fe/j3GiavTc1IngcB5J0snq6HftG7WiXYZARM+iZWIdWp5N6K4XwbSvwLWPIWRZPfQ9nBTkwDW+nwbiPcCSIVEnSY+VEAvC6yTd37yuSE2v9Yrl5mz0sg==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DB8PR02MB56110A4D1FB7871594CBB990CFD50DB8PR02MB5611eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 975cc847-1f26-4f48-ae56-08d7e6262a57
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2020 18:59:48.8260 (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: B0j/lDu3LdfjYRGIZpGevqReD5lEMNI9Rm2uGjaX6pnLClrPSBl01GT3JrpPYl3oEELepdDHNyG0U/y5EUfuRCIFVodRXLDEobXPZV5cg7o=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR02MB5515
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/0ndPs8uY_fYSDXtCZ0r7SVssfxw>
Subject: Re: [Ntp] The bump, or why NTP v5 must specify impulse response
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: Tue, 21 Apr 2020 19:00:00 -0000

I agree with Philip.  And I also like the terms protocol and policy.  In my mind the protocol is what has to be the same for implementations to communicate and the policy is what allows a specific node to make use of information received via the protocol.  It is possible to have nodes in the same network using the same protocol, but with different policies.

There could be a generic NTPv5 which works for 90% or more of the users, but a modular architecture which allows for some alternative policies for niche uses.  People are already doing this for NTPv4, its just that its proprietary.

A little reminder of history: an early draft of NTPv4 was based on a modular approach, but was later revised to be a monolithic complete solution.  The monolithic solution works very well for setting clocks in servers and routers for general IT purposes.  However, the collapse of the modular approach drove the telecom timing community out of the NTP working group and into the IEEE 1588, where we ended up defining unicast PTP.  Unicast PTP is incompatible with traditional multicast PTP and in some ways is more like NTP than it is like multicast PTP.  So we created a new find or PTP to fit an application which could have been served by a more flexible NTPv4.

Now the same thing is happening in data centers.  People are installing PTP.  Many of these people tell me they would prefer to install a high precision variant of NTP.  They keep asking me to change PTP to be more like NTP.  It might be better to make NTP a little more flexible than to create more incompatible flavors of PTP.

Doug

________________________________
From: ntp <ntp-bounces@ietf.org> on behalf of Philip Prindeville <philipp@redfish-solutions.com>
Sent: Tuesday, April 21, 2020 10:56 AM
To: Harlan Stenn <stenn@nwtime.org>
Cc: ntp@ietf.org <ntp@ietf.org>
Subject: Re: [Ntp] The bump, or why NTP v5 must specify impulse response



> On Apr 17, 2020, at 4:48 AM, Harlan Stenn <stenn@nwtime.org> wrote:
>
> [snip]
>
> More to the point, NTPv4 and all of its predecessors specified:
>
> - the packet format
> - the algorithms
> - a set of behavioral limits and specifications
>
> This means others were allowed to write specifications (regulations)
> assuming and/or relying on "NTP" - the packet format, algorithms, and
> behavior.
>
> Removing or separating the algorithmic and behavioral specifications
> from the NTP specification at best cost-shifts that discussion
> elsewhere, and I submit it does this to groups that are likely
> completely unaware that they can no longer rely on behavior that they
> had no idea they previously relied on.
>
> Are you planning to just do a protocol spec and "do the algorithms and
> behavior spec later", or worse yet, let others do that if they think
> it's important?


Not to throw gasoline on the fire, but Postel told me decades ago, “don’t confuse protocol and policy” (he was [ahem] encouraging me to drop 3 paragraphs from the draft of RFC 1048).  It was good advice then and it holds.

Algorithms are, in essence, a “policy” for disciplining a clock.

A compromise might be to define requirements for the protocol parametrically, in terms of drift, jitter, etc. while not defining the algorithms to do that.

This opens the field up to more active research in ways to improve the protocol and the use of clocks without tying anyone’s hands.

The protocol could provide a “reference algorithm” that’s used as a baseline and as an example of a certain performance “envelope” under well-defined circumstances.

Given how long NTPv4 has been around (for both right and wrong reasons), it’s reasonable to expect NTPv5 to live at least half as long.  A lot of technology can potentially emerge during that time and we should have the flexibility to incorporate it as it develops.

Look how far we’ve come since Cesium ovens as reference clocks.

-Philip

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