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

Warner Losh <imp@bsdimp.com> Fri, 08 January 2021 15:30 UTC

Return-Path: <wlosh@bsdimp.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 706A33A105F for <ntp@ietfa.amsl.com>; Fri, 8 Jan 2021 07:30:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.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 n_ERoP7sZpez for <ntp@ietfa.amsl.com>; Fri, 8 Jan 2021 07:30:57 -0800 (PST)
Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A09D33A105E for <ntp@ietf.org>; Fri, 8 Jan 2021 07:30:57 -0800 (PST)
Received: by mail-qv1-xf33.google.com with SMTP id l14so4443229qvh.2 for <ntp@ietf.org>; Fri, 08 Jan 2021 07:30:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5QSQmTPS2+Gy9zNopQp3hNdlZrB7xidO8yKArDHRHS4=; b=WEiQWwiBt7Np9w7Ipj6ew5Rq1qNXLSpIkmzjvWzdYMQIGUvSJbR+5WBEAABeqTRdTL GHTp3aBD+xpaGYVnPsCU9iyJUv3+KBnaw0/vDh84oxfHxs1c5+HoiJsGZlKLu5+qpuiP VE6QUheq6oMAhdN8b+JRAAPTaFhkT1gr0hoFZf4A+RAqt4O1anCnIzo1oYvF++RhHPXQ IdOk1/DOchB0wWX5337eZpsbnnlMSaDvt5GlyomqRSj4y3/+6+73B49MUxC42UEACx/x W3AookiDVUu1MPZY7+kUjvV4SkaHZAVsb7novzDdVNqIA9ivDIzN2u/VECj8HnPPu9la iJ7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5QSQmTPS2+Gy9zNopQp3hNdlZrB7xidO8yKArDHRHS4=; b=ZGrupCAaQ3sRRVBKZYSfsdvGRZVetv+n0+At/4cDRtFHHeFOMEL4xcBKHpaGn7D6Tx I+c1zH6tUgtJI+6tMhohoHXECaLC8HP17FPQn5LHSqjDz6rJ8H0PSYFGECOHVQROUHRs blJg7JhsnlsV+rEjm31JTSFMpLYCHAIdqJrOZ4fsoD0B8k/bifq6Nbgrdw5E8Np8G9W8 t4vBB8M1Dc6+W7GI5RhlAjIvlJGO2wmgdrgOcCccZMoVdUSKk520agaBcgEzRXSzzau8 Yxf2O/BGYwpu2hsPLsLHG6MEQNm+xTpTwKHceYkjWkCW4y1pkUweyDwbHLYCoAlbqYTd 7Wvg==
X-Gm-Message-State: AOAM5310y//OQiBFosYklCkcmsZMx6MuwDq2qI4CHOuLzb51IpEM7Dfi TawsTtGw9H7Kcev40jd+nZmlsdoqwB8dzwXXUmCT+g==
X-Google-Smtp-Source: ABdhPJzfBrcZ8fQ6COYJVWSdJSa5oBS1DsxDwjEETgclzF1kUM/uArqmtH1FBhVlcMONAHtoWZSyNQMnKCL/reYKUxM=
X-Received: by 2002:a05:6214:16cb:: with SMTP id d11mr7215854qvz.62.1610119856178; Fri, 08 Jan 2021 07:30:56 -0800 (PST)
MIME-Version: 1.0
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> <5c1e7eb9-b1a0-f7bf-c087-cc1fb32b5021@meinberg.de>
In-Reply-To: <5c1e7eb9-b1a0-f7bf-c087-cc1fb32b5021@meinberg.de>
From: Warner Losh <imp@bsdimp.com>
Date: Fri, 08 Jan 2021 08:30:43 -0700
Message-ID: <CANCZdfrgouDSOyzjwWZS+gHNhYJt-i-O7QO902hXGWbSzx+Pgg@mail.gmail.com>
To: Martin Burnicki <martin.burnicki=40meinberg.de@dmarc.ietf.org>
Cc: Doug Arnold <doug.arnold@meinberg-usa.com>, 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>
Content-Type: multipart/alternative; boundary="00000000000012f6f505b8653eb9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/9HjolZnl8f1i3Fij3c0YP0GGThM>
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:30:59 -0000

On Fri, Jan 8, 2021, 8:22 AM Martin Burnicki <martin.burnicki=
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. 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.

Warner

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
>