[Ntp] Antw: Re: Resending: Thoughts on draft-ietf-ntp-refid-updates

"Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> Mon, 23 July 2018 06:12 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 3C44A130E17 for <ntp@ietfa.amsl.com>; Sun, 22 Jul 2018 23:12:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 5fV-BMtNbA1y for <ntp@ietfa.amsl.com>; Sun, 22 Jul 2018 23:12:44 -0700 (PDT)
Received: from rrzmta1.uni-regensburg.de (rrzmta1.uni-regensburg.de [194.94.155.51]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B8D0130E12 for <ntp@ietf.org>; Sun, 22 Jul 2018 23:12:44 -0700 (PDT)
Received: from rrzmta1.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 8DCD45E8A1 for <ntp@ietf.org>; Mon, 23 Jul 2018 08:12:42 +0200 (CEST)
Received: from gwsmtp1.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by rrzmta1.uni-regensburg.de (Postfix) with ESMTP id 686B45E7E6 for <ntp@ietf.org>; Mon, 23 Jul 2018 08:12:40 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp1.uni-regensburg.de with Novell_GroupWise; Mon, 23 Jul 2018 08:12:40 +0200
Message-Id: <5B5571D6020000A10002C737@gwsmtp1.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.0.1
Date: Mon, 23 Jul 2018 08:12:38 +0200
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: Daniel Franke <dfoxfranke@gmail.com>, martin.burnicki@meinberg.de
Cc: Ask Bjørn Hansen <ask@develooper.com>, "ntp@ietf.org" <ntp@ietf.org>
References: <5B2795C6-F78E-40FB-8B98-790E50228808@redfish-solutions.com> <5EB0F348-AC75-4C29-A576-FA590305EA2E@netnod.se> <C7C5AC86-1488-452B-8C1D-05F5151D2AFB@develooper.com> <8e0a4de9-71b3-04ec-59fb-4431ea0a2d2d@meinberg.de> <CAJm83bAZcxw6GuXMwJiy0dNJ7RmjJJaXeSNzwQ_5_0xCXUKH+A@mail.gmail.com>
In-Reply-To: <CAJm83bAZcxw6GuXMwJiy0dNJ7RmjJJaXeSNzwQ_5_0xCXUKH+A@mail.gmail.com>
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/qqxtig5EnwLuZzpw96UvuTsyV4c>
Subject: [Ntp] Antw: Re: Resending: Thoughts on draft-ietf-ntp-refid-updates
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 23 Jul 2018 06:12:47 -0000

>>> Daniel Franke <dfoxfranke@gmail.com> schrieb am 20.07.2018 um 15:47 in
Nachricht
<CAJm83bAZcxw6GuXMwJiy0dNJ7RmjJJaXeSNzwQ_5_0xCXUKH+A@mail.gmail.com>:
> On Fri, Jul 20, 2018 at 9:33 AM Martin Burnicki
> <martin.burnicki@meinberg.de> wrote:
>> Please don't blame ntpd for smearing leap seconds.
>>
>> The leap second is inserted/handled by the kernel, and that's basically
>> the way it should be.
>>
>> However, this is often done in a way that applications may become
>> confused if the system time is simply stepped back by 1 s.
>>
>> If you used any other time synchronization software which just passes a
>> leap second announcement to the kernel then the applications will have
>> the same problems.
>>
>> Leap second smearing by an NTP server is just an optional way to avoid
>> these problems because there's no better way to get around it.
> 
> In a better world, both NTP time and POSIX time would be TAI‑based,
> and leap second updates would be handled through the time zone
> facility, with UTC being just another local time zone. Alas, that ship
> sailed away a long time ago.

There may be an problem for embedded devices, however: As obviously your
proposal requires that timezone data is provided (and installed) significant
time before a leap second occurs, I see a problem with embedded devices, as
those see software updates quite infrequently (if at all).

> 
> In a slightly worse world still better than the current one, NTP would
> provide unsmeared time to the kernel, which would provide smeared time
> through the what‑ought‑to‑be‑legacy POSIX APIs, and unsmeared time
> through a new better‑designed API that expresses time as
> whole‑days‑since‑epoch + seconds‑since midnight, so that time can be
> expressed unambiguously during leap seconds. That ship, too, has
> lifted anchor, but maybe it's not too late to jump onto it.

Actually what I was thinking is: Why npt start to adjust the duration of a
second once the leap second is announced (6 months ahead)? That way no normal
system will ever notice. The disadvantage is that all refclock systems will
have to agree on it. That's quite unlikely, however, especially for GPS...

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