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

Ragnar Sundblad <ragge@netnod.se> Fri, 27 March 2020 07:15 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 DBE123A0E5D for <ntp@ietfa.amsl.com>; Fri, 27 Mar 2020 00:15:45 -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 R3TiHvN_zWeO for <ntp@ietfa.amsl.com>; Fri, 27 Mar 2020 00:15:44 -0700 (PDT)
Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 C90503A0E53 for <ntp@ietf.org>; Fri, 27 Mar 2020 00:15:43 -0700 (PDT)
Received: by mail-lf1-x12f.google.com with SMTP id s1so6989872lfd.3 for <ntp@ietf.org>; Fri, 27 Mar 2020 00:15:43 -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=cWts3upin74njPvW5Rd2IQsdkQLVT08e8le5AB72mKg=; b=CgM/JVAMbn4yZxNNBt+Lfqi0xxDt14/MQd9v+73FXTRZw9Pvb0s0txndobvFYXYZuK ud/Q2rPul7Xxdv9yxs+Rds1AUNPrtAz6iqM2T/cgSEpJ/COqQpIDXQYoE3L2LpC/jnle fi3Odoe8UlRob/mnaWIoQhRFN3kxIcxgyjHU7L/P8hv0MK++oEi2ZNmYltfBMYt8ksDA IBPy06ZlqqpNPLeEYtmDZdrMPiUWGm6i+XL3aLQYck5FcALCF8M/cjWJ4LeN9D9wl/p4 fCpLbyj4Aq20QCZSzQXHCWClDT5D01P7YchMsBwG2PggIkjc+fmUrWBExJMXdy2mLtjy guEQ==
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=cWts3upin74njPvW5Rd2IQsdkQLVT08e8le5AB72mKg=; b=d49HZVuuUlZv5B2UkZoqjjhXqWApsr6ZKHHE9Wpuhpr2MVrWU+FOEANI+pjFPpc+hN U923v+BWBWrlwFh9F1cifzQkM5CyUgZtDBVpmwnEioKtejPfzVwlJChwkB2nJL+8UbW1 3PAA3iQWKe2wveBxKowc4eGL32R0GjBXg0WNXa9v2YB3YEHwvk6g96qV7pgE7dvNY89v vAnmgo7Bn/x1J9ed3tsH2ZlDO33b1hk4zsUY6bNRZQTQrv2jpZ9On4ZefgAxIewwlt4W 6YDiFvUFyuSpwHgY6aVckF3xKjdklvy3AgOKVdS8CX7CSxQOgWYXY8PwuqYF6USnrGOD XkZQ==
X-Gm-Message-State: ANhLgQ0z2ydZxeag1nNplMAUklY9MKyL/33SqDBIPR2gHA/MrQPsD22w yhUsWQlYUMFeZH2rpUt1ErCQnzTkFA3v6Q==
X-Google-Smtp-Source: ADFU+vt/1RiNOj0UCzS2cnU2xzicil+JiF3F8JAxxDd0/lKNrYOT71ljkrEsNL54qKMZ6pSZ6Npi0A==
X-Received: by 2002:a05:6512:3188:: with SMTP id i8mr8635024lfe.26.1585293341256; Fri, 27 Mar 2020 00:15:41 -0700 (PDT)
Received: from [10.0.1.14] (h-122-211.A530.priv.bahnhof.se. [213.80.122.211]) by smtp.gmail.com with ESMTPSA id z5sm2527351lfq.71.2020.03.27.00.15.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2020 00:15:40 -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: <20200326201030.397D340605C@ip-64-139-1-69.sjc.megapath.net>
Date: Fri, 27 Mar 2020 08:15:39 +0100
Cc: ntp@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <9B282475-3DE0-46B9-9184-43351772E6F3@netnod.se>
References: <20200326201030.397D340605C@ip-64-139-1-69.sjc.megapath.net>
To: Hal Murray <hmurray@megapathdsl.net>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/cjPQ6_cRTgCGmG3w-BB6e5gaVE0>
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 07:15:46 -0000


> 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!)

Ragnar