Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-02.txt

Greg Dowd <Greg.Dowd@microsemi.com> Mon, 31 August 2015 15:59 UTC

Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F4CE1B5427 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 31 Aug 2015 08:59:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.309
X-Spam-Level:
X-Spam-Status: No, score=-6.309 tagged_above=-999 required=5 tests=[BAD_ENC_HEADER=0.001, BAYES_00=-1.9, J_CHICKENPOX_66=0.6, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 BdJ4XhTcxSCC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 31 Aug 2015 08:59:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id AA90E1B5442 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 31 Aug 2015 08:59:56 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0898686DC31 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 31 Aug 2015 15:59:56 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 393D886D77F for <ntpwg@lists.ntp.org>; Mon, 31 Aug 2015 15:44:13 +0000 (UTC)
Received: from mail-bn1bon0059.outbound.protection.outlook.com ([157.56.111.59] helo=na01-bn1-obe.outbound.protection.outlook.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <Greg.Dowd@microsemi.com>) id 1ZWRFb-000PSq-TM for ntpwg@lists.ntp.org; Mon, 31 Aug 2015 15:44:13 +0000
Received: from BY1PR0201CA0011.namprd02.prod.outlook.com (10.160.191.149) by BY2PR0201MB1431.namprd02.prod.outlook.com (10.163.153.141) with Microsoft SMTP Server (TLS) id 15.1.256.15; Mon, 31 Aug 2015 15:44:01 +0000
Received: from BN1AFFO11OLC004.protection.gbl (2a01:111:f400:7c10::122) by BY1PR0201CA0011.outlook.office365.com (2a01:111:e400:4814::21) with Microsoft SMTP Server (TLS) id 15.1.256.15 via Frontend Transport; Mon, 31 Aug 2015 15:44:01 +0000
Authentication-Results: spf=none (sender IP is 208.19.100.20) smtp.mailfrom=microsemi.com; lists.ntp.org; dkim=none (message not signed) header.d=none;lists.ntp.org; dmarc=none action=none header.from=microsemi.com;
Received-SPF: None (protection.outlook.com: microsemi.com does not designate permitted sender hosts)
Received: from avsrvexchhts2.microsemi.net (208.19.100.20) by BN1AFFO11OLC004.mail.protection.outlook.com (10.58.53.75) with Microsoft SMTP Server (TLS) id 15.1.256.10 via Frontend Transport; Mon, 31 Aug 2015 15:44:00 +0000
Received: from SJSRVEXCHHTS1.microsemi.net (10.241.34.105) by avsrvexchhts2.microsemi.net (10.100.34.106) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 31 Aug 2015 08:43:59 -0700
Received: from SJSRVEXCHMBX2.microsemi.net ([fe80::6da0:6f9d:d5d1:3d5d]) by sjsrvexchhts1.microsemi.net ([::1]) with mapi id 14.03.0248.002; Mon, 31 Aug 2015 08:43:57 -0700
From: Greg Dowd <Greg.Dowd@microsemi.com>
To: Miroslav Lichvar <mlichvar@redhat.com>, Tal Mizrahi <talmi@marvell.com>
Thread-Topic: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-02.txt
Thread-Index: AQHQw5mLZj5FwXlaCE6ChmteoSpAHp4gmOCAgAQtkgCAAg/UAIAAA9sAgAAT1YD//48IIA==
Date: Mon, 31 Aug 2015 15:43:55 +0000
Message-ID: <8D2BF679AAC7C346848A489074F9F8BF79EA9C43@sjsrvexchmbx2.microsemi.net>
References: <20150721092341.17016.69271.idtracker@ietfa.amsl.com> <20150827143339.GS24378@localhost> <700776e0c93c416f84a1f763c6644df8@IL-EXCH02.marvell.com> <20150831135058.GA11596@localhost> <e8248ac647254c909b48736aa7a6b799@IL-EXCH02.marvell.com> <20150831151545.GC11596@localhost>
In-Reply-To: <20150831151545.GC11596@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.241.128.30]
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11OLC004; 1:AavBPP8wpEHHEnaukt4HN9cnV3x8zy5PqEVOyDAO3Gkw7HCeUz0RtQb5soBCW2y7R32f/q/AmXnw6sSUW9FiMARXs/vbTZ8n57ujbeCvyOblRf3dQkVlPIXuEt20i1/+hMpwvkSxK3UhmLV1pdIcT7+ertrnYAJy4VsV0DZ64KEfrwXxrHEit/7jv1SkXAXQ5DFBlf+Z3k89TfUTgzCGevUEBFQZG74m6vJtMUmwG/Ix59sXHelrWIaAPNCLgxQaVnp2XiXmUz/MP50809P24Ua2OkQTdA8+WroVFs0gG+275I3S78INX3rPIl1CifDlUX4kJ0X66cRZxUQA1fi0v0uW20c3SllErtlUURLhilNB8XMwym5Fof0d8d7Gkvw3
X-Forefront-Antispam-Report: CIP:208.19.100.20; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(3050300001)(199003)(24454002)(377454003)(189002)(13464003)(106466001)(230783001)(69596002)(19580395003)(54356999)(1720100001)(5001830100001)(105586002)(68736005)(101416001)(4001540100001)(76176999)(33656002)(102836002)(77156002)(2950100001)(15975445007)(92566002)(62966003)(2656002)(2900100001)(64706001)(5004730100002)(86362001)(26826002)(97756001)(19580405001)(5007970100001)(46102003)(23726002)(71926001)(5003600100002)(97736004)(46406003)(49446005)(5001770100001)(5250100002)(47776003)(93886004)(106116001)(50466002)(189998001)(6806004)(53416004)(5001860100001)(87936001)(2920100001)(16796002)(50986999)(81156007)(55846006)(5001960100002)(5001920100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0201MB1431; H:avsrvexchhts2.microsemi.net; FPR:; SPF:None; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1; BY2PR0201MB1431; 2:AFNgcrbtFxk2TC2MSUrbB4EqkSdoXabaYe8OkkstlGoCYCyjObwHg6K0ysJ1vaIQMac34tfcgtAfK2MkZuKlfo8CkGVgvfRA8qO1td2MM4sttt8Leo0Skw7qa5Xqg4eLM3+4/Ryzlb8HSnIDrGWNK9S6PWiTWcrmlP+knZ3JGP8=; 3:f8RhKl9TlYQH3wWpYKQGJ0ayB/KVUa42FU4MLEz8XHLP7pFYRKV+rk9C6baN9lnMLPPUeLAUr0esdOg/tWEsOR4B38u0O8kQJzNO7C2JQnjJD2ye26TrTYKkyB587+f7zaz2W0I/E4CcsK2M0leQaDSMJSqeLyqj9ncTdGw7ah7jRUNCo2Rr7FJ4IDhVpAQkOGGp980in5gx7WWLJh3RC9FxvymcdiqVeABEMHdFVXQ=; 25:rt90Vv4biKDk5Fg1PGjj31nu0k8QEEXngdgymvycQxwDrbPCwZh2+mqCmSftiKOYHxc0qM+jnDqOKgv+6Jz4oSuhEGtSVrrUOHLzfm66vd0j2mHwgwtLtMFhGdZGIiomwWfKJUg2PAQcqV5Jv7KYBB+A0WGPNwjhLCq48WkmGspJiYO2lOtuhc/tQIhkjSWk9rnHVrRAEvlfNTGuJhWz50TsHJZLKQ+QAdaR1wvj8EII8E035DwHB3aJxtXUhZhe
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1431;
X-Microsoft-Exchange-Diagnostics: 1; BY2PR0201MB1431; 20:tB6Mffa9jxfYXQpQotiXKNW92DyaeiMkfWR3dMgYSTFdp2SNcknolMbhjdHgk4ukWtt45Wr8dedfP0IHtb24vps26x7ciqRsTHnnJ487iZpSH8j7KvkiArL41V7LX+aSAk01rdni1nNK5HwW7TUnOdon2NE+wJMKnmrS1pQKdHA4PYS9o+7B2QQ2veNayhG/wo2pEmtBtXFoz39Ki+yDR/xPj8klZx5DHXtY4a95OF7e2NitnpzLpRnm1799Ywsi4IADDTw3tQCSNYahwv9wpmjvjiVK51ikF9bgldZzUQNO61sNuFZHOVlWodaQ/A+P6FEKO+CVoQXMZHygXhSQB+UARvNg5DRd0y1e/8LxbxaRVzPS5LNSgyT9+ZkkytVfcGvatXaRglO/9vNsRdi/jSLRAqsHyVQAWIDNV7iveU2e6EI9S16tZ0Nc3r+KWIR4CVor5hDkYQYUbe3zNbf3aClEZ92hfrH0VKNMeLEEHWjaR2N33XHdH78bYkKhueLM; 4:V7rO0axCY3lxYRSyt+Ug/rebWJlYUhU9auXxcRbSMgQ2+X765Qn8c5s7sAaKpd6CPhA63mCROPnSw9RtS+WUfoo3007+V7FA/PRKj+1GolbjRnf/76hrK3w4f5XGhuKrJw+AaD1mig6D/FyAGgOT31GN9zhkY2eqg+q2jRtRr8I/7BLUxPUzM9x9JlT6SJY9p/K/0Haj9Xdds+Hvwk2Hg6Ai802/Xtsho8SmtoG8TESbYmaMvD3Dq3H4Q1wc1bH2s9PIhcqNsGBERWO89/dMyHI7f+0hNbQ4hdcvlQ/jNPBv+FTAHpRv8iEaZiC1eQaX
X-Microsoft-Antispam-PRVS: <BY2PR0201MB1431F173346544D42E9673FAFC6B0@BY2PR0201MB1431.namprd02.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:BY2PR0201MB1431; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0201MB1431;
X-Forefront-PRVS: 0685122203
X-Microsoft-Exchange-Diagnostics: 1; BY2PR0201MB1431; 23:NN78eyeGwbh/u0GyB1YMqeSi1UFFQSsd545c4EqRIm5YXly8S9+Dei/Xis7p6qt9UpCp0697UwZqR8tG9iBuPjqW+Ot/+AE8YXblXwYPLw3m7hg06b23p++pHwXxNxpmigNbn0GjPZnWTTZ8veZzSRPfhQfSYrc97zGG6vGUU+zjaU2rF4Z95+CGCBNXUbC5YBlhqkD+/z6kQ+ur98rtl2Adye9QPB8iHC9tEbOOZe73lML14NIdA8FUMYSoNxzsF7iOcgNnwdgokfd7fT89StLEuhI5c8l4NomnTHPB3+FAahucUftUhwe7l5ogjCQFSsCaBK4CHAHFEMzbsG01Inf0Fpjk8NPlQbNSgLteVo3jYZMOqpCDf3GaByMO4nOcs3s1L/NwNnoz6RhPFG1SRECrg/Y64cwdgCZvdqzPJ+adazPFG8te5a37YqXSqU10cRiDZ1P2trzUg4f1CpAkVawNH4KBVTcgoybHYcyy22tUEa4W0uXDWWOAboHO+jGmT9uFudk2cWlcUXGGMRQemF9dMwAQTDah2V/9RECoG4J9LXlYOntX0qqjuxKQxHhCkCuR2+OZ4/LTehbTCUfNiHv3hWKW7YNAaCmZnJOgjFmgSptFGhtIn1GCu8yroH49mQaOaMdEg7tbdLOZxFalHlIJ+y6tMAixqxTUMhcDbvh1kcQihwKXEAKBWdpZOm1bimvtUCk6JWPPKIs+2rO8KqpqprcijVayuXYCXbAOimM9UTs7YlGauTYwGMkc6J9x7EZ07/LqXuKF1sb5KGL7w+Ia93lFrUQI1xfio2UgwPRNAFNgQlSRzWSYUJVC1flbbUrmfzaGCC7QE00mOLOeH+sLj6F0VLRIq5/wAg2kA+e1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R8NTd7lWoJ4JlTsTScJ4QFjI5VVgcjDTdMjXLUsQw0b+/MddZ3wf8eBV3IeFepZppRdLS/OFg==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: microsemi.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2015 15:44:00.6901 (UTC)
X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad; Ip=[208.19.100.20]; Helo=[avsrvexchhts2.microsemi.net]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1431
X-SA-Exim-Connect-IP: 157.56.111.59
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: Greg.Dowd@microsemi.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-02.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: ntpwg <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Probably moving further offtopic but why would you need 2?  And why the counters?  The correction field in PTP was originally designed because the hardware couldn't update the timestamps on the fly.  It would post-process and then send a follow-up with the precise timestamp.   NTP supports that  with the interleave mode.  With today's technology, it's at least possible to simply update the actual timestamp in a MAC/PHY.

However, if we used an extension with a correction field, the receiver would sum the components of the timestamp to calculate the actual receive time.  That could then be stuffed into t2 and no D1 would be in the reply.  

With the counters, it might be interesting to know how many nodes updated the correction field, but I'm not sure what quantitative assessment you could make.  Would you anticipate a dispersion compensation (similar to old stratum calculation) where a fixed error was added per hop?




-----Original Message-----
From: ntpwg [mailto:ntpwg-bounces+greg.dowd=microsemi.com@lists.ntp.org] On Behalf Of Miroslav Lichvar
Sent: Monday, August 31, 2015 8:16 AM
To: Tal Mizrahi
Cc: ntpwg@lists.ntp.org
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-02.txt

EXTERNAL EMAIL


On Mon, Aug 31, 2015 at 02:04:46PM +0000, Tal Mizrahi wrote:
> >With 1 byte for C1/C2 and 8 bytes for D1/D2 in the NTP timestamp 
> >format that would be 18 bytes of data. That would fit in the padding 
> >in the proposed checksum complement field if you were interested in a 
> >more general form of the "timestamp correction" field.
> >
>
> The purpose of the current draft is to make life easier for HW-based timestamping. HW-based timestamping on the client+server side can significantly improve the clock accuracy.
> I agree that on-path support (transparent clocks) can improve the accuracy further, but that is not the purpose of the current draft...

Understood. I was just thinking the checksum complement would be useful for other time stamping corrections too (not just for HW timestamping on the server or the client) and some of the padding could be put to use.

> BTW, speaking of transparent clocks, wouldn't it be simpler to add an extension field with a <correction field>, as done in PTP?

That's basically what I'm proposing :). But in NTP we need two fields, one for the request and one for the reply. The C1 and C2 counters would I think be a useful addition to that.

--
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg