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

Dieter Sibold <dsibold.ietf@gmail.com> Wed, 22 April 2020 06:59 UTC

Return-Path: <dsibold.ietf@gmail.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 732943A0894 for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 23:59:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=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=gmail.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 T3MoMM6uKKzv for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 23:59:33 -0700 (PDT)
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8BDBE3A0895 for <ntp@ietf.org>; Tue, 21 Apr 2020 23:59:33 -0700 (PDT)
Received: by mail-wm1-x336.google.com with SMTP id v8so4136950wma.0 for <ntp@ietf.org>; Tue, 21 Apr 2020 23:59:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1w+LF4PPbO8Ub5KDO4dfWM7g0W3AYK5iUfdNm/1TXNw=; b=K0WFaBcCNdUbp+Y6LEC4ZNWR9lp+Ag9bD7CJqb6eXhWiAw0ws69bEUQCNhyyCvWXuF 82YprsMbiCixywrlNygrREdCGMkW0pnUuNCT23TAUEJ6n+rmosHFjQTKO5xwfGrfE77V vN2rj+SQcIECZjqiVugck+kZugbf6ec/RUIDVSWu+Z3ksZ1pIel0K0yNAG94sRREivLo JIc4QPPUjJJLJCRFhJBAExC6gcj3xEB9wHnd0YrfKXjY/SELuh7ozEE4LWNqduBIHNv/ /f6TNQCuBjBxUTVdkVy1oJRdTPPXDnjuybgmKUQOahKoqLlNfSqz4AN/Xy+XuT2gyBNU J8cg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1w+LF4PPbO8Ub5KDO4dfWM7g0W3AYK5iUfdNm/1TXNw=; b=g8EuoHjig3O0VTxT9CbL32SylLNVhEalRVaHKZdd7sfe2uUEhVjcvPQC7fjcyyfhz5 b9YYNPfx0A0/LnMOrGfGJh8EPBZnCLGhndYbDTVyKS4RX3mxjNNrWyEIxY0z2R+J6rNR lycjKhA8oo3U+cIjmZpAirtXH3nriQRYsWiy67dNZ9PO3cVYoBB48ob7/E/8CMiuXf7C TMAXiHIPKtIeQEER8JvyJTGmOeoKhQYIFYhbNkNBEjlqKYlDsA8Aij7krKMiQT61VK6m z/4+6b/XXwdb0MP5FWG0IH+Y+UIk3J0d8sE7IjohDFJU1YL8OiKPCc/hItAubJYNi617 Y5Yg==
X-Gm-Message-State: AGi0PuYS357LqUiRHgQVIaObWraOlZbTXRc+aqpeHFnGRpSy9SyvHeDk XSWa9NXteE8tpPAnAgOTlx0=
X-Google-Smtp-Source: APiQypLwHe2wj6/wOFZv9chQeXwwMAJAXXrzBHH6D9IMENdtkIZe50Wis0f3n5kf0ORosJGAvHwmiQ==
X-Received: by 2002:a1c:3b09:: with SMTP id i9mr8608693wma.19.1587538771976; Tue, 21 Apr 2020 23:59:31 -0700 (PDT)
Received: from [192.168.111.35] (p200300D17F1535004C974B845B775FD6.dip0.t-ipconnect.de. [2003:d1:7f15:3500:4c97:4b84:5b77:5fd6]) by smtp.gmail.com with ESMTPSA id 5sm6133103wmg.34.2020.04.21.23.59.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Apr 2020 23:59:31 -0700 (PDT)
From: Dieter Sibold <dsibold.ietf@gmail.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: stenn@nwtime.org, philipp@redfish-solutions.com, ntp@ietf.org
Date: Wed, 22 Apr 2020 08:59:27 +0200
X-Mailer: MailMate Trial (1.13.1r5671)
Message-ID: <5297B1E5-7BD6-42CE-A4F0-306E28E098F4@gmail.com>
In-Reply-To: <5E9FE526020000A1000387C2@gwsmtp.uni-regensburg.de>
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> <31673_1587492815_5E9F37CE_31673_735_1_2A6E880D-C467-4AC5-A8C2-F3C61B323A53@redfish-solutions.com> <5E9FE526020000A1000387C2@gwsmtp.uni-regensburg.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/pkqgk6vQ3tmSMVN5QLQ-xwMIlTc>
Subject: Re: [Ntp] [EXT] Re: 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: Wed, 22 Apr 2020 06:59:36 -0000

On 22 Apr 2020, at 8:33, Ulrich Windl wrote:

>>>> Philip Prindeville <philipp@redfish-solutions.com> schrieb am 
>>>> 21.04.2020
> um
> 19:56 in Nachricht
> <31673_1587492815_5E9F37CE_31673_735_1_2A6E880D-C467-4AC5-A8C2-F3C61B323A53@redf
> sh-solutions.com>:
>
>>
>>> 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.
>
> What speaks against that IMHO is correctness assumptions: If everybody 
> can
> define his own algorithms, but subsequent clients have to use those 
> numbers for
> their own correctness calculations, how can a client have any 
> guarantee that
> the time is within the bounds the packets (I'm not using the word 
> "protocol")
> claim? Even with the current NTP implementation it's quite a challenge 
> to
> assure that the time displayed is the actual time (the NTP performance 
> numbers
> may look nice, but still the time can be wrong).

The NTPv5 protocol specification has to define a set of metrics which 
each server instance at each stratum has to pass to its clients. This by 
the way also is necessary for achieve traceability. If these metrics are 
well defined, correctness assumption is a priori independent of the 
algorithms to discipline clocks.

>
>>
>> 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
>
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp