Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv5-requirements
Dave Hart <davehart@gmail.com> Thu, 28 December 2023 06:22 UTC
Return-Path: <davehart@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 ABC33C14F70B for <ntp@ietfa.amsl.com>; Wed, 27 Dec 2023 22:22:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.104
X-Spam-Level:
X-Spam-Status: No, score=-1.104 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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001, URI_DOTEDU=1] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lV1fnbiAlgUN for <ntp@ietfa.amsl.com>; Wed, 27 Dec 2023 22:22:36 -0800 (PST)
Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 45874C14F6AE for <ntp@ietf.org>; Wed, 27 Dec 2023 22:22:36 -0800 (PST)
Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-dbd71f33cd3so4419001276.3 for <ntp@ietf.org>; Wed, 27 Dec 2023 22:22:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703744555; x=1704349355; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wS/H+H5ddtk8m5lYOI6auEw9fWYAIUUKecM1qPUMXfc=; b=kWcdGArGqVU3+grU2+8gvYuyMgLH+z3UhOIGyfMQ2m8rVokAa2pErm66a31PPHgIuj tFi0YU4Ha2hgouGzFNn3O+20SC5RpyEtBf14/bXnIyGSg2AHMdLsA7FkV37FSpJQLG9G oH7DYhDa+MbzjgAKePtj/DXYr/0NTdo6lgzgrhe7t1x4cPSxebCQxG3tTpBKbLS+qEJx 1vb+XLj8wihvEg0SsDoS22ry4b6JON+6xzCvypbbh2shaUBRzMf1/vbibuW5K/ZBz+eN VTbLBhJkGBWb6iQGmZGxiuFRctlGAHGcS8iNKimmdIJrexFuJFb72TRSKeNGkK4bS09l iKqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703744555; x=1704349355; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wS/H+H5ddtk8m5lYOI6auEw9fWYAIUUKecM1qPUMXfc=; b=oTaKq394w0FGV6B8vrDKLBsUVIa7Ip3avueYH2LEjEXTzynA8g6TJYvoSaOOL6mtv5 b0UgqiHWdLjNTF2ecuric1dJiMQrrZJvgVzSrfFXkuWsdTOVoH8BERSlCea15SIuFpwH ziBG0Xq8BHxXA7PiZafT4yW8/A1DWDhF5wM32oScDXnGaDAdOdnLSfSKWhC4noVk6DqO xJQvrhKAnQXRiHOVl9MeAIpormCmRMpM1Ix0NSo9Z2C+geS/EBTpo1Ar3j2/fzI80TeK he3DArboQVBlXJCv9dUxxT3upTPv6dsS/+Gv4V3u+a0QiJjY80knxDnXeqnwRdt8jOpV uAyw==
X-Gm-Message-State: AOJu0YxvzsOVtO5q1Y5eDzxmI5jniOWOiDaBjKDIpzCJRQYiVS0j7J1Q BxJBdQ0ku5/PBbIJzZkDsOxOsVqeDEDhseeM6Gq/cNzI1UUAOQ==
X-Google-Smtp-Source: AGHT+IFzgClcEMVgFnpRLdC62D6XvfXwLdaF7zmYjvf7cJr2m6jHjTQj8HxKN5PMVUeF7oC3YoT6IjTyK2hqEd4+QcM=
X-Received: by 2002:a25:c1c4:0:b0:db5:3b32:b1c3 with SMTP id r187-20020a25c1c4000000b00db53b32b1c3mr4762547ybf.21.1703744555015; Wed, 27 Dec 2023 22:22:35 -0800 (PST)
MIME-Version: 1.0
References: <CA+mgmiMFLDRggrBUzdJyjhgbM6q0m8nY8PUoU5oxbR2HtZh51A@mail.gmail.com> <CAD4huA4+5R+tVQJQRFwR6vXuO0FZbtgTZwJeTfDjTVDaT4AwJg@mail.gmail.com> <2AEB577B-AEC3-4414-B8B7-9BA7382F3F54@gmail.com> <2f4226a3-484a-4f44-bd1b-758d648a30cd@nwtime.org> <ZXs4h46SERybNw_t@localhost> <CAMbSiYDeP9BObzQS+A2xKk5wN3LiW_zQ4S+D_d9WwhYyrq9Mkg@mail.gmail.com> <e8e35fef-96ec-4571-b842-100a7579263c@nwtime.org> <CAPz_-SU9Uk8-UnibFzZOGAZx9drL61tEaoACwdfciUjavEPqWQ@mail.gmail.com>
In-Reply-To: <CAPz_-SU9Uk8-UnibFzZOGAZx9drL61tEaoACwdfciUjavEPqWQ@mail.gmail.com>
From: Dave Hart <davehart@gmail.com>
Date: Thu, 28 Dec 2023 06:22:23 +0000
Message-ID: <CAMbSiYDXTZ4B6=+Qu8MizubM+KQR6dvyWJtxpVM8CpWF6vDe6Q@mail.gmail.com>
To: David Venhoek <david@venhoek.nl>
Cc: ntp@ietf.org
Content-Type: multipart/alternative; boundary="000000000000fd829a060d8bf022"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/lThoSr4LsPzKNL9BADH-Cjklry8>
Subject: Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv5-requirements
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Network Time Protocol <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: Thu, 28 Dec 2023 06:22:40 -0000
On Wed, 27 Dec 2023 at 13:04, David Venhoek <david@venhoek.nl> wrote: > >From my perspective, the fact that apparently (at least as harlan > seems to claim in his original email) the algorithm specified in > RFC5905 is fragile would be all the more reason to not specify it as > "the standard". If this is really the case, we should rather be > looking harder for solutions that are more resilient and not so > sensitive to > Fortunately this is not the case. Harlan did not claim in his original email of this thread that NTPv4 is fragile. Your apparent misunderstanding may come from his mention that Dr. Mills showed that _violating_ the specification can easily break a synchronization. That is quite the opposite of claiming RFC5905's algorithms are fragile. [...] > > Looking at the current moment, we are now in a situation where there > are 3 algorithms operating in the space, with the one in the > "reference" implementation, the one from chrony and the one from > ntpd-rs. I have personally not seen any indication of problems caused > by this, rather the oposite. From measurements it looks very likely > that both chrony and ntpd-rs are capable of, with similar poll > intervals, synchronizing to about an order of magnitude larger > precision. > Your use of precision is confusing in this context. In NTP parlance, precision is the minimum change in the system clock, in ancient systems, the clock tick, in modern systems, the time to read the system clock. I look forward to you documenting your claim of an order of magnitude better performance from Chrony and ntpd-rs compared to the reference implementation. I would love to improve the performance of NTP across a wide variety of situations and then promote standardizing those improvements. > [...] > > Also, the fact that David L Mills apparantly had the tendency to just > change the algorithm without changes to the standard at least on the > surface feels also just wrong to me. That gives a lot of vibes of > "innovation, but only by us" from the "reference" implementation > people, which is I think highly harmful. I sincerely hope that that is > just a wrong impression from my side. > It sounds like you're not familiar with the history of NTP. In the beginning, there were fuzzball routers and Arpanet... I don't think it would be productive for me to spend a lot of time repeating what can be easily discovered with a little effort. I refer you to Dr. Mills' papers at https://www.eecis.udel.edu/~mills/, the NTP RFCs, and his second edition NTP book "Computer Network Time Synchronization: The Network Time Protocol on Earth and in Space, Second Edition 2nd Edition" ISBN 978-1439814635. Suffice it to say Mills invented NTP and nurtured it personally for 30 years. He maintained various iterations of the reference implementations over that timeframe, eventually with the assistance of Harlan Stenn. Dr. Mills' health no longer allows him to participate substantially. During that time, he naturally evolved the design _before_ codifying it in standards, and I know of no other reasonable approach. He never wavered from the position that NTP was not simply a wire protocol, but a suite of algorithms carefully engineered, simulated, and tested over time to have predictable and consistently beneficial behavior in synchronizing networks of devices within the limits of their oscillators, reference clocks, communications channels, hardware, and underlying software. If you want to use the on-wire protocol without the algorithms, please see the SNTP RFCs. Cheers, Dave Hart > On Wed, Dec 27, 2023 at 8:22 AM Harlan Stenn <stenn@nwtime.org> wrote: > > > > On 12/26/2023 3:23 PM, Dave Hart wrote: > > > On Thu, 14 Dec 2023 at 17:18, Miroslav Lichvar <mlichvar@redhat.com > > > <mailto:mlichvar@redhat.com>> wrote: > > > > > > On Thu, Dec 14, 2023 at 03:16:29AM -0800, Harlan Stenn wrote: > > > > The core "mission" of NTP is time synchronization with a (well) > > > defined > > > > response to a "time impulse". This is the reason why previous > NTP > > > > specifications have included the algorithms. Prof. Mills and > > > some others > > > > have done a LOT of testing to ensure reliable and predictable > > > behavior of > > > > time synchronization, in the "normal" and "time impulse" cases > > > over a very > > > > wide range of circumstances. > > > > > > If the RFC 5905 PLL+FLL is so great, why is nothing using it, not > even > > > the "reference" implementation in default configuration? > > > > > > > > > Would you mind elaborating how the reference implementation's PLL+FLL > > > feedback loop differs from the NTPv4 spec? I'm not aware of any > > > intentional deviation, but Dr. Mills wasn't shy about making changes to > > > the implementation that he felt was an improvement before documenting > it > > > in another RFC. > > > > > > ntpd in default configuration has a poor response with longer > polling > > > intervals. It suffers from oscillations, > > > > > > > > > If verified that would seem to me a reason to improve the algorithms, > > > rather than decide it's time for a wild west where every NTP > > > implementation is free to behave in any way, as that would invite > > > pathological results in situations where differing implementations sit > > > on the synchronization path between the reference clock and the > ultimate > > > client. > > > > Or better describe the conditions for these problems? > > > > If you are saying that the default config can show oscillations as poll > > intervals increase, all I can say is we haven't seen reports of this. > > > > If we had, we'd be taking steps to fix it. > > > > If you have seen this, perhaps you'd be kind enough to post about how > > one might change the default values to ones more suitable for longer > > poll intervals, or even telling us how to demonstrate the problem. > > > > > which can be sometimes seen > > > even on monitoring graphs of pool.ntp.org <http://pool.ntp.org>. > > > > > > > > > That public pool uses primitive monitoring that does not take into > > > account the delay or jitter between the monitoring station and the > > > server. Moreover, the requirements for participating are very lenient, > > > allowing clocks that appear to be up to 70ms off of UTC. That pool is > > > therefore not a good example of a well-engineered and well-maintained > > > synchronization source. It's fine to get the clock within a few > hundred > > > milliseconds, but stricter requirements call for a more precise source > > > and better error budgeting. > > > > > > Nobody seems to care. Maybe > > > it's a bug, but after so many years I think we can conclude that > > > Internet will not break if all NTP implementations don't have the > > > "well defined" response. > > > > > > > > > The internet will not break even if all NTP sources were only good to a > > > few seconds. Those who require tight sync (such as distributed > > > databases) engineer solutions to meet their requirements. > > > > I'm negatively impressed with your conclusion, Miroslav. > > > > "The Internet" probably won't break, because "the internet" doesn't > > exchange time that way, and I would bet that you know this. > > > > A single machine will either have a crafted config file, well-tended or > > not, and static or pool servers. How well do you think the vast > > majority of these machines are monitored to see if there are problems? > > How badly would they have to screw up to be noticed? > > > > If somebody bothers to look and sees one of the hosts in their static > > config file is bad, they will likely just throw out the bad site and > > replace it. > > > > If they are using the "pool" directive and there are misbehaving servers > > *that otherwise survive the pool monitoring service* then ntpd will > > notice the bad performers and throw them out automatically. > > > > In an enterprise, the odds are quite high that time for the enterprise > > is sync'd from a set of curated machines. These machines are likely > > getting their time from reliable sources. They won't be talking to > > poorly-behaving time sources. This translates to the (internal) > > machines that get their time from the (well-behaved/reliable) internal > > time sources. > > > > So sure, the stuff the NTP Project has put out there is very resilient > > and well-behaved. There's a good chance it will continue to behave well > > even in an increasingly hostile environment. > > > > But why would any <positive-intentioned> person want to take steps to > > increase the environment's hostility? > > > > As I have said before, the world of time-synchronization is not the > > place to use creative destruction as a method to promote evolution. > > > > > Cheers, > > > Dave Hart > > > > > > > > > _______________________________________________ > > > ntp mailing list > > > ntp@ietf.org > > > https://www.ietf.org/mailman/listinfo/ntp > > > > -- > > Harlan Stenn <stenn@nwtime.org> > > http://networktimefoundation.org - be a member! > > > > _______________________________________________ > > 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 > -- Cheers, Dave Hart
- [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements Karen ODonoghue
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements David Venhoek
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements Miroslav Lichvar
- Re: [Ntp] [EXTERNAL] WGLC - draft-ietf-ntp-ntpv5-… Denis Reilly
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements kristof.teichel
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements James
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements James
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements kristof.teichel
- [Ntp] Antwort: Re: WGLC - draft-ietf-ntp-ntpv5-re… kristof.teichel
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements James
- [Ntp] Antwort: Re: WGLC - draft-ietf-ntp-ntpv5-re… kristof.teichel
- [Ntp] Fwd: Antwort: Re: WGLC - draft-ietf-ntp-ntp… Daniel Franke
- [Ntp] Antwort: Re: WGLC - draft-ietf-ntp-ntpv5-re… kristof.teichel
- Re: [Ntp] Fwd: Antwort: Re: WGLC - draft-ietf-ntp… Salz, Rich
- [Ntp] Antwort: Re: WGLC - draft-ietf-ntp-ntpv5-re… kristof.teichel
- Re: [Ntp] [EXT] Hard NO: Re: WGLC - draft-ietf-nt… Hal Murray
- Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv… Miroslav Lichvar
- Re: [Ntp] [EXT] Re: Fwd: Antwort: Re: WGLC - draf… Windl, Ulrich
- Re: [Ntp] [EXT] Re: Fwd: Antwort: Re: WGLC - draf… Ira McDonald
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements Steven Sommars
- Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv… Dave Hart
- Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv… Harlan Stenn
- Re: [Ntp] [EXT] Hard NO: Re: WGLC - draft-ietf-nt… Windl, Ulrich
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements Steven Sommars
- Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv… Miroslav Lichvar
- Re: [Ntp] [EXT] Re: Fwd: Antwort: Re: WGLC - draf… James
- Re: [Ntp] WGLC - draft-ietf-ntp-ntpv5-requirements James
- Re: [Ntp] [EXT] Antwort: Re: WGLC - draft-ietf-nt… Windl, Ulrich
- [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv5-re… Harlan Stenn
- Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv… David Venhoek
- Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv… Dave Hart
- Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv… David Venhoek
- Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv… David Venhoek