Re: [Ntp] Hard NO: Re: WGLC - draft-ietf-ntp-ntpv5-requirements

Dave Hart <davehart@gmail.com> Tue, 26 December 2023 23:23 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 92709C14F60B for <ntp@ietfa.amsl.com>; Tue, 26 Dec 2023 15:23:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, 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] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QjNFRCXVSMnI for <ntp@ietfa.amsl.com>; Tue, 26 Dec 2023 15:23:37 -0800 (PST)
Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (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 C2293C14F5E5 for <ntp@ietf.org>; Tue, 26 Dec 2023 15:23:37 -0800 (PST)
Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-dbd990ad852so3058030276.1 for <ntp@ietf.org>; Tue, 26 Dec 2023 15:23:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703633016; x=1704237816; 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=PAXtEX8COVa3gM+bWB39KSSGNy6YxWqEGhjGXwNV2VU=; b=JJbLRDhXGyrLVjD0mivoXnASYqOUf7qmbMruLtQTwO1HQDazWoic1XulRGI08zDkwk vZ5neEc8DBJUGo2RrKm+1B4SlhzA50YUt32mg2MZzdOwFNj/rhDuRsL2+LgvwJxvkkbR F2Lp36jSCpKO1Jaalolw8ggF4OVYyt66GiKqLzaA/80mujjhbMOIxV/h7pu8IasHSre7 tY1WePvVCXavwffSCIz8v0RL7r2MxoWqftntruIbIukdYmvzC4jcVMzWBZqNWtejey9D uXhqtdLfWL7kg0ZaKYg1Iv+DBschV29i0HPkMwgLq6XXFJ+LNe3Qdtmeo8qPpnqCpXuA i8bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703633016; x=1704237816; 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=PAXtEX8COVa3gM+bWB39KSSGNy6YxWqEGhjGXwNV2VU=; b=wPD4BKRjUsEQXTZeZLAf6kfQmLhG9ojSgmjFGNXtmC4IDfyhLDWNRKXG8ZQBuxk5UA j/o2XwzxtHzA8/y4rQtvJQTcu8IctELSQYqhMx2ZrY6/jcGfyuJkUZaqkiyqisBaEbhP 288VeAag1O+4ji8FTAADvOxDdFHRmOqEZx5vLhcEu9FT94haO0oWKXU6V06JqLnDmXJV gY5WaAvpKryQ3/8Q8g5A7QVm1SIvMcP4DFaCWH0cqMiBB9MDoe4VGw1ttTAfm1nkz2v3 oxnObvjrJ2SPKzLsaFuFavb4UJ6leDRXSSYQdvKWNtR6LoUE3v0yx3L/V8nvazhiR8UM /ftg==
X-Gm-Message-State: AOJu0Yz77PXNL42h4UXjw9WCXzaD+T1Ie0G5oc25RO/+U20ISuA0hUo5 aeHZ4aiwa7ClPfPgGxN1U7GSvlG2PNnKsnGQFV6Rk+qYfME=
X-Google-Smtp-Source: AGHT+IF0GdtouF9IbYwKDoem6gXQxw7qfL4Cf/pTRCTWIf6LZIYrFfT8gw8nnspC6MxatFH7LV67uA5A/epKMtplOIQ=
X-Received: by 2002:a25:b197:0:b0:dbd:139f:8f2d with SMTP id h23-20020a25b197000000b00dbd139f8f2dmr3403300ybj.38.1703633016501; Tue, 26 Dec 2023 15:23:36 -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>
In-Reply-To: <ZXs4h46SERybNw_t@localhost>
From: Dave Hart <davehart@gmail.com>
Date: Tue, 26 Dec 2023 23:23:25 +0000
Message-ID: <CAMbSiYDeP9BObzQS+A2xKk5wN3LiW_zQ4S+D_d9WwhYyrq9Mkg@mail.gmail.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Harlan Stenn <stenn@nwtime.org>, James <james.ietf@gmail.com>, Steven Sommars <stevesommarsntp@gmail.com>, Karen ODonoghue <kodonog@pobox.com>, ntp@ietf.org
Content-Type: multipart/alternative; boundary="000000000000c6bc85060d71f8a6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/9CHPjeMaFvZjzZOptNFDsWFqKAE>
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: Tue, 26 Dec 2023 23:23:41 -0000

On Thu, 14 Dec 2023 at 17:18, Miroslav Lichvar <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.


> which can be sometimes seen
> even on monitoring graphs of 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.

Cheers,
Dave Hart