Re: [chrony-users] Root delay and Root dispersion values in `chronyc ntpdata' |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Root delay and Root dispersion values in `chronyc ntpdata'
- From: Chris Perl <cperl@xxxxxxxxxxxxxx>
- Date: Thu, 3 Aug 2017 11:09:09 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Ep/Fq3sXg9jbdk+FwSRofp6IKWrL3+XLXdcl53ZjWu8=; b=Az1AsXrFjQCVWf31ySVyxIIts2+v8l2LHQGH+EH/Vpyqiiivgd9Fqg69w0GCtGIsnR UWn0ZUAvzyh5tiqwJp3a/s2UuHoOG0NdpfIQGK5xTxV+IDnC5S6hAHL65ViRzv7fyQxH zTZvFwgJ376W0f35wvL72w23RhR0Cl1CfujRU=
On Mon, Jun 26, 2017 at 9:28 AM, Chris Perl <cperl@xxxxxxxxxxxxxx> wrote:
>> The reason why they are always 15 microseconds is that the fields have
>> a 32-bit fixed-point format with ~15 microsecond resolution and
>> chronyd as a server rounds them up. So, if it calculates its delay and
>> dispersion as 1 microsecond, they will still be rounded to 15
>> microseconds. It's a limitation of the NTPv4 protocol. I'd like to
>> improve this in NTPv5 when the NTP WG starts working on a new version.
>>
>> If you wanted to get a more accurate root distance on the client, you
>> could set the delay of the SHM refclock on the server to 0 and add
>> half of the delay to the precision instead. I think it might have a
>> small effect on the timekeeping performance though.
>
> That is very helpful. Thanks!
Are there any similar tricks to be able to get a more accurate root
dispersion on clients? In the setup I've been testing, chrony on the
server generally reports a root dispersion of about 1us. But, this is
getting rounded up to 15us due to the aforementioned fixed-point
format.
--
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.