Re: [art] Fwd: New Version Notification for draft-touch-time-05.txt
Tony Finch <dot@dotat.at> Mon, 11 November 2019 14:37 UTC
Return-Path: <dot@dotat.at>
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 E35B612009C for <art@ietfa.amsl.com>; Mon, 11 Nov 2019 06:37:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_NONE=0.001] autolearn=ham autolearn_force=no
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 uNvtKBMj1ZRA for <art@ietfa.amsl.com>; Mon, 11 Nov 2019 06:37:36 -0800 (PST)
Received: from ppsw-33.csi.cam.ac.uk (ppsw-33.csi.cam.ac.uk [131.111.8.133]) (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 6513112007C for <art@ietf.org>; Mon, 11 Nov 2019 06:37:36 -0800 (PST)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from grey.csi.cam.ac.uk ([131.111.57.57]:56044) by ppsw-33.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.137]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1iUAov-001WPN-ig (Exim 4.92.3) (return-path <dot@dotat.at>); Mon, 11 Nov 2019 14:37:33 +0000
Date: Mon, 11 Nov 2019 14:37:33 +0000
From: Tony Finch <dot@dotat.at>
To: Joe Touch <touch@strayalpha.com>
cc: "art@ietf.org" <art@ietf.org>
In-Reply-To: <5320191a-09d4-4398-a242-e8d3ebb496d5@strayalpha.com>
Message-ID: <alpine.DEB.2.20.1911111353350.10845@grey.csi.cam.ac.uk>
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>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/icCOsRmSUxwU6z06bszkMfgtGFI>
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 14:37:39 -0000
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. > > 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. > > 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.) It's a widely-available timescale, 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. > > 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. > > 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. > > 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. Tony. -- f.anthony.n.finch <dot@dotat.at> http://dotat.at/ Southeast Iceland: Southeasterly 6 to gale 8, occasionally severe gale 9 at first, backing northeasterly 4 to 6. Very rough or high, occasionally very high in west at first. Rain. Good, occasionally poor.
- [art] Fwd: New Version Notification for draft-tou… Joe Touch
- Re: [art] New Version Notification for draft-touc… Joe Touch
- Re: [art] Fwd: New Version Notification for draft… Tony Finch
- Re: [art] Fwd: New Version Notification for draft… Joe Touch
- Re: [art] Fwd: New Version Notification for draft… Joe Touch
- Re: [art] Fwd: New Version Notification for draft… Tony Finch
- Re: [art] Fwd: New Version Notification for draft… Joe Touch
- Re: [art] New Version Notification for draft-touc… Joe Touch
- Re: [art] New Version Notification for draft-touc… Steve Allen
- Re: [art] New Version Notification for draft-touc… Tony Finch
- Re: [art] Fwd: New Version Notification for draft… Tony Finch
- Re: [art] New Version Notification for draft-touc… Joe Touch
- Re: [art] New Version Notification for draft-touc… Joe Touch