Re: [Ntp] Antw: [EXT] comments on draft‑mlichvar‑ntp‑ntpv5‑03
Miroslav Lichvar <mlichvar@redhat.com> Wed, 24 November 2021 08:53 UTC
Return-Path: <mlichvar@redhat.com>
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 518033A0CBD for <ntp@ietfa.amsl.com>; Wed, 24 Nov 2021 00:53:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.802
X-Spam-Level:
X-Spam-Status: No, score=-2.802 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com
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 UkQwIasSd7rC for <ntp@ietfa.amsl.com>; Wed, 24 Nov 2021 00:53:41 -0800 (PST)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 91B373A0CBC for <ntp@ietf.org>; Wed, 24 Nov 2021 00:53:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637744019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yRUMv4yz/PGrQ/pa5OjLsPoZz6DxOeC0/wRIRyFhlsM=; b=LaUCP1LIWOAHc53se0D+L6+PiTOrX18f694R1KuuhSk2d4pdyaU8LitLW3RZ8MqXxLiJDl iAseAMUjA6LgZoKgiMolXONjsPW9ZJQH2dwGEKTOo96IyRjzuID94ObWDnI+2U0v4BO+ze XaJ4fyC8XJ25IqgaoUSIcruXdL262Vk=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-252-6PswXSgeOry1vRJE9Q7JIg-1; Wed, 24 Nov 2021 03:53:36 -0500
X-MC-Unique: 6PswXSgeOry1vRJE9Q7JIg-1
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5D2C09F92E; Wed, 24 Nov 2021 08:53:35 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 50AC22B0B2; Wed, 24 Nov 2021 08:53:34 +0000 (UTC)
Date: Wed, 24 Nov 2021 09:53:32 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: dan-ntp@drown.org, "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <YZ39jGBrF+zeiYm3@localhost>
References: <20211123131501.Horde.ErUH7VWw3Nr2PFkAGzGIEuI@mail.drown.org> <619DEA79020000A10004599E@gwsmtp.uni-regensburg.de>
MIME-Version: 1.0
In-Reply-To: <619DEA79020000A10004599E@gwsmtp.uni-regensburg.de>
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/0MpzBZMOxE7rpPSNYMrYZke6H78>
Subject: Re: [Ntp] Antw: [EXT] 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: Wed, 24 Nov 2021 08:53:46 -0000
On Wed, Nov 24, 2021 at 08:32:09AM +0100, Ulrich Windl wrote: > I wonder: Up to NTPv3 floating-point math was avoided, but starting in NTPv4 > floating-point math is used. That is up to the implementation. The specification doesn't require floating-point math, but it is easier to implement if you can use it. > If so, are those many special fixed-point formats justified (outside of > packets)? For internal calculations, you could keep everything in the 64-bit format. Even in the NTPv5 packet we could do that, if we don't mind wasting 16 octets per packet. The specification would certainly be simpler. I implemented recently some of the NTPv5 ideas in chrony in an experimental extension field. I noticed there is a minor compatibility issue with the proposed time32 format and NTPv4. The maximum value is not really 16, but slightly less than that. That means it cannot reach the MAXDISP value from RFC5905. To avoid having to work with two different MAXDISP values, we could specify an infinite value for the maximum 32-bit value of the type. -- Miroslav Lichvar
- [Ntp] comments on draft-mlichvar-ntp-ntpv5-03 Dan Drown
- [Ntp] Antw: [EXT] comments on draft‑mlichvar‑ntp‑… Ulrich Windl
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03 Miroslav Lichvar
- Re: [Ntp] Antw: [EXT] comments on draft‑mlichvar‑… Miroslav Lichvar
- [Ntp] Antw: Re: Antw: [EXT] comments on draft‑mli… Ulrich Windl
- Re: [Ntp] Antw: Re: Antw: [EXT] comments on draft… Miroslav Lichvar
- Re: [Ntp] Antw: Re: Antw: [EXT] comments on draft… Ulrich Windl
- Re: [Ntp] Antw: Re: Antw: [EXT] comments on draft… Miroslav Lichvar
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar
- Re: [Ntp] comments on draft‑mlichvar‑ntp‑ntpv5‑03 Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Harlan Stenn
- Re: [Ntp] comments on draft‑mlichvar‑ntp‑ntpv5‑03 Steven Sommars
- Re: [Ntp] comments on draft‑mlichvar‑ntp‑ntpv5‑03 Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- [Ntp] Antw: [EXT] Re: comments on draft‑mlichvar‑… Ulrich Windl
- [Ntp] Antw: [EXT] Re: comments on draft‑mlichvar‑… Ulrich Windl
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Danny Mayer
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Dan Drown
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Danny Mayer
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Doug Arnold
- Re: [Ntp] comments on draft-mlichvar-ntp-ntpv5-03… Miroslav Lichvar