Re: [Ntp] The bump, or why NTP v5 must specify impulse response

Daniel Franke <dfoxfranke@gmail.com> Mon, 13 April 2020 19:24 UTC

Return-Path: <dfoxfranke@gmail.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 1F5123A1CA5 for <ntp@ietfa.amsl.com>; Mon, 13 Apr 2020 12:24:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=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 (2048-bit key) header.d=gmail.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 2PoMyY7odhjc for <ntp@ietfa.amsl.com>; Mon, 13 Apr 2020 12:24:49 -0700 (PDT)
Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (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 CBAC03A1CA4 for <ntp@ietf.org>; Mon, 13 Apr 2020 12:24:49 -0700 (PDT)
Received: by mail-il1-x132.google.com with SMTP id e4so7315319ils.4 for <ntp@ietf.org>; Mon, 13 Apr 2020 12:24:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v497cLwxeudPaD+7td/8XldR/uKwbK/GS0lhdUpBsKc=; b=kBpU3Cr9HbSuXd3PSo7zeJg+Bdc1i0WcZaTVWiTlKWnLdZCsUuSglFYZRGPDYVY2ga YfpPWa67EKM6FAVrRvxbGhElUFn6dWlhsSVCqPJlBVfQHDeN13WQhx1XwbeVezCFdkHR fkRjtZYBsLpU5w+/4HU3L1zlhf6NUxndbLFvasXNhUQAJ8/KL0sM9alVOKsxJmmkdJrU PSr1haKfWpRh7aVpcmdih/Me7PoVXvdCNguoRHMnLbGiz+fhoihh7afWsAFTtztILF7U ePOfGwxCDJFRs3JlJtU0jxUyf9K4+TdcE4ZwVLCAGAG5zB5KzFalaCQbAAvxIfrYRSK+ 1dQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v497cLwxeudPaD+7td/8XldR/uKwbK/GS0lhdUpBsKc=; b=ZrF+7w8BvZKNOYUxXGbLcNkqKnjpg+bGl5zZSPHSK+SnuXHPJ93IUDOlln8wZ/Dg1t 3gvG2jihNC+wjLoiv/xNo1av/L73KjCg/NrQS9JsSGCKWMRWShbo9DQrByn6JBRMeGrG gV/17LMg8szL3LDe7W5p5+cRK13zstZyy2W1IeahizzLYpCAQUrJKMELsZpCEX60hhaw f9YCYJG0ZDkr+9h8324nje3QkZRDDXp9ZhlWxmrbi9nGGaDWkw+CjGQOGoW4F/paxf58 r6KJNn4sbcIABLNSRB8hH+9wgoxxGK2l2JHf/JzktajwfX4HWBoBqnoECEuE0eqow9IE r10A==
X-Gm-Message-State: AGi0PubksE1Z7GANJ6Tl0qTuIFueHRM3is+AdPq90MBpomo2CYUCODNX Ff1dZFCFzfJ4mbdxpdog0Gje316HiCxg1LYbDZqp6DF/
X-Google-Smtp-Source: APiQypLPWSWuNcL+c8hOrrpwNyt938AqFhr0WyUSc4plWhfHEIfQIiNMlxnoqu6LEk4/mx4fgJNCn2Bn8tytDuJfTak=
X-Received: by 2002:a92:dcc8:: with SMTP id b8mr18029042ilr.244.1586805889032; Mon, 13 Apr 2020 12:24:49 -0700 (PDT)
MIME-Version: 1.0
References: <CACsn0c=zzDKP6iBjPJWGF0rkqSaY3AY738ynGwDZO14sdBJ-Bg@mail.gmail.com> <CAJm83bB2A3VUxXX47Y0ubmS9Xne7PRSyV_xHY_D9YvHjqE-vFA@mail.gmail.com> <CACsn0cm3jpKZTUQ=novTgVaFhc1xCJgmUF3oOgdrzQa-HgOCUQ@mail.gmail.com>
In-Reply-To: <CACsn0cm3jpKZTUQ=novTgVaFhc1xCJgmUF3oOgdrzQa-HgOCUQ@mail.gmail.com>
From: Daniel Franke <dfoxfranke@gmail.com>
Date: Mon, 13 Apr 2020 15:24:38 -0400
Message-ID: <CAJm83bAqbMMs2W3SyH+3c17wcC85paY4-_jk2SxczgsxBLyYyA@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: NTP WG <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/jMn29kPHyrFodu0E_FT28-uljbE>
Subject: Re: [Ntp] The bump, or why NTP v5 must specify impulse response
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: Mon, 13 Apr 2020 19:24:51 -0000

I don't think I follow. In what sense does it limit the length of the
chain, other than that stratum is capped at 16? And what
characteristic of RFC 5905's recommended input response address the
problem? (I need to read the book you've referenced before I fully
understand the problem in the first place; I've ordered it but it'll
take some time to arrive).

On Mon, Apr 13, 2020 at 3:15 PM Watson Ladd <watsonbladd@gmail.com> wrote:
>
>
>
> On Mon, Apr 13, 2020, 7:21 AM Daniel Franke <dfoxfranke@gmail.com> wrote:
>>
>> On Sun, Apr 12, 2020 at 6:11 PM Watson Ladd <watsonbladd@gmail.com> wrote:
>> > Section 14.5 of Phase Lock Techniques by Floyd Gardner describes
>> > difficult problems caused by the accumulation of errors in a chain of
>> > PLLs under benign conditions, and section 2.2.4 describes the root
>> > cause, namely an inevitable peak in the transfer function of a second
>> > order filter. I don't think these are insolvable in NTP v5, but they
>> > should give pause to the idea that we can avoid needing to specify the
>> > the synchronization algorithm. The peaking of the PLL needs to be
>> > controlled, or some thing more complex needs to be specified.
>>
>> Are the algorithms in RFC 5905 vulnerable to this? If so, I think that
>> shoots down any implication that it's a practical necessity to solve
>> this in the NTPv5 spec, since we've obviously been getting by okay so
>> far.
>
>
> v4 limits the length of the chain and specifies the input response to have, which solves the problem.
>
>>
>> Just to be clear, though, I'm not proposing that the WG should be
>> *silent* on synchronization algorithms in v5. Just that whatever we
>> have to say about it should be in a separate, Informational document,
>> and can discuss the design space and suggest multiple possibilities
>> rather than require one particular thing.