Re: [Ntp] NTPv5 draft

Kurt Roeckx <kurt@roeckx.be> Tue, 01 December 2020 10:25 UTC

Return-Path: <kurt@roeckx.be>
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 AB1B43A10F1 for <ntp@ietfa.amsl.com>; Tue, 1 Dec 2020 02:25:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 vBmhrQ9V7OaV for <ntp@ietfa.amsl.com>; Tue, 1 Dec 2020 02:25:45 -0800 (PST)
Received: from excelsior.roeckx.be (excelsior.roeckx.be [IPv6:2a05:7300:0:100::3]) (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 D6DBD3A1102 for <ntp@ietf.org>; Tue, 1 Dec 2020 02:25:44 -0800 (PST)
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id 542B1A8A0EC7; Tue, 1 Dec 2020 10:25:41 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id DCB331FE0DDE; Tue, 1 Dec 2020 11:25:40 +0100 (CET)
Date: Tue, 01 Dec 2020 11:25:40 +0100
From: Kurt Roeckx <kurt@roeckx.be>
To: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Dieter Sibold <dsibold.ietf@gmail.com>, ntp@ietf.org
Message-ID: <20201201102540.GO971977@roeckx.be>
References: <20201111161947.GG1559650@localhost> <AA848C67-CFB7-43FC-B190-FD3911360373@gmail.com> <20201201081203.GB1900232@localhost> <2B8C7410-DFA7-4A87-A33E-F50FFA96D0F9@gmail.com> <20201201100305.GK1900232@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20201201100305.GK1900232@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/B7hzT-NFDD3HXfMXbVN3crqhNo8>
Subject: Re: [Ntp] NTPv5 draft
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <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: Tue, 01 Dec 2020 10:25:50 -0000

On Tue, Dec 01, 2020 at 11:03:05AM +0100, Miroslav Lichvar wrote:
> On Tue, Dec 01, 2020 at 10:51:22AM +0100, Dieter Sibold wrote:
> > Uncertainty and maximum error are different. The uncertainty interval will
> > always be smaller or equal to the max. error.
> 
> Can you describe an example how would the server determine the
> uncertainty?

When talking about uncertainty, we talk about confidence interval.
We can never be sure what the maximum error is. We typically talk
about an expanded uncertainty of 95%, saying that in 95% of the
cases the error will be smaller than the uncertainty.

The 95% comes from 2 * sigma, which covers 95.45%. And we'll write
that as k=2 in case of a normal distribution. For NTP, in most
cases, it will not be a normal distribution, and you'll need a
different k factor for the 95%.


Kurt