Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: "Miroslav Lichvar via questions Mailing List" Newsgroups: comp.protocols.time.ntp Subject: Re: [EXT] Re: Delay in Switching to Stratum 16 After Local Reference Loss on ntpd 4.2.8p18 Date: Wed, 2 Jul 2025 10:43:00 -0000 (UTC) Organization: Taughannock Networks, Trumansburg NY Message-ID: References: <1040f45$2qa5k$1@dont-email.me> <90763509-b155-4fdb-8605-b861d8bd20b7@ntp.org> Reply-To: "Miroslav Lichvar" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Wed, 2 Jul 2025 10:43:00 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="80695"; mail-complaints-to="abuse@iecc.com" Cc: "Dave Hart" , "questions@lists.ntp.org" , "=?iso-8859-1?Q?J=FCrgen?= Perlinger" , "=?iso-8859-1?Q?J=FCrgen?= Perlinger" , "Windl, Ulrich" To: "Windl, Ulrich" Return-Path: Delivered-To: ntpquestions@iecc.com Errors-To: questions-owner@lists.ntp.org X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on gal.iecc.com X-Spam-Status: No, score=-3.1 required=4.4 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions-owner@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=pass header.d=lists.ntp.org header.s=mail header.a=rsa-sha256 header.b="C57tqM7C"; dmarc=pass header.from=lists.ntp.org polrec.p=quarantine polrec.pct=100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ntp.org; s=mail; t=1751452901; bh=H50K6lSqmQVKG0hzESiV7fMX9iCszbR+tIEFqcz7lks=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: In-Reply-To:Content-Type:Reply-To:Sender:List-Id:List-Help: List-Subscribe:List-Unsubscribe:List-Post:List-Owner:List-Archive; b=C57tqM7CZYDSqwuya/5DbVHL9cE1q00LxcPnAygDB0m3+QHHS7itZe9UvWtzamumM jUTfsD+/A0G5BSJVNvI3Y7FlAQ6QdRdYfi+vLQrN+hPQtuFL0k85rgbot5QgI3jRnh rTRXQcE9ZF1TvpZOCmIDhrTToMct3xaY/5 X-MC-Unique: GcERh00vPyuI297FafTQTg-1 X-Mimecast-MFC-AGG-ID: GcERh00vPyuI297FafTQTg_1751449325 In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: FBRVvtmVKGpLH3Akb5qCwGdnTDu8vnabWHN9_ApNvNI_1751449325 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Loop: questions@lists.ntp.org List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: X-Original-DMARC-Record: domain=redhat.com; v=DMARC1; p=quarantine; rua=mailto: 5f1992045035946@rep.dmarcanalyzer.com; ruf=mailto:5f1992045035946@for.dmarcanalyzer.com; fo=1; X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1751449331; 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=H50K6lSqmQVKG0hzESiV7fMX9iCszbR+tIEFqcz7lks=; b=HsYcwOou7WjigHmK8bUnocw6LmcWVkRVu4oM8pCoJBLvH5Lp4YeDHIN1guqRvK/6P/Sq8b eT8KnqXa8ekx2j/DSMFEZZF+jo5FKnM/s0sulmDwzVtrdw+2um13bMmQLtqCfDxwB6RIKr xVnA4hg95Wd6 X-Original-From: Miroslav Lichvar X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1 Mail-to-news: iecc.com Xref: csiph.com comp.protocols.time.ntp:164194 On Wed, Jul 02, 2025 at 09:23:12AM +0000, Windl, Ulrich wrote: > Actually, I had completely forgotten about that issue. Reading it again, it seems stratum should be 16 if all sources are unreachable (lost). Why should it do that? The idea in NTPv4 is that the decision if a source is acceptable should be made on the client side. If a server loses all time sources, its root dispersion will grow (15 ppm by default). If a client of that server has other sources, it can reselect when the distance becomes larger than that of the other sources. If the server quickly switches to the unsynchronized state (as recent ntpd versions seem to be doing), the client can no longer synchronize to it, even if it has no other sources available. If there are multiple clients of that server, their clocks will not stay in sync, each will be drifting on its own. -- Miroslav Lichvar