Re: [ntpwg] Antw: Re: call for adoption (draft-dfranke-ntp-data-minimization)

Miroslav Lichvar <mlichvar@redhat.com> Thu, 30 March 2017 07:26 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97FDB128D44 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 30 Mar 2017 00:26:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Va0Lp1bsFU2l for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 30 Mar 2017 00:26:05 -0700 (PDT)
Received: from lists.ntp.org (psp3.ntp.org [185.140.48.241]) by ietfa.amsl.com (Postfix) with ESMTP id AA7D91293E9 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 30 Mar 2017 00:26:04 -0700 (PDT)
Received: from psp3.ntp.org (localhost.ntp.org [127.0.0.1]) by lists.ntp.org (Postfix) with ESMTP id 1DED486DC2A for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 30 Mar 2017 07:26:04 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (fortinet.ntp.org [10.224.90.254]) by lists.ntp.org (Postfix) with ESMTP id 52B3F86DAB3 for <ntpwg@lists.ntp.org>; Thu, 30 Mar 2017 07:26:01 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1ctUSt-0009VQ-QL for ntpwg@lists.ntp.org; Thu, 30 Mar 2017 07:26:01 +0000
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 99B5C63172 for <ntpwg@lists.ntp.org>; Thu, 30 Mar 2017 07:25:50 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 99B5C63172
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=mlichvar@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 99B5C63172
Received: from localhost (holly.brq.redhat.com [10.34.24.121]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1F9C55C894 for <ntpwg@lists.ntp.org>; Thu, 30 Mar 2017 07:25:49 +0000 (UTC)
Date: Thu, 30 Mar 2017 09:25:48 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: ntpwg@lists.ntp.org
Message-ID: <20170330072548.GG23511@localhost>
References: <CAJHGrrTvY0gdPdrWDDJiEbD3hnA6vKWhva4cFzNgt=e6zGY5tA@mail.gmail.com> <20170327153535.GA16225@localhost> <CAMbs7ks+zcZV+d0sRxq=0LD-UbLjOhhpaK=GxvPEX0KJ7rz0=g@mail.gmail.com> <CAJm83bCT5PeSWq6kG8gfOz6Yfw7i8+3ix1yQazNuM9d0-OL3AQ@mail.gmail.com> <346830ae-cffd-0470-ae20-16fee166aa36@nwtime.org> <CAJm83bCvGR4rcRYHKFO57GOy5ZQDYfp0M4fkY7sq=1nsT0Lrfg@mail.gmail.com> <20170329094115.GC23511@localhost> <8D2BF679AAC7C346848A489074F9F8BF8C4D05AC@sjsrvexchmbx2.microsemi.net> <CAJm83bDN64c-a7Q7kE1YO264GBPU1WAn--4soFFTnskAsL1mqQ@mail.gmail.com> <58DCA067020000A10002566B@gwsmtp1.uni-regensburg.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <58DCA067020000A10002566B@gwsmtp1.uni-regensburg.de>
User-Agent: Mutt/1.7.1 (2016-10-04)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 30 Mar 2017 07:25:50 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Antw: Re: call for adoption (draft-dfranke-ntp-data-minimization)
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>
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>

On Thu, Mar 30, 2017 at 08:06:31AM +0200, Ulrich Windl wrote:
> > IIRC you're correct, but the randomization is some number of whole
> > seconds. The fractional part of the second is determined by whenever
> > the SIGALRM happens to come in, which is not random. Anyhow, I think
> 
> Actually I think that part is (depending on the number of fractional digits you look at) actually more random than the rest. With today's CPUs it almost unpredictable to estimate the atual number of cycles a sequence of instructions takes. Do you have real-life statistics material to proove your claims?

I think the stability of the scheduling will depend on the HW, OS, and
how busy is the system. In most cases it will probably be better than
a typical network jitter on the Internet (few milliseconds). You can
check it with tcpdump:

# tcpdump -v -l -n port 123 and host $clientip and 'udp[8] & 15 = 3' | \
  grep '  Transmit'
          Transmit Timestamp:   3699846941.374009549 (2017/03/30 09:15:41)
          Transmit Timestamp:   3699846949.374010294 (2017/03/30 09:15:49)
          Transmit Timestamp:   3699846957.374027043 (2017/03/30 09:15:57)
          Transmit Timestamp:   3699846965.374011576 (2017/03/30 09:16:05)
          Transmit Timestamp:   3699846973.374011486 (2017/03/30 09:16:13)
          Transmit Timestamp:   3699846981.374003976 (2017/03/30 09:16:21)
          Transmit Timestamp:   3699846989.374010205 (2017/03/30 09:16:29)
          Transmit Timestamp:   3699846997.374008774 (2017/03/30 09:16:37)
          Transmit Timestamp:   3699847005.374012529 (2017/03/30 09:16:45)

In this case the ntpd client has scheduling stable to few tens of
microseconds, i.e. the transmit timestamp has about 15 constant bits.

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