[Ntp] Antw: [EXT] Re: Timescales

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Wed, 09 December 2020 13:29 UTC

Return-Path: <Ulrich.Windl@rz.uni-regensburg.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 1DAB03A1666 for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 05:29:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 aWUC9tt8qNIz for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 05:29:35 -0800 (PST)
Received: from mx4.uni-regensburg.de (mx4.uni-regensburg.de [194.94.157.149]) (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 BDFA53A1669 for <ntp@ietf.org>; Wed, 9 Dec 2020 05:29:35 -0800 (PST)
Received: from mx4.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 3A7A6600004F for <ntp@ietf.org>; Wed, 9 Dec 2020 14:29:33 +0100 (CET)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx4.uni-regensburg.de (Postfix) with ESMTP id 1904D600004E for <ntp@ietf.org>; Wed, 9 Dec 2020 14:29:33 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Wed, 09 Dec 2020 14:29:32 +0100
Message-Id: <5FD0D13C020000A10003D6CB@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.3.0
Date: Wed, 09 Dec 2020 14:29:32 +0100
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: Hal Murray <hmurray@megapathdsl.net>, mlichvar@redhat.com
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <20201209101830.7CB0240605C@ip-64-139-1-69.sjc.megapath.net> <20201209113003.GA2352378@localhost>
In-Reply-To: <20201209113003.GA2352378@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/PW5hxK-Vcv0_l-xNWOVyGohc1-I>
Subject: [Ntp] Antw: [EXT] Re: Timescales
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: Wed, 09 Dec 2020 13:29:38 -0000

>>> Miroslav Lichvar <mlichvar@redhat.com> schrieb am 09.12.2020 um 12:30 in
Nachricht <20201209113003.GA2352378@localhost>:
> On Wed, Dec 09, 2020 at 02:18:30AM ‑0800, Hal Murray wrote:
>> Given TAI, there are 2 pieces of information that a clients needs to handle

>> UTC and its leap seconds.  The first is the current TAI‑UTC offset.  The 
>> second is when the next leap second happens.  That data changes very 
>> infrequently and with plenty of warning.  There is no need to clutter up 
>> on‑the‑wire protocols with it.  A client could get it from a leap‑seconds
file 
>> distributed by their distro.
> 
> Relying on a separate source like the leap‑seconds file is not always
> possible. The device may not have an up‑to‑date OS, or actually have
> any writable memory to store that information.
> 
> There is definitely not a plenty of warning. Some reference clocks
> give the leap announcement only an hour before it happens (e.g.
> DCF77). Even delaying setting of the kernel leap status to the clock
> update can be a problem if you are polling at 1024 seconds and have
> more than two measurements dropped in a row in the clock filter.

However you could see the leap indication flag also as "leap confirmation"
flag (actually there will be a leap event). With only DCF-77 clocks this could
be a problem. As said earlier, it would be best if NTP could reliably transfer
the leapsecond table, or at least the relevant part of it to make clients know
in advance that and when a leap event is scheduled.

Regards,
Ulrich

> 
> ‑‑ 
> Miroslav Lichvar
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp