Re: [Ntp] Antw: [EXT] Re: An NTPv5 design sketch

Doug Arnold <doug.arnold@meinberg-usa.com> Tue, 21 April 2020 18:14 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 733043A0958 for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 11:14:31 -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 cJ4iElpJjCY6 for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 11:14:28 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2054.outbound.protection.outlook.com [40.107.20.54]) (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 70C2B3A0951 for <ntp@ietf.org>; Tue, 21 Apr 2020 11:14:25 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m4J7CQT1AxeykZdH4g88G9IXHRmGwXnLjjmUzk+kyTqKZZrCqrctii+0sZAJ2gDS2zU8FG5uZ7UAFLFLkld7GrvFWQsHVVP5P4Y5FPCt9nnzSPzQk2XsG+zhZDg99HOnV0d3Lqm6e0L39yXjyalQEUYB1XEMzh2nQatDie54wQT2SVQXWSW/3RglzZ7amPVO57+AoQl8MQZigLDD4es7R3BDllYnYQSVtCkd91zobVK6IX4QoLraukc5KiVfp7VRjeR1LpAyFEdy9AvMB5qEHWoGbmuFK4kjtWi7qYf7zGEoAdWyzq83WYCEW18kG1S+M7x5YKwwO3CZl5xatWX+tw==
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=Ik1bdU8ynz1lJd/R3vE//VxRdMGuhP+Qq2e+pPQU7ZY=; b=lKfRKl1vZaFrLEGvulamXHvRTdJ37Io3JOk9ZvuT2fL1jKcM8dvTG78wJlG3/zDIkgGxNmGLbg8gXe0g4DC0ypwA/n3X24DMSVjYmHC5uAk6ikSC8KxGwE4JSleNt1wj2Y3mjpkTs05j5yEUyQ2omb2Nq4MEaEoqDPII7q4j1dWx6PmLibwqFVvcT8DLH/HkZTkSvM+xBjUAwhHh/dOTm/5sDS9TL8axINmMGwIaZH624Q69Mgd4CzBJ9bE9Sqprjm9aR2kmOv8EckoQCe7PVWIqbSnwO84CqanQvIcErn3oJ4y/utxUXLj8SKvA44dTC91so4irWGoxBnIjcnOMYg==
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=Ik1bdU8ynz1lJd/R3vE//VxRdMGuhP+Qq2e+pPQU7ZY=; b=lq+u5yHKQVnnD3H8irz9POf2rvjkPwkcF3INCr7BJjc/tgBHbe7r9J6n3f/7eBRz0D6lJysM0L2EQXo8jO6aFXtYukDnUo/XybSybCi8gyF/IKegiIJBI9ksI4CBTRO9GBFPD5caXKuKx/ypnxoGyCmvJ6dxGSGX/Ij4nL6qSDQ=
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com (2603:10a6:10:eb::31) by DB8PR02MB5611.eurprd02.prod.outlook.com (2603:10a6:10:eb::31) 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:14:21 +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:14:21 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, Rich Salz <rsalz=40akamai.com@dmarc.ietf.org>, Kyle Rose <krose@krose.org>
CC: "ntp@ietf.org" <ntp@ietf.org>, "mlichvar@redhat.com" <mlichvar@redhat.com>, Daniel Franke <dfoxfranke@gmail.com>
Thread-Topic: [Ntp] Antw: [EXT] Re: An NTPv5 design sketch
Thread-Index: AQHWF+X6YWmsJh0lqUiXL5RR9mPFLKiD1Nw8
Date: Tue, 21 Apr 2020 18:14:21 +0000
Message-ID: <DB8PR02MB5611C758B4CD7D17E4EC9C26CFD50@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> <1ECC0FB5-3079-471E-847D-6E8DFBE1B9D7@akamai.com> <25459_1587477108_5E9EFA73_25459_2_31_CAJU8_nUXUEtsddE9byQgEfMknLSz8ywMs23CNyYKFKOYPgLbQA@mail.gmail.com>, <5E9EFC87020000A1000386A5@gwsmtp.uni-regensburg.de>
In-Reply-To: <5E9EFC87020000A1000386A5@gwsmtp.uni-regensburg.de>
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: 21b953ea-0319-4e4f-e630-08d7e61fd0c3
x-ms-traffictypediagnostic: DB8PR02MB5611:
x-microsoft-antispam-prvs: <DB8PR02MB561104499732C4D82BB30B55CFD50@DB8PR02MB5611.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
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)(376002)(366004)(396003)(136003)(346002)(39830400003)(81156014)(52536014)(55016002)(71200400001)(4326008)(26005)(9686003)(54906003)(110136005)(316002)(33656002)(8676002)(19627405001)(53546011)(6506007)(91956017)(8936002)(44832011)(2906002)(5660300002)(186003)(66446008)(7696005)(508600001)(66946007)(76116006)(66556008)(66476007)(64756008)(86362001)(966005); 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: qS3c8GbFbZ0hCvkKx8WHK68npAIJdGfDJTPxs8us/R2WByOZ+PaASy1UCqyv3ll3BM12NM2u4N4CAoZQZ46z2MvIiT6Y1keF5XtS9GY2fefzsfBtgROZEjTrFOUURHvfCMhIl4G4UI/bONgNTzKNcopXu9wCooAUOVXqc7KkWz3Yb9uLEZfZqDJ9HVM6F90YdUaoM4KsqrZzRWMsv08SbwNYUpe6tOnQXBCbeVU6RRoDigEQXKcmQDnkcnqv/NMRacRHjDPTsboB2bQbvy64RjOS7UAfcM8yw2HLpNPSGbVvGORxeJUOhss/SGomt9YGhTlcEtiAxSYfzQ1QkbkxOxEF9LLQeRH69pcGG/ntyBBEnMKSBsmRPdk8sVySI2htsGfhQIYXObMrhvXjYRTFYllhcQN6t8myCPxper4zgE7zyjE7cF/11ImdqTGTrRb4l/bbGVB1fzbmtAP4brsQRwdLWXpnw/CMNQzI7nw2in8HlxqDv6XiAJQwGwPzPphEGI6PtfWgDwEmBvvYKBPn5w==
x-ms-exchange-antispam-messagedata: 8JBsWvTu8sTQmMyZEe+pPczp+9rT7giajeKgmki+howa+QD1Ja5WIVSIldwNmI8VptNN6NxpJ/KbpHSi8R4d4iVq8PFO77GXxTZPlyGu/0vgZ8Q+eeb5UIn4bEt5/jb2rGRT/0yAFtuBoacg1/6XoQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DB8PR02MB5611C758B4CD7D17E4EC9C26CFD50DB8PR02MB5611eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 21b953ea-0319-4e4f-e630-08d7e61fd0c3
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2020 18:14:21.6049 (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: 1rSdLzvr9D0jGjSYwsOk6a1Le8HXD6MB3TVMOmNTEm3RTW3JasFjIQw2E96P6LqyqxgT7VmFw2MkrW6NkYj0M5GPYWLloAmd2hFD3F4gkj8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR02MB5611
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Ax_X6saKYXZmr-vGOPM5lvmKM8w>
Subject: Re: [Ntp] Antw: [EXT] Re: 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: Tue, 21 Apr 2020 18:14:32 -0000

There are use cases for this concept:

The virtual clock can be kept as a backup to some other source of time, and could take over the system clock if the other source of time went away.  That would allow the NTP servo loop to be warmed up  and experience less startup transient when it took over.

One could have several sources of time come into a device, through different mechanisms, each run its own virtual servo loop. A combining algorithm, outside of each of the mechanisms, controls the clock using information from all of the mechanisms.

A device might have a clock running on some arbitrary timescale as part of a closed system, but keep a virtual NTP clock just to log events with standard time.

Here is a crazy one, but a company actually uses it in their network.  Time is distributed by both PTP and NTP.  If the time from the two distribution mechanisms agree to within the expected error bounds, then the clock is set by PTP, which is assumed to be more accurate.  If PTP and NTP time disagree by too much, then the clock is set by NTP, which is assumed to be more robust.  Kind of embarrassing for both protocols if you ask me.

There are probably other use cases.

Doug

________________________________
From: ntp <ntp-bounces@ietf.org> on behalf of Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Sent: Tuesday, April 21, 2020 7:00 AM
To: Rich Salz <rsalz=40akamai.com@dmarc.ietf.org>; Kyle Rose <krose@krose.org>
Cc: ntp@ietf.org <ntp@ietf.org>; mlichvar@redhat.com <mlichvar@redhat.com>; Daniel Franke <dfoxfranke@gmail.com>
Subject: [Ntp] Antw: [EXT] Re: An NTPv5 design sketch

>>> Kyle Rose <krose@krose.org> schrieb am 21.04.2020 um 15:51 in Nachricht
<25459_1587477108_5E9EFA73_25459_2_31_CAJU8_nUXUEtsddE9byQgEfMknLSz8ywMs23CNyYKF
OYPgLbQA@mail.gmail.com>:
> On Tue, Apr 21, 2020 at 9:35 AM Salz, Rich <rsalz=
> 40akamai.com@dmarc.ietf.org> wrote:
>
>>
>> >    The device may be very simple. It may not have an OS and NTP may be
>>     the only networking it does. It could be measuring intervals in a
>>     physics experiment, or controlling a robot in a factory.
>>
>> I would like to see this use-case *not* be a requirement for NTPv5.
>>
>
> Strong agree, but because NTP's purpose is to synchronize wallclock time
> first. Intervals are a second-class citizen, and anyway conflict with the
> first requirement once you get beyond very short intervals.

An interesting concept would be a "virtually corrected (software) clock" that leaves the OS clock alone, keeping the offset and drift als variable. So at any time the OS clock could be "fixed" from the virtual clock as if it were continuously adjusted all the time. Eventually this would allow to run multiple versions of NTP on a single host ;-)


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