Re: [art] Fwd: New Version Notification for draft-touch-time-05.txt

Joe Touch <touch@strayalpha.com> Sat, 09 November 2019 17:21 UTC

Return-Path: <touch@strayalpha.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0EFF41200C5 for <art@ietfa.amsl.com>; Sat, 9 Nov 2019 09:21:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.22
X-Spam-Level:
X-Spam-Status: No, score=-1.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 12jZAbjsIqn8 for <art@ietfa.amsl.com>; Sat, 9 Nov 2019 09:21:47 -0800 (PST)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) (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 5121D12001E for <art@ietf.org>; Sat, 9 Nov 2019 09:21:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fAtAE2n4Lj9Y03c/YB7WmOMFGtS3c1Ihsf0xxif841w=; b=u0xxjalgBs+ozl+dbeZQtX2Sjx zF6ZwP6/WRtVpx2nydrkpGBknXifOzmKl7C05qu7ZZ5FmLhECLu//flaGN0903084gz94XQ8XbGEr R4dnPVHOIgjXozzfVThwasEvtXEjs6eRDo1nDBjXqvDvvzx4jAXrtkeCdQZ1kJJwih8EuNHlDk3P5 owEvHAcJODKRG/BlO6o87mjCaSAjbnWA0rG8XvkH80uO6tZxXeCSWWjMPFXzCry3Ym3RvFG+UNBF4 ERTXISovaKbDH0HOD67LHVwrewzOXItmTi2GnKNi3B7ztWm4GgO7FY+85bqoMYU6kVctiDIGkqMei YLP0i7eA==;
Received: from cpe-172-250-225-198.socal.res.rr.com ([172.250.225.198]:60350 helo=[192.168.1.13]) by server217.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <touch@strayalpha.com>) id 1iTUQf-000UFB-QG; Sat, 09 Nov 2019 12:21:46 -0500
To: Tony Finch <dot@dotat.at>
Cc: "art@ietf.org" <art@ietf.org>
References: <156834269242.16573.17240497030993366068.idtracker@ietfa.amsl.com> <45c2fb64-1efd-68bf-4436-ec7bbb7bfc88@strayalpha.com> <alpine.DEB.2.20.1909131844350.5352@grey.csi.cam.ac.uk>
From: Joe Touch <touch@strayalpha.com>
Message-ID: <5320191a-09d4-4398-a242-e8d3ebb496d5@strayalpha.com>
Date: Sat, 09 Nov 2019 09:21:39 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.20.1909131844350.5352@grey.csi.cam.ac.uk>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/nl9m4I8IeuK9uLdydtr6XJuNoTk>
Subject: Re: [art] Fwd: New Version Notification for draft-touch-time-05.txt
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Nov 2019 17:21:49 -0000

Hi, Tony,

While addressing these comments, I had a few notes below.

Joe

On 9/13/2019 12:41 PM, Tony Finch wrote:
...
>    o  Ordering: to determine the relative sequence of events across
>       systems, such as with Lamport clocks [La78] or Vector clocks
>       [Fi88][Ma88].
>
> Lamport clocks and vector clocks don't use time, but the section heading
> implies that they do.

It depends on how you interpret 'time'. If it's a sequence of labels
used for absolute and relative ordering, then they are. They're just not
continuous with respect to "natural time", but then nearly all time
scales have that property in one way or another.

>    o  NTP [RFC5905]: the Network Time Protocol, used in the Internet to
>       synchronize local clocks, in which dates are indicated by UTC
>       values. NTP times track the time of the clock they connect to.
>
> NTP uses a unix-style count of seconds so it isn't able to represent UTC
> values.

The doc describes the time NTP provides not its representation in its
protocol messages. It claims to sync within a few ms of UTC.

>  The NTP leap indicator bits are not synchronized with the
> occurrence of leap seconds so they don't disambiguate leapy timestamps.
> https://trac.ietf.org/trac/ntp/wiki/NtpVersionFourIssues

This is an issue with the protocol - that's not the focus of this doc.

> 4.3. Comparison of properties
>
> Should the discussion of GLONASS etc. be moved to section 5 before the
> table in which they occur?

It was left where it is; the table is just a summary of those systems.

> Should PTP be added to the list of time scales? (Given section 7 talks
> about selecting timescales I think it's worth pointing out one that is of
> practical use in computing, as opposed to TAI which is a retrospective
> paper clock.)

PTP isn't a time scale; it's a system for reporting time. The problem is
it reports multiple timescales that are already discussed.

I.e., the doc talks about time scales and systems that report ONE
timescale; not all protocols for representing or syncing timescales.

>    Unix time does not specify the definition of a 'second' or 'day',
>    and so it is not clear whether it intends to track SI seconds (where
>    time would be uniform) or solar time (where it would not).
>
> Unix time is defined in terms of struct tm fields, which are a
> representation of a UTC time stamp. It explicitly says it doesn't
> specify any relationship to real civil time.

Civil time is neither SI nor solar. The statement above explains that
even the duration of a second or day isn't defined for Unix time.

> ...
>
> Google deployed leap smear in 2011 (not 2017 as your reference states) and
> they weren't the first to propose it.

2017 is the date of the published archival reference. That's not a
statement of when it was deployed, which this document doesn't include.

> 7.2. Hazards of some time scales
>
> It's worth mentioning that if you aspire to representing UTC correctly
> then it cannot be done as a simple count of seconds, and Unix and NTP are
> shining examples of getting it wrong.
>
> There should be a discussion of leap-second-related hazards in Unix time
> and NTP.
This isn't a time protocol design doc or advice on which protocol to
use; it is advice on how to pick a time scale.
> The draft seems to give the impression that leap smear is a Google
> peculiarity, but there are several other organizations doing it (see the
> link to the leapsecs list above).

It mentions Google only as notable examples.

--