Re: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-27.txt

Ragnar Sundblad <ragge@netnod.se> Fri, 27 March 2020 15:37 UTC

Return-Path: <ragge@netnod.se>
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 98B153A0041 for <ntp@ietfa.amsl.com>; Fri, 27 Mar 2020 08:37:58 -0700 (PDT)
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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=netnod-se.20150623.gappssmtp.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 biy-R5-BKssn for <ntp@ietfa.amsl.com>; Fri, 27 Mar 2020 08:37:57 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D83213A003B for <ntp@ietf.org>; Fri, 27 Mar 2020 08:37:56 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id k21so10677741ljh.2 for <ntp@ietf.org>; Fri, 27 Mar 2020 08:37:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netnod-se.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=A+pe3RTbJ6hggc45CIcfCUIE41ftmZMZDa7lAWV4dr4=; b=MHQxz0RaGkRLW+T/LWpvuKgUGNbm1bPNMURLvAzsjm5M6ISQbBxLh7y0RKDiLwAxZI ZWWaQoCtjnwD7CaQZz5ImaWG4+opSu7IPAxSlUAWP1413zAXp67EMVAAE0rtY2/asdit 6fEGQ/VQ+mvY3kQSZRw9RInFyvaf/b8pjoskcJNTToTpnIgYF2pcPqHfDl2825LlXRe5 oDYlDVl6Sxz2qddixqcI9mA09bRq7ytNvNpcFBWAukCZP3LcETnUmV50tNjuA9qB6K2R 4Nn6zOM6PZGAmoPsAInEn75DIKLFk3ai6CzegtRQ2B+hnrssQVIWPUR9Pw2aHPTteUMK qWZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=A+pe3RTbJ6hggc45CIcfCUIE41ftmZMZDa7lAWV4dr4=; b=JYE9jHvNrSnFPoWaLCjcMAADEgI9lDIbhqMyLYv0vXoDK8+3p77H9Xz8bO2FppDLk9 ak0th2PsSWinjp4k5ej6yZEjZHgvxgWjw8flZn68o4iyyvxArthpUw1sIMf9V0rPsyf7 lhk1ugcbj/23pwvFgQjgGoy1vhhCUk7YrkWd8M/oean8284pk90BtQajqq89m4XRtRtF L04/5J3wFvLM8cDySuGs1pQVZ6VE+JpCLbx0bjsbkI9MlqGXZqZyK8+G0I/+QgG9oEbC 9vkcTgPI3XesBDOopCES/VhGYzljUgkO4DjinAzkKqjIWFp7FZR3paKzV6DVpGju5bwh bJLQ==
X-Gm-Message-State: AGi0PubpW1Z8a/tBQ0B4qfg0CTA1s5hJZqwrs5z5nSfHC0TFU5x1Am9x wGNvODztLI4xVKulWqRYKbNhJrvkD14=
X-Google-Smtp-Source: APiQypI/t1pfDLALxe6iPWCgW8yHRSVqH4IkcEF+ayBfovRmdiyjVQuvoQhCYPttPIb8Yam3FFA52A==
X-Received: by 2002:a2e:98d7:: with SMTP id s23mr8196558ljj.154.1585323474956; Fri, 27 Mar 2020 08:37:54 -0700 (PDT)
Received: from [10.13.36.56] (office11.ggv13.sth.netnod.se. [77.72.226.11]) by smtp.gmail.com with ESMTPSA id d6sm3533223lfn.72.2020.03.27.08.37.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2020 08:37:53 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
From: Ragnar Sundblad <ragge@netnod.se>
In-Reply-To: <00a66f26-a079-2650-9c7b-285b026269e3@nwtime.org>
Date: Fri, 27 Mar 2020 16:37:51 +0100
Cc: Hal Murray <hmurray@megapathdsl.net>, ntp@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <57D960A7-FEFD-428F-9788-34175D540A46@netnod.se>
References: <20200326201030.397D340605C@ip-64-139-1-69.sjc.megapath.net> <9B282475-3DE0-46B9-9184-43351772E6F3@netnod.se> <00a66f26-a079-2650-9c7b-285b026269e3@nwtime.org>
To: Harlan Stenn <stenn@nwtime.org>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/4o5-P4bIccIS_gNU09Zl4X9RQyY>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-27.txt
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: Fri, 27 Mar 2020 15:37:59 -0000


> On 27 Mar 2020, at 08:47, Harlan Stenn <stenn@nwtime.org> wrote:
> 
> 
> 
> On 3/27/2020 12:15 AM, Ragnar Sundblad wrote:
>> 
>> 
>>> On 26 Mar 2020, at 21:10, Hal Murray <hmurray@megapathdsl.net> wrote:
>>> 
>>> 
>>>>>>> No, clients may switch between servers when they become unreachable
>>>>>>> (e.g. due to rate limiting). I see this often with my mini-pool of NTS
>>>>>>> servers.
>>> 
>>>>>> Oh really, I didn’t know. So chrony does that? (Nice!)
>>>>> I think most NTP and SNTP clients do that.
>>> 
>>>> Right, SNTP most likely. But NTP? Oh well. 
>>> 
>>> In pool mode, yes.
>>> 
>>> With the current pool, there is no way to ask "Is this site still in the pool?"
>>> (There isn't a clean way to turn off traffic when you remove a site from the 
>>> pool.)
>>> 
>>> It makes sense when a site stops responding to go through the DNS step again 
>>> and try a new server.
>>> 
>>> It would also make sense for sites that are up 24/7 to do something like once 
>>> a day, scan the list of pool servers currently in use and kick out the worst 
>>> one and try a new one.  The idea is to gradually pick servers that are better, 
>>> probably nearer, but distance measured in network performance rather than 
>>> kilometers.
>> 
>> Sounds like a very good idea!
>> 
>> (I suppose you should take into consideration especially jitter, but also
>> loss, and the larger the round trip, the higher the risk for large
>> asymmetries = phase error and phase variations when routing change,
>> and the current measured phase error should probably also take into
>> account, and there are probably other things. Interesting problem!)
> 
> This has always been part of the 'pool' directive in the Reference
> Implementation.

Very nice!

(Is it just me, or is there room for improvements of the documentation of
the pool directive in several of the implementations?)

Ragnar