Re: [Ntp] Negative leap-second?

Harlan Stenn <stenn@nwtime.org> Wed, 03 August 2022 01:55 UTC

Return-Path: <stenn@nwtime.org>
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 29C55C13C233 for <ntp@ietfa.amsl.com>; Tue, 2 Aug 2022 18:55:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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
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 XycfC_y9JWJI for <ntp@ietfa.amsl.com>; Tue, 2 Aug 2022 18:55:10 -0700 (PDT)
Received: from chessie.everett.org (chessie.everett.org [66.220.13.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 789FCC14F745 for <ntp@ietf.org>; Tue, 2 Aug 2022 18:55:08 -0700 (PDT)
Received: from [10.208.75.149] (071-084-168-128.res.spectrum.com [71.84.168.128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by chessie.everett.org (Postfix) with ESMTPSA id 4LyFL41jwMzMP2w; Wed, 3 Aug 2022 01:55:08 +0000 (UTC)
Message-ID: <f95814cf-0391-a6f9-caab-edae86e70085@nwtime.org>
Date: Tue, 02 Aug 2022 18:55:06 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
To: Danny Mayer <mayer@pdmconsulting.net>, "ntp@ietf.org" <ntp@ietf.org>
References: <b023985d-76c3-c6b9-3b5b-f10b3cabd2f5@pdmconsulting.net>
From: Harlan Stenn <stenn@nwtime.org>
In-Reply-To: <b023985d-76c3-c6b9-3b5b-f10b3cabd2f5@pdmconsulting.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/EyyNbVZbanK-NEIrmpceRsCq15Y>
Subject: Re: [Ntp] Negative leap-second?
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: Wed, 03 Aug 2022 01:55:14 -0000

I don't think this really matters.

The fastest way to make sure that systems will handle leap seconds is to 
decide to implement a forward leap second in, say, January, and then a 
backward leap second in, say, March.  Then add one in May and subtract 
one in July.  Repeat.  When an actual leap second is really needed, just 
skip one of these, as appropriate.

Doing this will give folks plenty of opportunity to make sure that leap 
second processing code works, on an ongoing basis.

If folks prefer, do these once every third month instead of every other 
month.  The trick is to do them often enough that vendors have a clear 
reason to get this working correctly.

On 8/2/2022 4:05 PM, Danny Mayer wrote:
> Apparently the earth's rotation is speeding up: 
> https://www.timeanddate.com/news/astronomy/shortest-day-2022
> 
> If we have to subtract a leap-second I think we will see failures, since 
> this is rarely if ever tested.
> 
> Danny
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
> 

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!