Re: [Ntp] Smearing
Miroslav Lichvar <mlichvar@redhat.com> Wed, 20 October 2021 07:25 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 41BD93A0DCE for <ntp@ietfa.amsl.com>; Wed, 20 Oct 2021 00:25:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level:
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, 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 DsHDHIlNJnlN for <ntp@ietfa.amsl.com>; Wed, 20 Oct 2021 00:25:30 -0700 (PDT)
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 03D4F3A0DD3 for <ntp@ietf.org>; Wed, 20 Oct 2021 00:25:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634714728; 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=/knpjQEujGgQ6EMd0GPeOLsvEilcIcYX/wtPjrL+2I4=; b=jKiakxzltqkbBJPaBx9lcB0ge8tJ+oPd9bbxKUl4HvYuK3v8QWkp0yBmsUJxzx2lgBEMyt Yqm+nxtKWqlILtp6zGVtGhGmeRvwhE2i6yeczHU1jbNlHUheQHCCdgFUVr4TndlLImO5j6 dQrUzbsG185FnCi78GQitxNia5zQ4FI=
Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-322-b3GwsQtKM4OxryArjgJHTA-1; Wed, 20 Oct 2021 03:25:22 -0400
X-MC-Unique: b3GwsQtKM4OxryArjgJHTA-1
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 892B7EC1A0; Wed, 20 Oct 2021 07:25:20 +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 81CE462A41; Wed, 20 Oct 2021 07:25:19 +0000 (UTC)
Date: Wed, 20 Oct 2021 09:25:17 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Tony Finch <dot@dotat.at>
Cc: Danny Mayer <mayer@pdmconsulting.net>, NTP WG <ntp@ietf.org>, Hal Murray <halmurray+ietf@sonic.net>
Message-ID: <YW/EXb1paK+H/f4M@localhost>
References: <20211015210250.6330328C0F3@107-137-68-211.lightspeed.sntcca.sbcglobal.net> <2ee63d83-cde0-4665-52e1-5fa0d18325e@dotat.at> <4cfe73c5-baee-db8e-549f-2088067dcaf6@pdmconsulting.net> <fde5025-40d3-523c-a3c8-65605944cd0@dotat.at>
MIME-Version: 1.0
In-Reply-To: <fde5025-40d3-523c-a3c8-65605944cd0@dotat.at>
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
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/vJUoxizKDzCLQOhS2HEzKic8Da4>
Subject: Re: [Ntp] Smearing
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, 20 Oct 2021 07:25:33 -0000
On Tue, Oct 19, 2021 at 05:15:16PM +0100, Tony Finch wrote: > * 24h smear, not too long but long enough that NTP clients will notice > the rate change even with a 1024 second polling interval, and the rate > change is small enough that NTP clients are willing and able to follow it If there are stricter requirement on maximum offset between different clients, a longer interval might be needed. > > * smear from midday to midday around the leap second, to keep the phase > error below 0.5 seconds A disadvantage of this approach is that it relies on the leap second to be known at least 12h before the leap. With some reference clocks it's known only much closer to the leap and it takes time to be distributed by NTP for a stratum >=2 server. > > * use a linear smear, because NTP clients are better at following > constant rates (a cosine or other smoothing means the rate changes > continuously during the smear, which NTP does not handle so well) A linear smear is easy to work with for humans, but not for NTP. A cosine smear, or even better a quadratic smear, reduces the maximum time error of the client's clock as it can more closely follow the frequency offset. -- Miroslav Lichvar
- [Ntp] Smearing Hal Murray
- Re: [Ntp] Smearing Tony Finch
- Re: [Ntp] Smearing Danny Mayer
- Re: [Ntp] Smearing Tony Finch
- Re: [Ntp] Smearing Danny Mayer
- Re: [Ntp] Smearing Tony Finch
- Re: [Ntp] Smearing Danny Mayer
- Re: [Ntp] Smearing Miroslav Lichvar
- Re: [Ntp] Smearing Tony Finch