Re: [chrony-users] Specifying refclock accuracy |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Specifying refclock accuracy
- From: James Clark <jjc@xxxxxxxxxx>
- Date: Thu, 21 Sep 2023 10:07:00 +0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jclark-com.20230601.gappssmtp.com; s=20230601; t=1695265633; x=1695870433; darn=chrony.tuxfamily.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YNWumK6G0C2CeBfYzpj2dEN2o9Lf3pRNPPXZzVvkPq4=; b=HZJ99M2jHEInokv2tuVBM9H9rXM1UZMvRfCF8zX1teT3KKOd1g6b7S/Cmz/HcoxBAe iGZ/qYJv2u4AMJZheNcheWXSjRFuWgrq//hG5PPKW33jVrT+zodY9JW4tACyGaaMep5P +EpJbMx/giPttakGSkcEiAUb05iumUBuxdyifuP8VL+gRj+jis+9ng2fxsuOFjbyK3ss lgaiKrUGZDUipgnb5ep5ytrNEDClnjkdtSFYcqu2eiXbP3uByZa+gJ7fUBuQkjIAO4DM TBYZAvA1Z863tdxPLDR7BkZta7RCbqx94m9xclAkZShNALk/gRbG0cHNaZfGbnzcNjcd btAQ==
On Wed, Sep 20, 2023 at 4:40 PM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Wed, Sep 20, 2023 at 01:53:54PM +0700, James Clark wrote:
> > but the margin of error remains in the 700ns-800ns range. The margin
> > of error figure is similar to the dispersion figure in the refclocks
> > log, so I'm guessing that's the main cause. Why is the dispersion so
> > large and is there anything that can be done to fix it?
>
> It contains half of the delay in reading of the PHC, mostly coming
> from the PCIe delay. The only way to avoid that is cross timestamping
> (e.g. PTM).
I tried it with a PTM-enabled system (an i225-T1), and the margin of
error does indeed drop dramatically to 70ns.
The dispersion is 40ns. If I use the nocrossts option on that system,
the margin of error is about 1780ns and dispersion 1750ns.
I'm seeing occasional kernel messages (in version 6.1.52):
igc 0000:05:00.0 enp5s0: Timeout reading IGC_PTM_STAT register
Is that something I should report upstream somewhere?
Thanks for the other info: things are clearer now.
James
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.