[Ntp] Antw: [EXT] Re: comments on draft‑mlichvar‑ntp‑ntpv5‑03

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Fri, 26 November 2021 08:29 UTC

Return-Path: <Ulrich.Windl@rz.uni-regensburg.de>
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 5C55E3A0C10 for <ntp@ietfa.amsl.com>; Fri, 26 Nov 2021 00:29:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 UT0bheURcwnI for <ntp@ietfa.amsl.com>; Fri, 26 Nov 2021 00:29:37 -0800 (PST)
Received: from mx2.uni-regensburg.de (mx2.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:3:bdf8]) (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 6840A3A0C0F for <ntp@ietf.org>; Fri, 26 Nov 2021 00:29:36 -0800 (PST)
Received: from mx2.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 9F01A6000051 for <ntp@ietf.org>; Fri, 26 Nov 2021 09:29:32 +0100 (CET)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx2.uni-regensburg.de (Postfix) with ESMTP id 85839600004D for <ntp@ietf.org>; Fri, 26 Nov 2021 09:29:30 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Fri, 26 Nov 2021 09:29:30 +0100
Message-Id: <61A09AE8020000A100045B30@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.3.1
Date: Fri, 26 Nov 2021 09:29:28 +0100
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: dan-ntp@drown.org, Steven Sommars <stevesommarsntp@gmail.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <20211123131501.Horde.ErUH7VWw3Nr2PFkAGzGIEuI@mail.drown.org> <619DEA79020000A10004599E@gwsmtp.uni-regensburg.de> <YZ39jGBrF+zeiYm3@localhost> <20211124221752.Horde.jVR5d5RhflN9UNe6SuqxlZx@mail.drown.org> <CAD4huA7h7eGcGe1o+vbnDe4DVgrGCQKCXf=J1nV07gSW_6=QSA@mail.gmail.com> <20211125204300.Horde.zdIONiOUK0wqEW0NDfZvexa@mail.drown.org>
In-Reply-To: <20211125204300.Horde.zdIONiOUK0wqEW0NDfZvexa@mail.drown.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/yhKbBJyrwTgGIv_uxAwE65ZLgOI>
Subject: [Ntp] Antw: [EXT] Re: comments on draft‑mlichvar‑ntp‑ntpv5‑03
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Time Protocol <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: Fri, 26 Nov 2021 08:29:41 -0000

>>> Dan Drown <dan-ntp@drown.org> schrieb am 26.11.2021 um 03:43 in Nachricht
<20211125204300.Horde.zdIONiOUK0wqEW0NDfZvexa@mail.drown.org>:
> Quoting Steven Sommars <stevesommarsntp@gmail.com>:
>> Root dispersion should have the same resolution as the time stamp.
>> With today's 16‑bit field the smallest root dispersions are 0,   15.3,
>> 30.5 ... microseconds.
>> What should an NTP server having 1 microsecond uncertainty return?
> 
> I agree that NTPv4 root dispersion does not have enough resolution.
> 
> With this NTPv5 spec, root dispersion is 32 bits with 28 bits assigned  
> to the subsection fraction. This gives 1/(2^28) or 3.7 nanosecond  
> resolution. I don't see the point in taking root dispersion from 32  
> bits to 64 bits for a smaller resolution than that.

I wonder: Should a "virtual infinity" value (probably for every special
numeric type) be defined?
I mean: we are limiting the range for root dispersion rather arbitrarily
(through the number of non-fractional bits), while in theory (through math) the
value could be exceeded.
I think some of the algorithms might be more clear when using a symbolic
infinity value, even if that's far from infinity.

MAXDISP (16) somehow is that, as the value cannot actually be reached.
But it seems to have some double-role: The infinity value and some
protocol-related value.

Example:
if r->rootdelay / 2 + r->rootdisp >= MAXDISP 

Regards,
Ulrich


> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp