[Ntp] ntp over ptp

Doug Arnold <doug.arnold@meinberg-usa.com> Mon, 11 March 2024 23:20 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 6C14DC14F6A7 for <ntp@ietfa.amsl.com>; Mon, 11 Mar 2024 16:20:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=meinberg-usa.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DszgfvyBVgw4 for <ntp@ietfa.amsl.com>; Mon, 11 Mar 2024 16:20:49 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2093.outbound.protection.outlook.com [40.107.21.93]) (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 A56BFC14F713 for <ntp@ietf.org>; Mon, 11 Mar 2024 16:20:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PyaUFTJqg1zTp4h9Mobc28wtO64DyYvim7kW/GdwYCYRKj2iJA9zF+27OuuZYSJasLK+JrGlG3u/mr/iQmRz1MM93icPLNQaZL1kHxtoWWZTI3I1N88uoNkfpMakGFlIi2cfDb6pP7o+XCFWFCdd9h/17d2CtDHo4KaT1M17AYMcqWRvZcQzcCE+tmmHbAA9zVd5valZyJe0Y+yIszKzYzFtj0nKHQPFK86YxADxzvQ9x3wtzwykR9skiJAMU9SWfR/0jUp/N1PnKPco9LZDUnuaDoKMaiPRvWdDJ/MsVQ7F26HnfJ6SuyZPDnTDwD4vztD9NMc99S6YdhcW+F39Wg==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CZ/Po0rrzss3TjPXtTFSgl1QBFpUFAxJX83ICgXTLFU=; b=gMD1WmieGIvv0Ei6F7l2ycAdPhaWyZW+utYto1zqgf+nTmKa1qFOghcXxjKHH2nBQ0BhNvnIJ7R9wjljdusPYyyfRVs3Pi30d0qAK6yQPAaPV99tbA+18piUpaJYyThRcbRZYVJWEjV3VLGeuObF4NSRxTKzlNROpQuiM1m1UsZJ0tZMgr2qf5ikH0uQ9vZt+4c6rp/ZSZSIbKYSGp+QkIkjdQUoO+280Ubu5YhXknYxbUIK/vfHr77Ykw6bIlbUdg7dKQzpl6x2ta2MC7U3AM7Jae+oYFEoy8r+E8ZH3LgX3Gaf4wYo2PTS8zD2NM5orSpBVm5kYYXazmuJYnuywg==
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=meinberg-usa.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CZ/Po0rrzss3TjPXtTFSgl1QBFpUFAxJX83ICgXTLFU=; b=Fuer00S3Kuuu3a+J7V4Y5iKEqVG9iSDT5OsvC+JlQyXvT35aLZQEZDbWEuRThasDT2GAYXbceWEr5GUwDofcjFSWgV5uEdH7Pe5VEfyYats9oQVIrptpr1bq+StoKtRRvdftyt415EWQYXRXqbg/LQL/9AppCQz65Fbi+EQb48GmrHkUTlxZ8pCCQBGqZuDORME7qBORlyqGcUbfpZxNtwvF4vQ+e2ID5VPVN3f80l2h+I1lvuYso8wwNR6YAcPCRXTrZXp5kagbXEl6svUONYcscWujF9yPDqwdgNMK0Kl11dMHGotYUaBMbKwiDwI4Idb2WeSJMeXNGi2As8eDnw==
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com (2603:10a6:20b:102::15) by GVXPR02MB10782.eurprd02.prod.outlook.com (2603:10a6:150:150::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Mon, 11 Mar 2024 23:20:43 +0000
Received: from AM7PR02MB5765.eurprd02.prod.outlook.com ([fe80::c71d:5537:6c18:1870]) by AM7PR02MB5765.eurprd02.prod.outlook.com ([fe80::c71d:5537:6c18:1870%3]) with mapi id 15.20.7362.035; Mon, 11 Mar 2024 23:20:42 +0000
From: Doug Arnold <doug.arnold@meinberg-usa.com>
To: NTP WG <ntp@ietf.org>
CC: Rodney Cummings <rodney_cummings_spm@hotmail.com>
Thread-Topic: ntp over ptp
Thread-Index: AQHadAbE4ivmIseaCUC7kTYRJ0lmPQ==
Date: Mon, 11 Mar 2024 23:20:42 +0000
Message-ID: <AM7PR02MB5765C06778AC58E3B1AFC281CF242@AM7PR02MB5765.eurprd02.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=meinberg-usa.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM7PR02MB5765:EE_|GVXPR02MB10782:EE_
x-ms-office365-filtering-correlation-id: 5c896da6-7940-4c31-ba06-08dc4221df4d
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: mFEAkf48EGfxHp8F3mbt1gjbFMudzHvIld3kWtgPF/puEJvIJKWM3wE56La2fq0ck4fggOYke17iJUWX6TjMwxkfLh5uzmFhlkjSRXVhE0ZPpOsG8q7h16YYqgvY9+nGNHYrysIBpsl2gLY8VIgoPGIxcVIfUjUBBr09OFvpix+GoSegjKjdbkb70AoQq3RgQB7X5YdYVGFopLYlpCByfZEoNNUlzpx1uABjeARQzy+2RR9U02UydhMgK4qoWnG4Vp9n5dypNEpM5XqghTFt2nGpvYCVzbZ0gnCA9kHfcarhzAIzLMPiCd8jCOWjPpZ+nkmqu46FBbnnLTR0k7F5VqOnukB+2FSwuHEkh7QJXalMNiqtztXYidCsrgL1bcRRYKO0V46bc3viBb4nP/pmF/CQdMw7YaUU79XEhUxX7A/hoNTvlrH0Ket+7snhPo7KzpUfgUjiDWkSMqddkxcDgsHeQdmMM1d6gIZrJ0zW1QAd+lbqYagvel7jbVoeDlT56cOOQl3URByaVR7osn6xnpFSyfI0FkyNzhXnVfvM1DIkzYb76gtv58pibkDBYNLRXE5/fXFO2PKYSla3iIz3rh7IFtXhFwvBsg2olM0e14q+0duK3PGcf1w05pfS1fofq04sXWqaOb9TQ/hCmq0XQl3+cddZSv0nXIIRF3fSIRfxhYLZCXK9I2EPq1NJoYbCjGHfj9QPbrvEUplmPgLm63EkrrjuhiFQaUvb17UgNvg=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR02MB5765.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(38070700009); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 1ym4Cv0njp+hCLPP2gLrYkzWUIpTXNKIb5HVkUMivo3KVgRecPc1MrVD687YApKshdLj0K6ZGuFxDMxt34VTc6ZzX8Jt9O4qKdV980pL06v+qA4paHTQCuNS7mEARRg8Mycw3spg10cP+Y2W/mMnwus94TRTQvurLYsXX2oC/piruzUWW+isRHy7dd3feuxbDHPpxoX/pwooD9W8ImNWwXAG4S3EXM7gWk38ckWLVWrMR5RehIiXKMCus/tYDal4mmXSr+KR3CPaYgtsVQLv2Wfy7WYxLmbcWt3JgEj70e0SOQoHn1rvNyROtAVaojB4/1pfKIljnweDaYK9nbYhxDGC08UP4Ff1Iy4ru5Xos8/BEJt46n2qXJwttELZPDgk+pYpjvQgvmfCyFyDAVGqlgxwTkOIfZiTQn1OjqGUfjw238YPXHlATYVfpJP8lRnxGxFcZzMyZPB16M1b0Irsuj1dvbhUaepJLeSRVRsVVDUY/aSWUdbJsYmso2Ez2kI5AY92ByBaG47A+2xyxwy0Z5W65d7cTo40brLa2tEo5h6iPqotCgFtLYxUrQ4ojQMEDLw+l1VPPBQmZ2FPVT/3U0bGdXEJzenVL41NcFYNtXNZ7iUyTDjjjrIwkyuPXNI9TCgdG1Gg9rGX5k311ZUqJtna2dpZUM67me7bru7jccrYbLsaBzVjhIf9pLnMw0ZNo/xDRe/15X6QxsCxrXi+QKbg9/0Qp5NFfBXvAk3HvSfwvzdttbKNxiFxrEHSMqZAo7u0xbfOp3Bdbss8A0Ywp5I6mwZ0JB9d0l6yhwdwNmQIMnEBBBqhO2Mr4OJOyILjBOFJf+e4SyoYcfh1QkfWa4k/GhJhuFB00NSVZdWy5WFAFMut6kPXHnsJ4I+qhecguj4Jg7JyvLiWT6sCMEk6zqeXwMZ/IYDB9Bn9ERV/R8Y2oT9cmVJj4sXAlazNyO3K4kcqN9IDCwV+kVwkwz+mjXivptkca20ZoYAoDbgDAqr8IfuH6K4M65N7xI3qnJ9sYiVxwOAVRhff2v8t+jbbOZ4Fyg62iakwS/Hl0S+c6HSfICzqojaJwSHHonE5/n17auh1mbrulhBcTNKthivHm+2CfVkoZrF1LpTwGlC3mMyiFVPDo+3FiArQeNAuNs/akdW+aSxf31eGLe3QWnIihBLL1rUjCSts7k7Uu3nEnoA5JwmqdHB6IV+QExjltSuOmlJqHGTJUBGFXWQruvWKp3Aq3iFDQcAQ52AHPTeP1FfyTekWRB5anPGdHUQGj345RkeUzSLUkCZQSN0x2DLQ1MOllHsfAUazFN2txeta48UUiyFyXNu4p+p67d0GhHIA1pcXquD/Uf84qpstbt+tG13Puhlmh0thmD+NxR9N9XWr7KcpteMs6Bpvv40g70kTQi9xna/ruKJbEHdRBOqCJplXXHcbwdZ0K0j29j36NXx0wqrPCGxYcuWnlbN8VdBCFV+PyWCLoEwnLnN+5RJjbO72I2Vq/+CZ8qadJUxT42gUWDy/5eoOWGpFuc3f8BiOOkEY2AwOlPwW9ikbQ91vDX2ATpbEU1aMUxfciX6B2AaU/PUWnD6QSXiLEE9XPKYjOZ+lq/9Qa8/BU9NdMP3K1Q==
Content-Type: multipart/alternative; boundary="_000_AM7PR02MB5765C06778AC58E3B1AFC281CF242AM7PR02MB5765eurp_"
MIME-Version: 1.0
X-OriginatorOrg: meinberg-usa.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR02MB5765.eurprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5c896da6-7940-4c31-ba06-08dc4221df4d
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2024 23:20:42.7402 (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: lfdfpWSvHhu5ZJuqjZmY2wpoN7LevmoK+Fo9cpGPmI3vwVaj8w+aT5l/u3igP4qShoNjEa9Vg0r0qdoXbSGKv7JAWCINyz9NnEhLswvyI74=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR02MB10782
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/yuAlzVSVz0vxJV71mbnJcPJRFUo>
Subject: [Ntp] ntp over ptp
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Network Time Protocol <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: Mon, 11 Mar 2024 23:20:53 -0000

The document draft-ietf-ntp-over-ptp-02 describes a mechanism to allow ntp to take advantage of PTP only hardware timestamping ability.  The mechanism uses only the (unicast versions of) Delay Request and Delay Response messages to transport the ntp request and response messages respectively.

This is actually very clever.  However, IEEE 1588-2019, subclause 7.3.1,  has this to say about unicast ptp:


"Although the standard is written based on the multicast model, an implementation may be created based on

a unicast model, or on a mixed multicast/unicast model, provided that the behavior of the protocol is

preserved.


Unless otherwise specified in this standard, the specifications for unicast communication are the same as

the specifications for multicast communication."


The behavior of the protocol is that nodes in the TimeTransmitter state shall send Sync and Announce messages as well as answering delay response messages.  I believe that the document should be expanded to describe this requirement.  It would also be good to point out that the external port configuration option of subclause 17.6 is being used, as well as the end-to-end delay measurement mechanism.


This is starting to sound like a PTP profile needs to be defined to list these requirements.  The  rules for that are found in subclause 20.3 and states:


"A PTP Profile should define the following:

  *
Which of the best master clock algorithm options (see 9.3.1) is to be implemented
  *   Which of the configuration management mechanisms (see 8.1.4.3) is to be implemented

  *   Which of the path delay mechanisms, delay request-response (see 11.3) or peer-to-peer delay

  *   (see 11.4) is to be implemented

  *   The range and default values of all PTP configurable attributes and data set members subject to the

  *   restrictions of 8.1.2.1.3

  *   The transport mechanisms required, permitted, or prohibited

  *   The PTP Instance types required, permitted, or prohibited

  *   The options required, permitted, or prohibited, and any parameter values associated with these

  *   options

  *   Uncertainty specifications appropriate to the evaluation of whether traceability (see 3.1.80), to a

  *   primary reference is achieved for time (see 8.2.4.6) and for frequency (see 8.2.4.7)

  *   The value of the observation interval (tau) used for variance measurement (see 7.6.3.2)


A PTP Profile shall extend the standard only in the following ways:

  *   a) The use of the TLV mechanism of 14.3

  *   b) The specification of an optional best master clock algorithm (see 9.3.1)

  *   c) The specification of an optional management mechanism (see 8.1.4.3)

  *   d) The provisions of 20.2.2

  *   e) The provisions of 7.3"

Regards,
Doug