Re: [Ntp] Antw: Re: Re: [EXT] Re: I‑D Action: draft‑ietf‑ntp‑ntpv5‑requirements‑00.txt

Miroslav Lichvar <mlichvar@redhat.com> Mon, 22 August 2022 10:40 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 EF80AC1524C7 for <ntp@ietfa.amsl.com>; Mon, 22 Aug 2022 03:40:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.677
X-Spam-Level:
X-Spam-Status: No, score=-2.677 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.571, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZnU9OdZCCOXn for <ntp@ietfa.amsl.com>; Mon, 22 Aug 2022 03:40:01 -0700 (PDT)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C546C1526ED for <ntp@ietf.org>; Mon, 22 Aug 2022 03:40:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661164799; 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=AXNRQTkWcbOzAIpRl+t0aZYf0iCEIDh1/uQiOlNuO0U=; b=WB5qg/HhHdnCgMpfNrncTP79Hqnp3vOB1d0g4siTLxudhH+YgzfomO7idwL2xJIwFyJGkG FrP7oiqIP0dwUw+J/6DJsgLJ24F6DiPmkPmu6Kp3KSGGm1wgFL56zAQkW429lmT49JaPJ1 Le5pG2vKGZ4dVAIFHWhtdiNchunpk5s=
Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-55-KIu4y_YaP3am_VRrAm5OXQ-1; Mon, 22 Aug 2022 06:39:54 -0400
X-MC-Unique: KIu4y_YaP3am_VRrAm5OXQ-1
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 51D2985A5BC; Mon, 22 Aug 2022 10:39:54 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 66BC12166B26; Mon, 22 Aug 2022 10:39:53 +0000 (UTC)
Date: Mon, 22 Aug 2022 12:39:52 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: david@venhoek.nl, "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <YwNc+HYKSWuYMuI7@localhost>
References: <165876285947.22203.11524063568909924568@ietfa.amsl.com> <CAPz_-SXK3aGA+dTLy5AtZzYfHykVKf9K4EVnwF2jMkebvkKUYg@mail.gmail.com> <CB90EBD2-18E2-4379-AC14-F006553A7D2A@gmail.com> <d7dd38af-3787-5e42-9f84-2d674a8c2d71@pdmconsulting.net> <62E796DC020000A10004BFCD@gwsmtp.uni-regensburg.de> <CAPz_-SX8iE0aaS8vyQF1oH4mcZ5K3OqT5kmjnWUd-CeB=SjGEA@mail.gmail.com> <62FB4BD2020000A10004C595@gwsmtp.uni-regensburg.de> <CAPz_-SWtw9jx2veKeg-C+pMHUkfnqDE=z+OMZ-7xc7CDc78O2Q@mail.gmail.com> <62FF54E2020000A10004C846@gwsmtp.uni-regensburg.de>
MIME-Version: 1.0
In-Reply-To: <62FF54E2020000A10004C846@gwsmtp.uni-regensburg.de>
X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6
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/7cxDnjKVX0h64tlCCZh2jt4LdLc>
Subject: Re: [Ntp] Antw: Re: Re: [EXT] Re: I‑D Action: draft‑ietf‑ntp‑ntpv5‑requirements‑00.txt
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 22 Aug 2022 10:40:02 -0000

On Fri, Aug 19, 2022 at 11:16:18AM +0200, Ulrich Windl wrote:
> >>> David Venhoek <david@venhoek.nl> schrieb am 18.08.2022 um 18:05 in Nachricht
> <CAPz_-SWtw9jx2veKeg-C+pMHUkfnqDE=z+OMZ-7xc7CDc78O2Q@mail.gmail.com>:
> ...
> > For me, such a server (assuming those stratum 2 and 3 servers
> > contribute in the algorithm of section 11.2.3 or something similar,
> > and not just in selection algorithms) would indeed be stratum 4. In
> > other words, I would very much prefer stratum to provide an upper
> > bound on the path length from the server to a "ground truth" source of
> > time.
> 
> It's highly hypothetical, but if your server ever includes a stastum-15 source, nobody can use your server then.

We could increase the maximum possible stratum if that is an issue.
With the new frequency transfer we can expect better performance with
longer chains of servers, e.g. switches in large local networks.

We can also provide both the minimum+1 and maximum+1 stratum from the
upstream sources.

> Also AFAIR startum affects the estimated error. With favouring higher strati, wouldn't the estimated error increase?
> 
> s.v[n].metric = MAXDIST * p->stratum + root_dist(p);

That doesn't necessarily have to be used by NTPv5 implementations.

> I said before, I would not consider that to be a loop (MHO, "peers don't loop").

And I still don't agree with that.

> So if the crowd starts to ignore R, it may start like:
> A(2) == B(3)
> B(3) == C(3)
> C(3) == A(2)
> 
> Once A falls down to stratum 3, the rest will also fall down one stratum level, and so on. At A(15) B and C would have to consider R again (maybe even earlier), and B would be fed with some better time via A and C, and the possible cycle begins again.

We would like to prevent that from happening in NTPv5.

-- 
Miroslav Lichvar