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

Greg Dowd <Greg.Dowd@microsemi.com> Tue, 08 September 2015 16:48 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 3FFF91A8A75 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 8 Sep 2015 09:48:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAD_ENC_HEADER=0.001, BAYES_00=-1.9, 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 VZ3bHc7wtSNv for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 8 Sep 2015 09:48:53 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 592801A8711 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 8 Sep 2015 09:48:52 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B478F86DBC0 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 8 Sep 2015 16:48:51 +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 8CFA886D77F for <ntpwg@lists.ntp.org>; Tue, 8 Sep 2015 15:58:32 +0000 (UTC)
Received: from mail-bn1bn0100.outbound.protection.outlook.com ([157.56.110.100] 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 1ZZLHe-0006g3-Kh for ntpwg@lists.ntp.org; Tue, 08 Sep 2015 15:58:32 +0000
Received: from BY1PR0201CA0023.namprd02.prod.outlook.com (10.160.191.161) by SN1PR0201MB1440.namprd02.prod.outlook.com (10.163.129.143) with Microsoft SMTP Server (TLS) id 15.1.262.15; Tue, 8 Sep 2015 15:58:08 +0000
Received: from BL2FFO11FD027.protection.gbl (2a01:111:f400:7c09::188) by BY1PR0201CA0023.outlook.office365.com (2a01:111:e400:4814::33) with Microsoft SMTP Server (TLS) id 15.1.262.15 via Frontend Transport; Tue, 8 Sep 2015 15:58:08 +0000
Authentication-Results: spf=none (sender IP is 208.19.100.20) smtp.mailfrom=microsemi.com; marvell.com; dkim=none (message not signed) header.d=none; marvell.com; 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 BL2FFO11FD027.mail.protection.outlook.com (10.173.161.106) with Microsoft SMTP Server (TLS) id 15.1.262.18 via Frontend Transport; Tue, 8 Sep 2015 15:58:07 +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; Tue, 8 Sep 2015 08:57:54 -0700
Received: from SJSRVEXCHMBX2.microsemi.net ([fe80::6da0:6f9d:d5d1:3d5d]) by sjsrvexchhts1.microsemi.net ([::1]) with mapi id 14.03.0248.002; Tue, 8 Sep 2015 08:57:51 -0700
From: Greg Dowd <Greg.Dowd@microsemi.com>
To: Martin Burnicki <martin.burnicki@meinberg.de>, 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//48IIIAK/imAgAGXZ+A=
Date: Tue, 08 Sep 2015 15:57:51 +0000
Message-ID: <8D2BF679AAC7C346848A489074F9F8BF79EB099D@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> <8D2BF679AAC7C346848A489074F9F8BF79EA9C43@sjsrvexchmbx2.microsemi.net> <55ED498D.1090601@meinberg.de>
In-Reply-To: <55ED498D.1090601@meinberg.de>
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; BL2FFO11FD027; 1:q2+wE5MgAh04OERGmVPQesNQH0kxblpN5PFDwSEXmVVEUO05saMGcqwgRAeqdnqMin1tZLYileL+6E7Oz2rD7g318SyLPTttV+KYng/VM5k38TTR23wY7dvy024ZLp9qDdL1VoY16xwHpCHU/RXlJPDZc14dTA9MHJxli7WbxEnQt4bVdhVCpnBjeC4/cbS3IrJVczHKjQcKx/U+/1ncb4DQFpSW26g/1ygySJ9dNDif3Db1yuOVTbdGGbwhmy3B5anEWnqZRjl/HvlSc1G1SZOZ9iZhE6BePxZr0eFZZMHRmh1DYv6aDotMTHcIZ1govTBAUZeFbDxklH/RLNaGQC4gCPqlshSWsCCPRGsx/Wg0C40gGz/WYIuUHCmyxP3j
X-Forefront-Antispam-Report: CIP:208.19.100.20; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(377454003)(31014005)(252514010)(199003)(189002)(24454002)(13464003)(69596002)(64706001)(23756003)(189998001)(5001920100001)(106116001)(81156007)(19580405001)(106466001)(101416001)(53416004)(97736004)(2950100001)(105586002)(2920100001)(2900100001)(6806004)(4001540100001)(5001770100001)(5001830100001)(16796002)(19580395003)(93886004)(47776003)(33656002)(49446005)(5004730100002)(5250100002)(5007970100001)(46102003)(71926001)(87936001)(102836002)(55846006)(68736005)(5001960100002)(5001860100001)(54356999)(50466002)(26826002)(50986999)(230783001)(86362001)(77156002)(92566002)(76176999)(5003600100002)(62966003)(11100500001)(15975445007)(18886065003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0201MB1440; H:avsrvexchhts2.microsemi.net; FPR:; SPF:None; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1440; 2:0+rv7DcKgSG4gcsNmWKMiUUpIzy+SH94iGb6VggnToJr00cNpbAAMV2ohduKwgOjoFWK8H7nKQAR53j6lkgNVEgckq42LpaxUA4cw77E0Du3OkOC5XjtenwBNppmrb9ri93oIcLmYjLjTkiVz9LlbW5+2/i9+uCvQjCpBsIN0Mo=; 3:uTat9hO7gJC/mj4PoWw+MtR0r+pTRqqSBWAcT3q5bDfNwUtQMbACcHn0GM0hRkTfWBQyq/j/1tEovJlys7BiDkT6csogLQFgRtymFTMgMR05uLLNqucSvkdVsBopDGDtgRNkD84/d8x55RpxB6N0dIkpAdbsCaunPxcwn5zzErONUb8f02Dj92RFwojabvLyrBGDYwcczqJ16YBqKo1XM3yYWqgIp5KmYJdw7888KL4=; 25:5ZtuTRh7EcBbQkd1OGsLFyCJXhwC6vUVsm6AlC8dYLAvAV5+Y283/dlWT8KGEAXkRzXqu+jXyyIiy1QTS2nNEMwMtKMtugQL6R42E5SMSf9o5Sk0OqJEna9Rk5B6dAY5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9jzd3S4CqeGGSp3nLdefHa1N3bfoQ==
X-Microsoft-Antispam-PRVS: <SN1PR0201MB1440937D27F7F1CCCF768D06FC530@SN1PR0201MB1440.namprd02.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:SN1PR0201MB1440; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0201MB1440;
X-Forefront-PRVS: 069373DFB6
X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1440; 23:Up8Jg2KQl8E7kbs/8bBjXCyji1WiOYbDW7oK5rPzKpNdVRNq/Tgm5NzYFVjuLxIfOz3iBs0QYKJgzoqvAalLnrD390pSvJdJwTAlPgw23K0bysaacm2DgKYUri998KGdyO1MsAwWBzM6bgxOG1BlcfWexbdAN/si0O+2jYaS3K2PPDMa+Id473IwUCaxOGzwi/rO4uz147keS4jrr7Gs1yDB13wOJREHS0l3bqnzuvpAAqw3+4vOYFDvqLL2A9+A9rNhpQo3ToPXWRUQfzlsAzYrwck/RQLrd9jpWjLoXUG8iXZGgC6Cjk0oNvpzYjfnk/fPjS+6HsyW1A8lCUslLjh6595X3P7aZfgntgvKCLNHFaVRjXDt0Y0xIIMZPLQoUB7AoEI/Hnc2rF1Y1UOBgWoBS0vwQeeqyncspmMI4FilDIFVUiaxLLsKAcL7QcZXVAE6Pvxh14IsxakXMCvpi42hWq8I000C6NqfZBXwibP6rFc6CHcoigMS5goRZuzQpx8f+u2ZLqB8ABZytYnJrJYgqWThm3+3aJ/MxKFpHOELSSbT8QdQL8nqA/mSkuUdc8Qkn/4miQcCKXb8pxc+Knt+9yEfFYIOMIA/4coFpBwZVOX4lEdU/ULHPfF5oJmQ90giVwu4LhRUdrfmHLHiXipHjKw48/YhIpgijsVYFMKq/Cf79ZIXd1dLtUrkaFDLc7HR7mCoL0HO3MH8tjWuh1xuqbG+WF97r1LwBOiZvEo4yNAjFdDV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mcglswVmdl2V3Xqj5ene41zHSWXByisungCwqvPFQ4WFRK2q1oVp3dd3vtZ3ORhMbpoY/WkgMTtvgNg8=; 20:ZPwOIy+5kNYyVWKuJb96hPFuSovGgjd2/2OgT9YidQyF9lGfjR2l/cOWwvwHFvlS6EeJr1xqERHegreQ4ZJCzw==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: microsemi.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2015 15:58:07.6355 (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: SN1PR0201MB1440
X-SA-Exim-Connect-IP: 157.56.110.100
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="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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>

I won't argue about the current state of interleave mode although I think the lack of development effort applied to that mode of operation is more an indication of a lack of interest in this capability in the current ntp market as well as recognition that there are emerging alternatives.   The capability of transferring stratum 1 synchronization in telecom networks using this method was out well before interleave was introduced so there is no question that any high resolution timestamped frame is a good source of frequency and time but the ecosystem may not be able to use it.  Really the main issue with the interleave mode is the need to recognize that it is in use, similar to the issue discussed with the leap "smear" mode.

As for alternatives, this draft is exactly that type of alternative as I'm sure you're already aware.  You can just update the timestamp field and use the checksum trailer to fixup the frame.  Again, a technique used for years, just a matter of whether the market requires that function in this type of application.  

Are you thinking that a discrete field is easier to implement?  Or that the clients would use intelligence to analyze the stability/accuracy/authenticity of the correction creators and include/disclude their correction?  If so, then a chain of extensions may be a better methodology.  One current issue with the PTP correction field is the "bucket" nature that it aggregates all intermediate corrections.

The nice thing is that the way the protocol is evolving, all possibilities are available while maintaining backward compatibility.  There are actually some nice things about using NTP such as the timestamp demarq can be seen as inherently more precise than the PTP definition since it uses the y.1731 beginning of xmit/end of receipt which corrects for network bandwidth steps.



-----Original Message-----
From: Martin Burnicki [mailto:martin.burnicki@meinberg.de] 
Sent: Monday, September 07, 2015 1:24 AM
To: Greg Dowd; Miroslav Lichvar; Tal Mizrahi
Cc: ntpwg@lists.ntp.org
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-02.txt

EXTERNAL EMAIL


Greg Dowd wrote:
> 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.

IMO the interleave mode is just a hack.

"Interleaved mode can be used only in NTP symmetric and broadcast modes", quoted from https://www.eecis.udel.edu/~mills/ntp/html/xleave.html

I really like Miroslav's idea. If support for latency compensation is introduced then it would be good to not just introduce a first level compensation now and another level later, but just provide a way which allows for the highest degree of accuracy.

Martin
--
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: martin.burnicki@meinberg.de
Phone: +49 (0)5281 9309-14
Fax: +49 (0)5281 9309-30

Lange Wand 9, 31812 Bad Pyrmont, Germany Amtsgericht Hannover 17HRA 100322 Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg, Andre Hartmann, Heiko Gerstung
Web: http://www.meinberg.de
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg