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

Doug Arnold <doug.arnold@meinberg-usa.com> Fri, 08 January 2021 15:17 UTC

Return-Path: <doug.arnold@meinberg-usa.com>
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 DD3603A1044 for <ntp@ietfa.amsl.com>; Fri, 8 Jan 2021 07:17:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=meinbergfunkuhren.onmicrosoft.com
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 oZUYXp5jGBss for <ntp@ietfa.amsl.com>; Fri, 8 Jan 2021 07:17:44 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2044.outbound.protection.outlook.com [40.107.20.44]) (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 55F993A1040 for <ntp@ietf.org>; Fri, 8 Jan 2021 07:17:43 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nqs4fjkH5pSo+0lXuYh+2D70+m7OD+9kMG0PT/+wcIsCq2lbJ4lJb/wPyZVePP3MAlQSPPHjHQT/Kp+ZIjJY42e2xOgUxCkOFs1W/W8eT+W5zoX6bx63yDRoGH6c6vuMOxXZQMpd1LZMOeagS4lBTitJk5ujldD1neVIhBqg6ljkEK5EqODmOY05gY3XmJCuPrVuNR1JnQO1e5lD3YJgTZtjjSQobkZzMW5VRAHnvcXDZmJ6vAVVMYzO5ma0l77pPc42f4QQR/PH3fDigg8SxX5XmqRpPJpNx8iEJ+VnCpS6Ssdi9fB5XRu+zfNflMHJ0UhcWZUtC7Y+MRk9FUerbg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sH1u5vE7jv+HzNEvFGbqDJSJg17vBHQzURfGuKR50i0=; b=Is0jbcQAjb3WeVc7kGzUF6UgQYm+OwyGcCwz3KMxMOx+hAUNndklwDbS1DRa/JtpCSlIdHfa5b5tUdJUVgF2QHS0qv7Xw7d2D0oaVArTsxKgbA9gACVcAI7LXzC3Urpptax3R5h7DmIJRjbCNWIWcYmW3642kawkA1bx8jnkckmkeY3etiEB7n8nWva2O6aqvswS2I+Pgo81Y3jPjNW4jZBfL3LLmNHh1qVSnCnwswEj0zI1CDiNUQwOOhMCbVJZ6kwDNPh4lBzB9JqIdhO9BCsKkVVuIiJHG4epBGt26drLA06EhtvfITiGRJEZogdy+/BdBdbpb0rP0l+Clxr3ZQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meinberg-usa.com; dmarc=pass action=none header.from=meinberg-usa.com; dkim=pass header.d=meinberg-usa.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meinbergfunkuhren.onmicrosoft.com; s=selector1-meinbergfunkuhren-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sH1u5vE7jv+HzNEvFGbqDJSJg17vBHQzURfGuKR50i0=; b=sR7cpErE92wy2CF7yvkxjyK1dR5okY+SQNy82Y2TI7GrpCq4PmRx718YEl1viFd1QaQcYvmB0+TiwfFp+vqMrWQeW/ggiKrJrrsHIke4gZvjdemm2grzDpDycbWmzN1vltbehhKUcvHgqxi3HA5N1Vs/tUzeXSrbXWib7iHOcgM=
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com (2603:10a6:20b:102::15) by AS8PR02MB6934.eurprd02.prod.outlook.com (2603:10a6:20b:2e5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Fri, 8 Jan 2021 15:17:40 +0000
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com ([fe80::2801:6f88:321e:8e3b]) by AM7PR02MB5765.eurprd02.prod.outlook.com ([fe80::2801:6f88:321e:8e3b%4]) with mapi id 15.20.3742.007; Fri, 8 Jan 2021 15:17:40 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "martin.burnicki=40meinberg.de@dmarc.ietf.org" <martin.burnicki=40meinberg.de@dmarc.ietf.org>, "mlichvar@redhat.com" <mlichvar@redhat.com>, "emmanuel.fuste@thalesgroup.com" <emmanuel.fuste@thalesgroup.com>
CC: "ntp@ietf.org" <ntp@ietf.org>, "magnus@rubidium.se" <magnus@rubidium.se>
Thread-Topic: [Ntp] Antw: [EXT] Re: CLOCK_TAI (was NTPv5: big picture)
Thread-Index: AQHW5ZBlD1woml10LUSpbJtOniPKTKodg9wA
Date: Fri, 08 Jan 2021 15:17:40 +0000
Message-ID: <0D49017F-D7C4-49C5-936D-272B633D5575@meinberg-usa.com>
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>
In-Reply-To: <5FF80A6B020000A10003E084@gwsmtp.uni-regensburg.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.44.20121301
authentication-results: rz.uni-regensburg.de; dkim=none (message not signed) header.d=none;rz.uni-regensburg.de; dmarc=none action=none header.from=meinberg-usa.com;
x-originating-ip: [64.30.82.72]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b0a973f1-5173-4f77-0ad2-08d8b3e88a45
x-ms-traffictypediagnostic: AS8PR02MB6934:
x-microsoft-antispam-prvs: <AS8PR02MB69340C37E79928AE5FC998E2CFAE0@AS8PR02MB6934.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xl6k1hmn3tQnUM/KgN1xKC2V4+wPfb2EbOu4R1R4PnyfzVWYYqypbJOk8hAgNwvQfYUBnqR2uTJHew3JiLDEFS43kqtc6K09pwaNQ7ppgLHVntxJ6V6KTHvueAowcrHdineNh0pEk1adApqXSQ5kjZaNMIx/mLqJafUZUfFK5ClNUm3F5/rdAeP4DF+wYvy053zUgClL01R90brBB/Ieertyv7j9S8hyNnvB6RBaD84d3G2pq1OHwndH47nPNM6BhHsqq7obbSDnJUYwPaCusqlG7OXno1aKe+LTw2iBhUS/E9RaMOh0Hr4qh1z/Y/qiQXWYLhCU4ghV1f0dq5QMbOSEIufYO00tWHnKjNdv5SV1tOl5xzP0ypZjdnjdC7lslL2dyuPR0CpQQ6mP/fNJn+vJDEae3AYSUHZGP63y1dG9Mixogkrxf0tfmxVdS6tShklrW2CUj8qQ9LMSFz8GAPVFKAFyFIr08QN8Mpxitrx3dI8E3uEI/Oz9PdQn3iGC2iFPXEK4PQFovQrXAQE4iJObmQrrGHr7h1YyWr/sKnPEFCzxfaCqmumIwI3mLY1c
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR02MB5765.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(396003)(346002)(39830400003)(366004)(376002)(316002)(478600001)(33656002)(4326008)(44832011)(83380400001)(966005)(6506007)(6512007)(8936002)(86362001)(110136005)(54906003)(83080400002)(45080400002)(26005)(2616005)(36756003)(76116006)(91956017)(66946007)(66476007)(66556008)(64756008)(66446008)(8676002)(66574015)(186003)(2906002)(6486002)(5660300002)(71200400001)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: GohyA260ktRDUkmKgXx2LOrtTWQqNKtQ4IROyuCbVbPxKRjusGnosuuHeL8+w5AE3uLCaqbzNtDUbj4Q3pMW08U0llGgs5Lyvb3CMC7RdEE1ZMuLyxQta+HAiH2RBTOCBAlWIpW11/Qu+JnYonp8bFFUfUaZR0hApmOq3YcTz3+9by3XDvZHQZVjfuetJRXF8h+plPei3PBnDUe546cDjqXB63kwq2aUU4k8fKkoVjv92H9TjLeIUTVl4/kWxsS6L/IOjTJSb+dfYYncBPkZ4A73qkmDzIE/QP8hfj1o+oi96sX2vPlBQtnMZR2g4nthzeDYT1bhMm0NEiREZTeEwXyfAV/s0I4YLKasBtqN+M1Sue7exR930rSs/WoWoD1hccBX9ZDVZu1+igZopoQp8yC4LGCQpkyhFhWUhaaFaONhERMRgvEVpDCB+KKtL2y9xTSUHL0CbEXstvDDsIkCHV7Fxzhb2PcQ4e0P3hAzSkkuOGXeJbzbKz7cKseNUJ6eejRsPauo/H4Ee19CDuFsYbtOUqFwu/Ebg9dGt1GrDIa3eEbzRyETTPedwKLci1qvfvRcxABLmFGVYsXszJ1W4w9NbvVhjJDH540SLg/EIiXrAQ7XPewbA1GrxyQZaYl2k+54UIKQcUrEcyUMO7+0zcD1c8WtPhAHt/WfwUBoX/+ofsWQ0mnOiejf1bJp+2frvYZKXrb5gm8GK81lPe/mUJ82I5pwoa3N6EJ6r0XJjylppFmL6XRLu3OHvPprQvd5eWa9jBU1V7yRmo8OX+1+AvocYtj5HXVkSyXws1xVjJuXD8I9LzQli0VAAqS1PVtDHhrOsdEj1kpwmLg+bauD6UZIb3RCKVPAc2qCBdqZd+d4ScN+hXKsQUrVkuyYuS1WzHl4I4NrJrC+keMRgVMcpZJxHPTYdcKteTA7xZhuVhU+OSkySbho0FCa4DAp+bKBfNZ7gOQwZOty/7Ia/KJoNTlNGBaNOL8C6QAoIp9TwRTARde/p9hq9mnSmGh76tkx
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <5C62C43CCE5EB14F8A99185C94B9166D@eurprd02.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR02MB5765.eurprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b0a973f1-5173-4f77-0ad2-08d8b3e88a45
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2021 15:17:40.6052 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d59904cd-769f-4368-8bd0-f5f435893a38
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Bl+sjOb4cuTvCMl24dYl0zeR2pajevlCxBn6OaQ8kegzyrenxw0HrahVSKrMiya9XvFol+xjQ9A5shotmjBBqFVBGgyc0hmi91SeNPnf9ZE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR02MB6934
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/pxxznNWxK0w104lNK5wtH0ufDQk>
Subject: Re: [Ntp] 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: Fri, 08 Jan 2021 15:17:47 -0000

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.

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