Re: [Ntp] I-D Action: draft-ietf-ntp-packet-timestamps-08.txt

Doug Arnold <doug.arnold@meinberg-usa.com> Wed, 26 February 2020 16:19 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 AD7063A0ACE; Wed, 26 Feb 2020 08:19:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level:
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable 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 44jznWj7ia1e; Wed, 26 Feb 2020 08:19:16 -0800 (PST)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02on0620.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe05::620]) (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 D58FB3A0A00; Wed, 26 Feb 2020 08:10:10 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=APkZZQEWSmUDBLBbPcZ0G4nX4GrvQ2Gf/WdZcY1GTDZu6wxizI+p/E+diy/kGrfv7v7yDekmhCAfn+BwX7IE5pSeev+xe15NAiBcbNqo6hfpakd/bIZaHV79FzKkzXoKJ2VYsoJNuGZPwDe6Wj18ianUp3SCbmQgWRjyy4iIL+SIq1hZLd2LZ1tjpSV56afTKxP1HPyud32H3KMNXL89RSkq1WEP9MwKHw9nPoGTg0xCCrJvKc92Gt7uUa1w5FC6bhiTTmdL0Nob86B4iYoYbTanYpRblvDlcaSnhDK//h7t/iekpr3t1vxC0GysnFpx2+C39yCacTzEeu3FZXqSwg==
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=GpzyW5+Q0gSTsR9XPVmMJFwSqGJDrFUgLYbnV1sBH5s=; b=PilMkV328UW56ca3zOgJLfssdAx2AqR90Y5k6ut22dURPa8Cyv4Udrgi74zbw98Pn91PkhRqxDNcHXZXvmf1/H00yZrdgzWVqfW3NeE4/n3LwzG8XV7wbNT050sLkgNWeqbi++RcefYG4DRqFt2iUx4TGzYJHSEweGqmmKWNq2G8xJDW4iU5zc/qneMa7csYuOXvs+o164ebeDS11xJIRubw95pzKaoFOOyh3VviqYZbpvdTofOnCeC/NIqWLbTlGWqPez8V04JO4cDuf63ksyoNl1ynVeEcD7nobhE9r7IZ0GE2AdKvHLNT4Ok//brkuhDG1b1jZYChUqUpGlA1Ew==
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=GpzyW5+Q0gSTsR9XPVmMJFwSqGJDrFUgLYbnV1sBH5s=; b=gj2MDVWEvzfKO3TWNOni/oJC7lE/2Ej/GfL/fQRPoKZh5m4OThFNGzB/xfqhJVrzZBgQNlI7WWdRyZ6xF4/cHrg5TUivpNFpbBkHEhODDSUu3Xtz2hBdzOAySQg50r/CmJ0ywjMmIHYdy6/ALDPBuYzN2HEnSRpO9gxKdeXIY4Q=
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com (10.255.18.223) by DB8PR02MB5756.eurprd02.prod.outlook.com (52.133.241.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.21; Wed, 26 Feb 2020 16:09:49 +0000
Received: from DB8PR02MB5611.eurprd02.prod.outlook.com ([fe80::bd05:504a:eb01:9140]) by DB8PR02MB5611.eurprd02.prod.outlook.com ([fe80::bd05:504a:eb01:9140%6]) with mapi id 15.20.2750.021; Wed, 26 Feb 2020 16:09:49 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: Joachim Fabini <joachim.fabini@tuwien.ac.at>, "i-d-announce@ietf.org" <i-d-announce@ietf.org>, "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [Ntp] I-D Action: draft-ietf-ntp-packet-timestamps-08.txt
Thread-Index: AQHV7B79vjcHLfHkDkKs5139DkAFY6gtGfAAgACKWms=
Date: Wed, 26 Feb 2020 16:09:49 +0000
Message-ID: <DB8PR02MB561150B279AE0EBB0BAB8EB1CFEA0@DB8PR02MB5611.eurprd02.prod.outlook.com>
References: <DB8PR02MB5611336707B2073BFE462B2BCFED0@DB8PR02MB5611.eurprd02.prod.outlook.com>, <b6a37845-716f-ec0c-6cfb-a9b7ec0b78a5@tuwien.ac.at>
In-Reply-To: <b6a37845-716f-ec0c-6cfb-a9b7ec0b78a5@tuwien.ac.at>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=doug.arnold@meinberg-usa.com;
x-originating-ip: [64.30.82.72]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: c0d3f058-16e9-4da0-599b-08d7bad64e27
x-ms-traffictypediagnostic: DB8PR02MB5756:
x-microsoft-antispam-prvs: <DB8PR02MB575616B5A3220C47C65BC7EBCFEA0@DB8PR02MB5756.eurprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:4941;
x-forefront-prvs: 0325F6C77B
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(39830400003)(346002)(376002)(366004)(189003)(199004)(71200400001)(33656002)(44832011)(9686003)(64756008)(66556008)(66446008)(55016002)(76116006)(91956017)(7696005)(66574012)(5660300002)(52536014)(66476007)(8676002)(508600001)(26005)(86362001)(316002)(2906002)(19627405001)(81156014)(66946007)(966005)(6506007)(8936002)(110136005)(81166006)(53546011)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR02MB5756; H:DB8PR02MB5611.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: meinberg-usa.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Hnt6Fu22mbit7B8NHgtzYUFIDvJ25sliOue4TJDiP3Vnv3F6l6ZlhahNIp9WLdgZYahtiqClTX915cD3QQ9ZjqG6WRwsBZmkfcjXfqy35IEtSyuMhhXKAnGj4RtU6uBvzJKoeftG5lSXnrCizi+IhWokFMg+82O4gKguyy+H1fuyILkZm3wttv5ArivKXVHwW/cY/L2HhAb/IsOCeTUb/YPrO5FaOmLvbZeQjk4ncNrY1RNfmEKlkAKLi1b//9SRRLwz2qkV/8W+cpseqQruyMcyN0sex9N11Rwp6XU0kdvkJb/mRkn7CB2QZAv5hhlbFt31kMbxP8X4x7AfT5s848d1P2eKo0Tq0QM3yHiqX2pnlZxRFChArFhiaUnXa9dCwqrAk7voZpowQ2z7Qtdzp0YM4McJ82L2in7iR0zqoSaQdS1DsKHWHyfU8p466vsD8f5NL3FLYcGHKRJuMa/qWcVjcE5Zi6gHihjmrzk0icyRCL0JlZok4l+uVoe4z+uCt5vJDEsyHwqIU5iLmxUkPA==
x-ms-exchange-antispam-messagedata: wy7n/7CbzYBdpbt0dH9SZw3UhcroXbdAHZDBaB+CMIBgBUoigLN78wI25Ecj7YmH6Erxc7LvGJT7ye/HEIOuZcqIPSdwEX/gyIaJky7/NVbMbPEzQW5n7db4aPn5ifeCP88+5V3AZw+juobqn8WA3Q==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DB8PR02MB561150B279AE0EBB0BAB8EB1CFEA0DB8PR02MB5611eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c0d3f058-16e9-4da0-599b-08d7bad64e27
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2020 16:09:49.2254 (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: ZadU3wpjT4dqprXrDFoNXPljUNFHJFiSXnWrIrvvgx9si2aRc28emk8SmbojIg9oNujgN7Y+CorTqKrDZhqA0pdDclRyoZagmhBFoj7R9/I=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR02MB5756
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/jzpRCAMgRWTGQ-ogTjabsjPXmd8>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-packet-timestamps-08.txt
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: Wed, 26 Feb 2020 16:19:26 -0000

Separating timestamps and correction fields seems like a sensible approach.

But just to be clear, PTP allows a device to partition a timestamp between the timestamp field and the correctionField any way it likes as long as the combined fields yield the right value.  So the correction field may include some of the original time stamp and not just added corrections.  I'm not sure that this is a good thing, but that is what 1588-2019 says.   It might be worth adding a cautionary statement when talking about PTP.

Doug

________________________________
From: Joachim Fabini <joachim.fabini@tuwien.ac.at>
Sent: Tuesday, February 25, 2020 11:48 PM
To: Doug Arnold <doug.arnold@meinberg-usa.com>; i-d-announce@ietf.org <i-d-announce@ietf.org>; ntp@ietf.org <ntp@ietf.org>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-packet-timestamps-08.txt

Valid comment. Imo the correctionField - like other features we left out
- fits well into the planned controlField draft. Section 7 of the
timestamp draft mentions briefly requirements on the control field but
we decided to split the two documents (timestamp and control field) to
keep the timestamp draft concise.

Whereas the timestamp draft focuses on the basic timestamp (data)
formats, the control field draft will tackle timestamp semantics and
attributes. Examples include assertions on timestamp accuracy, time
source details, and more information on timestamp quality. Corrections,
resolutions, and interpretations that differ from (or extend) the basic
timestamp definition imo fit into the control field.

thanks,
Joachim

On 25/02/2020 22:03, Doug Arnold wrote:
> This is a useful informative document.
>
> One comment:  In the discussion of PTP timestamps, it might be worth
> talking about the correctionField.  This field is intended to be used to
> make various types of corrections to the PTP timestamps, including the
> ability to add sub ns resolution to the timestamps.
>
> Doug
>
> ------------------------------------------------------------------------
> *From:* ntp <ntp-bounces@ietf.org> on behalf of internet-drafts@ietf.org
> <internet-drafts@ietf.org>
> *Sent:* Monday, February 24, 2020 5:39 AM
> *To:* i-d-announce@ietf.org <i-d-announce@ietf.org>
> *Cc:* ntp@ietf.org <ntp@ietf.org>
> *Subject:* [Ntp] I-D Action: draft-ietf-ntp-packet-timestamps-08.txt
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> This draft is a work item of the Network Time Protocol WG of the IETF.
>
>         Title           : Guidelines for Defining Packet Timestamps
>         Authors         : Tal Mizrahi
>                           Joachim Fabini
>                           Al Morton
>         Filename        : draft-ietf-ntp-packet-timestamps-08.txt
>         Pages           : 21
>         Date            : 2020-02-24
>
> Abstract:
>    Various network protocols make use of binary-encoded timestamps that
>    are incorporated in the protocol packet format, referred to as packet
>    timestamps for short.  This document specifies guidelines for
>    defining packet timestamp formats in networking protocols at various
>    layers.  It also presents three recommended timestamp formats.  The
>    target audience of this document includes network protocol designers.
>    It is expected that a new network protocol that requires a packet
>    timestamp will, in most cases, use one of the recommended timestamp
>    formats.  If none of the recommended formats fits the protocol
>    requirements, the new protocol specification should specify the
>    format of the packet timestamp according to the guidelines in this
>    document.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-ntp-packet-timestamps/
>
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-ntp-packet-timestamps-08
> https://datatracker.ietf.org/doc/html/draft-ietf-ntp-packet-timestamps-08
>
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-ntp-packet-timestamps-08
>
>
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>

--
---------------------------------------
Dr. Joachim Fabini
Senior Scientist
Institute of Telecommunications
TU Wien
Gusshausstrasse 25/E389
A-1040 Vienna, Austria
Tel: +43 1 58801-38813
mailto: Joachim.Fabini@tuwien.ac.at
---------------------------------------