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

Joe Touch <touch@strayalpha.com> Mon, 11 November 2019 15:05 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 7B73A12086A for <art@ietfa.amsl.com>; Mon, 11 Nov 2019 07:05:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.219
X-Spam-Level:
X-Spam-Status: No, score=-1.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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 gchEeRztDhGa for <art@ietfa.amsl.com>; Mon, 11 Nov 2019 07:05:26 -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 37B2612000F for <art@ietf.org>; Mon, 11 Nov 2019 07:05:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding: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=PKF9e+fbbQzDN2eg20Yhk/scguEsyW8SHT4agXUyFec=; b=qbHw+n+CISgIYjMGy1+9n13oO y5styJj66ekxT8Ry1F2yWIryebhpvYzh+1iMZt97IXLpAci0VojstZlo65EgykmiHa9Y1acmF1I3u 7LeZzzaTgnZK7SBqWhcPSOHtwX0aYnZRvo6RwVu2Wuif2AFqQl+MA3319oh0THCpzQHXHJk4/ueyZ MTu2+Sg6b7GWqj4PL7AT48npdcBdVCzfOsYcsWT0rd4MZnxlkQPmqFoERGnik1TfBxN9ohQLcGKwy qOqqi6bGxEiZfSL1iexTqLypOUQxf5Frx2ekdk91yBpntxMyZPF7xVyZhYJrocDHoM/cyU3FLEAAp DtalqmPrw==;
Received: from cpe-172-250-225-198.socal.res.rr.com ([172.250.225.198]:52678 helo=[192.168.1.10]) by server217.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from <touch@strayalpha.com>) id 1iUBFo-0031Ub-5X; Mon, 11 Nov 2019 10:05:25 -0500
Content-Type: multipart/alternative; boundary="Apple-Mail=_9B25D19C-4341-4532-A635-4C76821AFAC0"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Joe Touch <touch@strayalpha.com>
In-Reply-To: <alpine.DEB.2.20.1911111353350.10845@grey.csi.cam.ac.uk>
Date: Mon, 11 Nov 2019 07:05:18 -0800
Cc: "art@ietf.org" <art@ietf.org>
Message-Id: <88C23DE6-C666-4071-97E7-5C271A54446A@strayalpha.com>
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> <5320191a-09d4-4398-a242-e8d3ebb496d5@strayalpha.com> <alpine.DEB.2.20.1911111353350.10845@grey.csi.cam.ac.uk>
To: Tony Finch <dot@dotat.at>
X-Mailer: Apple Mail (2.3445.9.1)
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/NvAcGzXmRalKII3Oi71WIlNw0R8>
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: Mon, 11 Nov 2019 15:05:28 -0000

Hi, Tony,

> On Nov 11, 2019, at 6:37 AM, Tony Finch <dot@dotat.at> wrote:
> 
> Joe Touch <touch@strayalpha.com> wrote:
>> 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'.
> 
> I meant in the usual sense, as implied by the draft's terminology section.

They’re a bit like Schrodinger’s cat - they jump only whey you look at them (or would need to). IMO, they are time scales for that reason.

> 
>>>   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.
> 
> Your wording "UTC values" to me implies a vague description of the
> representation of the timestamps. Perhaps you could re-word it to make it
> clear that you meant something else.

Will do.

> 
>>> 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.
> 
> The impression I get is that although PTP can transport different
> timescales, it almost always uses a specific one which is different from
> the other ones in the draft. (It differs from Unix time by the number of
> leap seconds.)

I haven’t found a public reference with enough detail on this. The only one I’ve found is Wikipedia, which has errors in its description of Unix time.

> It's a widely-available timescale,

I’m not sure I would agree with that - everything I’ve found says it’s limited to specialized industrial nets and systems; that’s another reason it’s not necessarily useful to add. 

> like many of the others listed in that
> section, and I think readers would be surprised that it isn't listed in a
> draft that's providing advice on choosing 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.
> 
> The problem with that paragraph is it sets up a false dichotomy. Unix time
> does not intend to track solar time nor SI seconds, it tracks civil time,
> which is a different third option. Leaving that option out is misleading.

The dichotomy is accurate - either time units are a physical constant or they’re defined relative to celestial events.

Civil time is just a time scale adopted by a government (or other type of group of people). I’m not aware of a civil time scale that isn’t based on one of those two.

> 
>>> 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.
> 
>   [Go17]    Google's approach to NTP leap smearing, proposed in 2017.
>             https://developers.google.com/time/smear
> 
> The date 2017 doesn't appear on that page, and the page itself says
> deployed in 2008 so I'm not sure why you say it isn't included. (I think I
> got 2011 from my mail archives...) The reference doesn't match the title
> nor the contents of the page it refers to.

Ahh - wrong ref. Google developed it earlier but didn’t turn it on for public use until 2017:
https://www.theregister.co.uk/2016/12/02/google_public_ntp_servers/ <https://www.theregister.co.uk/2016/12/02/google_public_ntp_servers/>

I’ll correct that.

> 
>>> 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.
> 
> Exactly why I think it should discuss hazards of bad representations of
> time. Especially since two of the main time systems it discusses suffer
> from such bad representations.

That’s perhaps another RFC.

> 
>>> 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.
> 
> Perhaps you could re-word it to make that more clear.

Will do.

---