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

Doug Arnold <doug.arnold@meinberg-usa.com> Fri, 08 January 2021 16:01 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 E61D03A1092 for <ntp@ietfa.amsl.com>; Fri, 8 Jan 2021 08:01:22 -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 rtALhc7fIlbm for <ntp@ietfa.amsl.com>; Fri, 8 Jan 2021 08:01:21 -0800 (PST)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60084.outbound.protection.outlook.com [40.107.6.84]) (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 CB9B83A108E for <ntp@ietf.org>; Fri, 8 Jan 2021 08:01:20 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dKLd4W4PADdKrkqjzkg5MJVKAyVG6fKoHiaj7RCfoQWY9i5PNGPlxA7isua8xEOHwRk2QKoyVYEaS+MJk9w1ttoAB9tCYRgVjEtt+YMEui4BMmfhRSKk+WOIFvvHWd4472XpweSwIxjNRPd2VVOHAxI8OYLjNoPAnemt2p+H1ao+mCN0M8/cbyKwRHLO7CcL6qZ/bbZCTQxmZ1Ikuui/qL1U/e0Q3zt8bCrS5p0XfTd80lOr92G0haO1qTQkeliNmKfrIPCpPb2ktSX37+fxIHzuKjPii7VKk3fQIRa+NUKRRDnkn5OYzUXOWWz39bwmppmrV1H2gcOyZ1iw0++2Tg==
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=I33df1FlcY64g8PSTlU0QtuZ2uLibu4wMcrJqjpyAZg=; b=RdHaOGQoBbY1weTS0W7QA2qg6HWNIaaol/d2jOBDUuitfJI6gnXeuOwoiwgSrE03+GSizIgTS5zrp+SLwvsY4zy9BYR9lei9b3JE0jfTI58H7dTlmVVGRR7u3BAFZJzSSwsIX3TyphHlZHvLIpg2WH4eZvFSNUgn1a7AsNY3pt2U30VZ/xa3EaS1+Ui0/Xs4p35tf7fHs4+hl5Wb7FhW9JTIOWVZpR7kHfv4g1u4zqDmoecXaWd1RQgyG0oKAHtnFF5P5WtJjQxYOA7Oujxc18od94jHgbLlCT4a7wfS2XEKOFQP+24B1rGnjWhn1c96eaNh9VvYfEoSFkwpyN6RIw==
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=I33df1FlcY64g8PSTlU0QtuZ2uLibu4wMcrJqjpyAZg=; b=JTGHfH4OoWlYicQVnf9bJ04JozoyhAUtkbtY6yNXUH393pJQ3VYL/NfYNxp/40On/tBLEs67yCDIpACaOt9Dri6mKT3cWIkbjwqS2KeUKjbaFZOabrMvm3UABUc2GKu3AcGVF9ybG6lzHBSm7QOL5t+NG+Cseziqjm8xDEfKGLE=
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com (2603:10a6:20b:102::15) by AS8PR02MB6536.eurprd02.prod.outlook.com (2603:10a6:20b:25d::13) 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 16:01:16 +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 16:01:16 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Martin Burnicki <martin.burnicki@meinberg.de>, Warner Losh <imp@bsdimp.com>
CC: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, "mlichvar@redhat.com" <mlichvar@redhat.com>, "emmanuel.fuste@thalesgroup.com" <emmanuel.fuste@thalesgroup.com>, "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: AQHW5dIYQ22uCw59VE2kaqVK15bN0Kod2tCAgAAEnoD//7AYgA==
Date: Fri, 08 Jan 2021 16:01:15 +0000
Message-ID: <A4DC5C4E-A9FC-4AA8-9C81-30075C7F102B@meinberg-usa.com>
References: <20210102081603.1F63C40605C@ip-64-139-1-69.sjc.megapath.net> <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> <5c1e7eb9-b1a0-f7bf-c087-cc1fb32b5021@meinberg.de> <CANCZdfrgouDSOyzjwWZS+gHNhYJt-i-O7QO902hXGWbSzx+Pgg@mail.gmail.com> <617faa37-0edb-4e48-b4eb-c0bf2d57b809@meinberg.de>
In-Reply-To: <617faa37-0edb-4e48-b4eb-c0bf2d57b809@meinberg.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: meinberg.de; dkim=none (message not signed) header.d=none;meinberg.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: 9c44bbdb-5b7d-42ff-af04-08d8b3eea12c
x-ms-traffictypediagnostic: AS8PR02MB6536:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <AS8PR02MB6536696B8D544276B21BB512CFAE0@AS8PR02MB6536.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:2043;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: TCy3ok0vhIGoFljIc0eSrke+qn1AoklX4KdFWxMylYufMm1cRQE98qaMrGUZzqHlnb/hkC0f50jl0EIV1FdGCR5ImBeqbPIq3KmIbBwbsxB4HNhSsbHO3DOrcSsLG8hbEA/iw2LUndA4BWn9Thv18v1p1WnfTeCscaewTBq3vOXlDxfyHTheFk7wfO2PaPIPIWY5WIkdPZimR4XQGijqxWX9XdEHhA3GmBkN+RObDp/57YSJGUG2aUvZ66jSLjsqqzXuUekMoTsYuDVmAT/tIQKEeia+t4/SKZmiv04gtiU+ISQbTT/pe0dxDSh60UgRqJZSIKMQJvKGaOWWcxmlmTKpmnFiea5VQTRxH6MiUmLRQZwT4QbVGbvmqSZ2WhYb28B76n1in4XZRGyzr/rK34xuyf2mkwOxglC2VvV0u7ahXDc6HafRhwLzAIdrxaBW516mt0kdDAJ77dny86hMsQZzNaMOgXpJCiqPlIDcQfWGsLjXfN1qoyttw90nzK4WuOdKEu2CmS8dPZyaD3bGOX1YVnGpJ6I3QxtDIjbVQkRliug1n/lhUOOc4R+o1Gi1
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)(376002)(346002)(39830400003)(366004)(396003)(316002)(71200400001)(45080400002)(186003)(8936002)(6506007)(66574015)(44832011)(478600001)(36756003)(2616005)(83380400001)(26005)(91956017)(86362001)(76116006)(6486002)(66946007)(66476007)(66556008)(6512007)(83080400002)(8676002)(64756008)(4326008)(110136005)(66446008)(33656002)(2906002)(5660300002)(966005)(54906003)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: w9kTlAe8mfDiEyf5aKzOQqcT1+v+ULhN4mAZiBxo94YFtdK5AUC2FA7qeg9pdCNia4pjtpZzIPnOQcxcb+hS+9UbhVIiGGIbapVngP1W3Vkas5yBw7iv+sy5TZnC/PmUAou0uQ5bRrIjhi0mgvRKAifFMPUJb03IFq/zO2gb5d9lELXNgwUe9P4KYnZWNP02GtkjosROAnnAN4k2pJRGDp0vMm3Fon2MjTlwBwCG1du4e4K6b5WoKEdudm6tw8lnzhrxMws1iA9AcWt9IDYerMEoAeqNhw7DYcBOwN7khuBD5tJDl0lRhtp6zOm+q943hbxyaIvxGb+0L2Ry78JWCtU71cw99W323NuBbXXPrnT5mXry288BQICWhl+pS3psUmp/Ykg3uIePPfTS2OTQByQtPcE24BS+PVEdGq+p6tqHPcusZfQZiwQvFQ54kOFEnHr7nfPZVss7Dq+EaXb25wFZFmz8Oyqu8/os4t9m6L97YsI/YSyXQbKlFbK6zFY46yOrE3o3fWxiSXExqFSjRTNPaItlBslcHrMlhVXahrLIqyZRJcEZkznOerRsO9Qlp2IijQLeOXyw022cAkYuHJ4NHouG3YSubg6wOM3VQ6sHZrMT7/Fqvw9D7Ub/k9d5Xk/1dOQ3x3m4MFbbSeEC6acXEIo0GmLkabYY0w8iaHpXdHNhCVSFPhISO6OwOIOK+r/gTZ1SSgDObZMtTKA9l0XJGlBlMoP0/mdKxhKuR/fxUxkshTowQ9VSX8V4QJYSEYEz+xyKThXcnDCiWZ5nhhmw/6KIHUurOyizqSaLoxR9/0tMqV4Fa/0BgXLfpt2iJoImJAcOE7C+NQ6uQVPOvOpbnZEbyoLXsUmoI44CF8N1N1WGef6Rpu2ELYx424j8mnI3zp7Ic/+/SDBBbO15JCwIWCjDtOeUhHLn7AfeuwM5dFlb822Z2V3LdiQCdX2lh76xjlHw+tUUG0yP6MVHF6kuzbTi6F7Lozjpk71mIcFJSN1PxtycrX2eIIqbv60k
Content-Type: text/plain; charset="utf-8"
Content-ID: <8EBAC3C28F5FA74494C5A4752C4FC233@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: 9c44bbdb-5b7d-42ff-af04-08d8b3eea12c
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2021 16:01:15.9757 (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: FtbXrp5S5a4K502T4zDRFqYjn8CetLudnGKcYrQsYEsLv9uzmGyEfS1t1S0Ve9U/sPk2KKzA1o1HWt9gvTbL7BA92GOB/q/IaOuv5xV+lGE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR02MB6536
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/lAKSvJm6ipp9FQbdkZPFtvXqbDM>
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 16:01:23 -0000

I started working on network timing in 1998.  At that time they told me not to worry about leap seconds because they were about to get rid of them in UTC.  I can always tell when someone is new to timing, because they tell me they heard that leap seconds are going away soon.   Unfortunately many technical standards and government regulations specify UTC rather than TAI.  So we definitely have to live them

Doug

On 1/8/21, 10:47 AM, "Martin Burnicki" <martin.burnicki@meinberg.de> wrote:

    Warner Losh said:
    > On Fri, Jan 8, 2021, 8:22 AM Martin Burnicki
    > <martin.burnicki=40meinberg.de@dmarc.ietf.org
    > <mailto:40meinberg.de@dmarc.ietf.org>> wrote:
    > 
    >     Doug Arnold wrote:
    >     > 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.
    > 
    >     That's exactly the point. You want to hide the leap second from the
    >     client to avoid that *applications* run into problems when the kernel
    >     just steps the time back by 1 second.
    > 
    > 
    > My fundamental position on leap seconds hasn't changed in 20 years: they
    > are evil and must die. Earth clocks and atomic clocks need a different
    > way to synchronize.

    Agreed. But as long as there is no decision to abolish them, we have to
    live with them, and have the same discussions over and over again. ;-)

    > Leap seconds generate dozens of edge cases,
    > operational difficulties and data dependencies that complicate time for
    > everyone and all that added complication has a cost that far exceeds the
    > benefit. 
    > 
    > Smearing is the latest way to paper over all this and keep applications
    > naive. I'm not sure if I view it as a brilliant hack to protect the
    > applications from a rushed standard we are stuck with, or a deeply
    > worrying "enabling" of bad behavior by applications, libraries and
    > operating systems. 

    The biggest problem I see with smearing in general is to decide if
    applications that require millisecond accuracy can tolerate offsets up
    to +/- 0.5 or even 1 s in this special case.

    Beside this, there are lots of potential problems due to different
    shapes and intervals for the smearing.


    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