[Ntp] Antwort: Re: An NTPv5 design sketch<

kristof.teichel@ptb.de Tue, 21 April 2020 11:48 UTC

Return-Path: <kristof.teichel@ptb.de>
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 C8F6B3A0973 for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 04:48:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.42
X-Spam-Level:
X-Spam-Status: No, score=-1.42 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.377, HTML_NONELEMENT_30_40=0.001, MIME_HTML_ONLY=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 pWwU02-RlUHY for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 04:48:37 -0700 (PDT)
Received: from mx1.bs.ptb.de (mx1.bs.ptb.de [192.53.103.120]) (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 82DA93A0972 for <ntp@ietf.org>; Tue, 21 Apr 2020 04:48:36 -0700 (PDT)
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de with ESMTP id 03LBmZDP022970-03LBmZDR022970 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Apr 2020 13:48:35 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTPS id 0F96794445B; Tue, 21 Apr 2020 13:48:35 +0200 (CEST)
MIME-Version: 1.0
X-Disclaimed: 1
Sensitivity:
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <20200420124341.GA9621@localhost>
References: <20200420124341.GA9621@localhost>, <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>
From: kristof.teichel@ptb.de
To: NTP WG <ntp@ietf.org>
Cc: Daniel Franke <dfoxfranke@gmail.com>, Miroslav Lichvar <mlichvar@redhat.com>
Message-ID: <OF024FE192.9CB59614-ONC1258551.003A6435-C1258551.0040DEA6@ptb.de>
Date: Tue, 21 Apr 2020 13:48:33 +0200
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/meAucSUuhqA9bQHlL6vbEVW1ThU>
Subject: [Ntp] Antwort: 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 11:48:40 -0000

From my recent experience in evaluating and comparing different time transfer technologies for different use cases, I carefully agree with Miroslav.

Several differences between NTP and PTP are inherently polar opposites on parameters (such as the presumed level of support by involved hardware) that seem like they should be viewed as more of a spectrum.
Also, the fact that both protocols already come as pre-determined bundles of parameters (often offering the mentioned polar opposites) artificially creates a separation of use-cases.

Overall, I think three use cases are already well-served:
1) You absolutely need sub-millisecond performance AND you physically control the whole network AND have the resources to install massive amounts of expensive hardware (AND, if you need an absloute reference such as UTC, you have high-accuracy access to it at at least one point in your network),
2) You want to do your synchronization via the internet AND want to use non-specialized hardware AND you really only need tens-hundreds of milliseconds of accuracy guaranteed but are happy if you statistically mostly get three or four orders of magnitude better than that,
3) You need sub-millisecond (possibly sub-microsecond) accuracy AND you have access to an antenna with good reception AND you don't really worry about anyone jamming or spoofing your signal.

Everything else currently seems to require significant compromise and/or research and development.

While I think the points of avoiding featurism and re-inventing solutions for solved use-cases are perfectly valid, I also think it is worth to think about possible (new or unusual or just previously neglected) use-cases that slight variations of NTP could help solving.


Best regards,
Kristof



ntp" <ntp-bounces@ietf.org> schrieb: -----
An: "Daniel Franke" <dfoxfranke@gmail.com>
Von: "Miroslav Lichvar"
Gesendet von: "ntp"
Datum: 20.04.2020 14:45
Kopie: "NTP WG" <ntp@ietf.org>
Betreff: 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" rel="nofollow">https://www.ietf.org/mailman/listinfo/ntp