Re: [Ntp] [EXT] NTPv5 -- drop leaps

Hal Murray <halmurray@sonic.net> Mon, 24 July 2023 05:06 UTC

Return-Path: <halmurray@sonic.net>
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 73316C1527A0 for <ntp@ietfa.amsl.com>; Sun, 23 Jul 2023 22:06:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.897
X-Spam-Level:
X-Spam-Status: No, score=-6.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 LvwMDf7mAdzn for <ntp@ietfa.amsl.com>; Sun, 23 Jul 2023 22:06:35 -0700 (PDT)
Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (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 BC5D2C151081 for <ntp@ietf.org>; Sun, 23 Jul 2023 22:06:35 -0700 (PDT)
Received: from 107-137-68-211.lightspeed.sntcca.sbcglobal.net (104-182-38-69.lightspeed.sntcca.sbcglobal.net [104.182.38.69]) (authenticated bits=0) by c.mail.sonic.net (8.16.1/8.16.1) with ESMTPSA id 36O56XDm004117 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sun, 23 Jul 2023 22:06:33 -0700
Received: from hgm (localhost [IPv6:::1]) by 107-137-68-211.lightspeed.sntcca.sbcglobal.net (Postfix) with ESMTP id 3963A28C1C3; Sun, 23 Jul 2023 22:06:33 -0700 (PDT)
X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8
To: NTP WG <ntp@ietf.org>
cc: Hal Murray <halmurray@sonic.net>
From: Hal Murray <halmurray@sonic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 23 Jul 2023 22:06:33 -0700
Message-Id: <20230724050633.3963A28C1C3@107-137-68-211.lightspeed.sntcca.sbcglobal.net>
X-Sonic-CAuth: UmFuZG9tSVblItm8EXMxd20zpw68+EuFXLzyPKgPQmNzYYwjHGQlRljL2xgs6p8+oOAxhaOofJtpfiDMjNTPVjtFVbJf8n+maJtcBkqma5Q=
X-Sonic-ID: C;UHmY298p7hGamhdnR+6Zsg== M;jMep298p7hGamhdnR+6Zsg==
X-Sonic-Spam-Details: -0.5/5.0 by cerberusd
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/AbA4NP28luFRgeEjFnqqWvfqa_I>
Subject: Re: [Ntp] [EXT] NTPv5 -- drop leaps
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: Mon, 24 Jul 2023 05:06:39 -0000

Warner Losh said:
> But UTC-LS is too vague. There are a dozen ways to smear 

I thought all the big players in the smearing world had agreed on a linear 
smear over 24 hours, centered on the leap.  Thus smearing from noon to noon 
bracketing the leap at midnight.

>From https://developers.google.com/time/smear:
   We encourage anyone smearing leap seconds to use a 24-hour linear smear 
from noon to noon UTC.

>From https://aws.amazon.com/blogs/aws/look-before-you-leap-the-coming-leap-seco
nd-and-aws/
AWS does the same.  I can't find a simple sentence.
There is a table about half way down, and a paragraph before it.


But I guess my "all" was optimistic.

Meta/Facebook is/was different.
  https://engineering.fb.com/2022/07/25/production-engineering/its-time-to-leav
e-the-leap-second-in-the-past/
More recently, it has become a common practice to "smear" a leap second by 
simply slowing down or speeding up the clock. There is no universal way to do 
this, but at Meta we smear the leap second throughout 17 hours, starting at 
00:00:00 UTC based on the time zone data (tzdata) package content.

It will be interesting to see what they do if there is another leap.



-- 
These are my opinions.  I hate spam.