[Ntp] Antw: Re: Antw: [EXT] Re: CLOCK_TAI (was NTPv5: big picture)

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Mon, 11 January 2021 06:56 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 5991B3A165A for <ntp@ietfa.amsl.com>; Sun, 10 Jan 2021 22:56:11 -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=unavailable 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 ChjlFwHq0mdv for <ntp@ietfa.amsl.com>; Sun, 10 Jan 2021 22:56:08 -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 856533A165C for <ntp@ietf.org>; Sun, 10 Jan 2021 22:56:07 -0800 (PST)
Received: from mx4.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 54142600004F for <ntp@ietf.org>; Mon, 11 Jan 2021 07:56:05 +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 C5D7C600004E for <ntp@ietf.org>; Mon, 11 Jan 2021 07:56:02 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Mon, 11 Jan 2021 07:56:02 +0100
Message-Id: <5FFBF681020000A10003E15D@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.3.0
Date: Mon, 11 Jan 2021 07:56:01 +0100
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: martin.burnicki=40meinberg.de@dmarc.ietf.org, doug.arnold@meinberg-usa.com, mlichvar@redhat.com, emmanuel.fuste@thalesgroup.com
Cc: "ntp@ietf.org" <ntp@ietf.org>, magnus@rubidium.se
References: <20210102081603.1F63C40605C@ip-64-139-1-69.sjc.megapath.net> <cecaf661-92af-8b35-4c53-2f025c928144@rubidium.se> <20210104164449.GE2992437@localhost> <b1e61f7d-6cea-5e99-69f0-7eae815d9e19@rubidium.se> <20210105083328.GA3008666@localhost> <ba5d2cde-6b5e-d9b6-1877-c4060bf43e80@rubidium.se> <20210105144225.GH3008666@localhost> <35c4be55-b6af-82b5-aacd-d5a591383dec@rubidium.se> <20210105162901.GJ3008666@localhost> <c78ad54e-dd10-fc8e-fc88-cf65f9fb29a5@thalesgroup.com> <20210107115226.GB3415835@localhost> <a0e137c3-5e4a-2277-2e1d-2284b39de309@meinberg.de> <F5292A54020000F16A6A8CFC@gwsmtp.uni-regensburg.de> <31C5A262020000D985F26575@gwsmtp.uni-regensburg.de> <DD4618490200001F6A6A8CFC@gwsmtp.uni-regensburg.de> <56C209690200001686EDC2A6@gwsmtp.uni-regensburg.de> <5FF80A6B020000A10003E084@gwsmtp.uni-regensburg.de> <0D49017F-D7C4-49C5-936D-272B633D5575@meinberg-usa.com>
In-Reply-To: <0D49017F-D7C4-49C5-936D-272B633D5575@meinberg-usa.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/fg6QWYJtclxA25Ja0CQOhBMKZVY>
Subject: [Ntp] Antw: Re: Antw: [EXT] Re: CLOCK_TAI (was NTPv5: big picture)
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: Mon, 11 Jan 2021 06:56:11 -0000

>>> Doug Arnold <doug.arnold@meinberg-usa.com> schrieb am 08.01.2021 um 16:17
in
Nachricht <0D49017F-D7C4-49C5-936D-272B633D5575@meinberg-usa.com>:
> I think that the point of a leap smear is that no special handling of leap 
> seconds is needed by the client.  It is introduced gradually over a number
of 
> polling periods.

But if you have two servers using leap smear, and to servers not using leap
smear, all will claim to return the correct time one second after the leap
event.
With the same logic as claiming UNSYNC during theleap event for non-smearing
servers, smearing servers should return UNSYNC until the time is "correct"
again IMHO.

Regards,
Ulrich


> 
> Doug
> 
> On 1/8/21, 2:32 AM, "ntp on behalf of Ulrich Windl" <ntp-bounces@ietf.org
on 
> behalf of Ulrich.Windl@rz.uni-regensburg.de> wrote:
> 
>     >>> Martin Burnicki <martin.burnicki=40meinberg.de@dmarc.ietf.org>
schrieb am
>     07.01.2021 um 16:55 in Nachricht
>     <a0e137c3-5e4a-2277-2e1d-2284b39de309@meinberg.de>:
>     > Miroslav Lichvar wrote:
>     >> On Wed, Jan 06, 2021 at 09:57:56AM +0000, FUSTE Emmanuel wrote:
>     >>>
>     >>> I clearly don't understand the resistance to go to a linear TAI like

>     >>> form for the core time-stamping format as long as the TAI-UTC offset
is 
> 
>     >>> part of the core protocol frame.
>     >> 
>     >> That offset is not always available, e.g. with a DCF77 refclock.
>     >> Relying on other sources is not always acceptable.
>     >> 
>     >>> You will have to do some conversions and adaptations in the OS 
>     >>> adaptation layer, as today for all NTP implementations, and this
layer 
>     >>> will not be messier as the core is today. No need to wait that 
> operating 
>     >>> systems fully support a non-leaping timescale, or TAI-UTC offset
>     natively.
>     >> 
>     >> No, it will be messier. That's the other problem.
>     >> 
>     >> If your OS doesn't have a TAI clock or it doesn't support
timestamping
>     >> with the TAI clock, you will have to resolve the ambiguity in your
NTP
>     >> implementation. That will not be 100% reliable as you cannot be sure
>     >> if the timestamp is captured before or after the leap. You are only
>     >> guessing. If the client doesn't know that the server is only
guessing,
>     >> it may get unexpected errors in measurements and its clock
disrupted.
>     >> 
>     >> The best thing you can do on such an OS is to suspend the operation
>     >> around leap second, the same thing as when using a leaping
timescale.
> 
>     Does "around the leap second" mean "until leap smear is complete" in 
> case of
>     leap smearing?
> 
>     >> In other words, there is no advantage of using a non-leaping
timescale
>     >> for the time transfer. It would only make things even more messier
>     >> than they already are.
>     > 
>     > Once more, I strongly agree.
>     > 
>     > Martin
>     > -- 
>     > Martin Burnicki
>     > 
>     > Senior Software Engineer
>     > 
>     > MEINBERG Funkuhren GmbH & Co. KG
>     > Email: martin.burnicki@meinberg.de 
>     > Phone: +49 5281 9309-414
>     > Linkedin: https://www.linkedin.com/in/martinburnicki/ 
>     > 
>     > Lange Wand 9, 31812 Bad Pyrmont, Germany
>     > Amtsgericht Hannover 17HRA 100322
>     > Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg,
>     > Andre Hartmann, Heiko Gerstung
>     > Websites: https://www.meinberg.de  https://www.meinbergglobal.com 
>     > Training: https://www.meinberg.academy 
>     > 
>     > _______________________________________________
>     > ntp mailing list
>     > ntp@ietf.org 
>     > https://www.ietf.org/mailman/listinfo/ntp 
> 
> 
> 
>     _______________________________________________
>     ntp mailing list
>     ntp@ietf.org 
>     https://www.ietf.org/mailman/listinfo/ntp