Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-02.txt
Martin Burnicki <martin.burnicki@meinberg.de> Wed, 09 September 2015 16:40 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 14CAB1B3DD1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 9 Sep 2015 09:40:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.8
X-Spam-Level:
X-Spam-Status: No, score=-6.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, 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 E1UhlwHflVHv for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 9 Sep 2015 09:40:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id AFFA91B3C3F for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 9 Sep 2015 09:40:28 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 5F69F86DBCF for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 9 Sep 2015 16:40:28 +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 5BE7486D83B for <ntpwg@lists.ntp.org>; Wed, 9 Sep 2015 15:20:23 +0000 (UTC)
Received: from server1a.meinberg.de ([176.9.44.212]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <martin.burnicki@meinberg.de>) id 1ZZhAU-000Co6-MY for ntpwg@lists.ntp.org; Wed, 09 Sep 2015 15:20:23 +0000
X-DKIM: Sendmail DKIM Filter v2.8.2 server1a.meinberg.de 8532F71C0A26
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=meinberg.de; s=mail201101; t=1441812011; bh=pzBM6/swbVB0EDaYjNLXWeOzjvmzGFJXdlNa3e78d8Q=; h=To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To: Content-Type:Content-Transfer-Encoding; b=E+ccyp0veglvar3e6k3xMcF4UskQbS4Bdv/HzpT7W+z0Aj9/VpATvO7KD/i6nYxBx xbvsX6xDNcMOsFCISwkXLoAtk72SJL/sXsdS9L6fSSlQKfQAlw+hsLAPzk0htP5W5p IkgAlUyzApg6XrvIqiA4JoaSgYJEOnagsGalg5I4=
To: Greg Dowd <Greg.Dowd@microsemi.com>, Miroslav Lichvar <mlichvar@redhat.com>, Tal Mizrahi <talmi@marvell.com>
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> <8D2BF679AAC7C346848A489074F9F8BF79EB099D@sjsrvexchmbx2.microsemi.net>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Message-ID: <55F04E29.2060600@meinberg.de>
Date: Wed, 09 Sep 2015 17:20:09 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35
MIME-Version: 1.0
In-Reply-To: <8D2BF679AAC7C346848A489074F9F8BF79EB099D@sjsrvexchmbx2.microsemi.net>
X-Virus-Scanned: clamav-milter 0.98.7 at server1a
X-Virus-Status: Clean
X-SA-Exim-Connect-IP: 176.9.44.212
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: martin.burnicki@meinberg.de
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-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
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>
Greg Dowd wrote: > 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 problem I see with NTP's interleave mode is mainly because it doesn't work with normal client/server associations, so it doesn't help normal clients of an NTP server to increase the possible accuracy. > 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. Yes, also the leap "smear" is a hack which can help to avoid problems with lleap seconds if operating systems would just step the system time back. > 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. Some time ago we have made tests with NTP and hardware timestamping of NTP packets, and we found that (as expected) NTP can yield the same level of accuracy as PTP in this case. However, the main problem was that unlike PTP, the NTP protocol doesn't know "followup" packets which the client can use to compensate some processing delays on the server. So IMO interleave mode is just a workaround for those missing followup packets. Possible alternatives were an (incompatible) extension of the protocol to support followup messages, or putting some correction into an extension field of an NTP packet "on the fly" when the packet is sent. As we've seen in some earlier email this would not even be sufficient to determine and compensate constant delays introduced by different routes or cables lenghts, so eventually also delay request messages like used by PTP would be helpful. Unfortunately a huge drawback I see is missing hardware support for NTP. PTP has been asking for hardware timestamping support in NICs and switches for a long time, and now there are PTP-capable devices available. On the other hand, normal NTP would not even be able to yield the same level of accuracy in practice because there are no NIC chips or switches which can timestamp NTP packets, so the protocol will still suffer from varying latencies if NTP servers and clients support harware timestamping. > 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? Yes, I agree with Miroslav that it would at least allow clients to do some plausibility checks. > 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. Agreed. But IMO it would be even worse if the "original" time stamps would be modified with corrections, and thus ended up in a "bucket", where eventually the client wouldn't even be able to distinguish if the time stamps have been modified on their way, or not. > 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. Agreed. 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
- [ntpwg] I-D Action: draft-ietf-ntp-checksum-trail… internet-drafts
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Miroslav Lichvar
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Tal Mizrahi
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Miroslav Lichvar
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Tal Mizrahi
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Miroslav Lichvar
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Greg Dowd
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Harlan Stenn
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Miroslav Lichvar
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… dieter.sibold
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Martin Burnicki
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Martin Burnicki
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Miroslav Lichvar
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Miroslav Lichvar
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Martin Burnicki
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Greg Dowd
- [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-chec… Ulrich Windl
- Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-t… Martin Burnicki