Re: [chrony-users] Re: Question about large gap of offset on phc2sys with chrony |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Re: Question about large gap of offset on phc2sys with chrony
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 8 Aug 2022 10:11:34 +0200
- Cc: linuxptp-users@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1659946298; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hCV2D5+mFk0k1ES8LA8v/K2G/weLqDzwNu6tFjcNkZM=; b=CpD9ad/GE6W27xEAAdyghpWIvWjD87VG3EOZp58o8/7O67/+0qAqZLnOw04HsVynjVS4k7 MYVEAeawLz96URB5EVjEeF9Qt4gZu99VYWvJi8lOeMK6JXR2iOyYr33dK5pRfUsVvarImK KTGbKt6ZWmktYCIUiYWLwtC3Cgtnh5I=
On Fri, Aug 5, 2022 at 11:14 AM 심준영 <joonyoung.shim@xxxxxxxx> wrote:
> My problem is to cause too large gap between system clock and PTP hardware
> clock
> for a short while, whenever chrony synchronizes time from external NTP
> server
> (Poll is 6, so about 64 seconds) and then will affect to PTP hardware
> clock and
> system clock of the ptp4l slave machine.
>
> Are there any ideas to keep stable small gap even though using NTP like
> chrony
> to update system clock?
You can slow down the corrections of the system clock made by chronyd
by increasing the corrtimeratio (e.g. to 100 or 1000) and/or slow down
the corrections of the PHC made by phc2sys by setting smaller PI
constants (e.g. -P 0.04 -I 0.00024).
The latter will not make the offset reported by the server phc2sys
smaller, but it will make the clock easier for the clients to follow,
i.e. keep the offset between the clients smaller, which I assume is
what you are primarily interested in.
--
Miroslav Lichvar
--
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.