Re: [chrony-users] Chronyd with ptp4l reference |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Chronyd with ptp4l reference
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 2 Dec 2020 18:28:39 +0100
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606930124; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=h5Z0iRFnhrGK17RLapHkB9LAVZyTCE9Tl5SNtCOlmsc=; b=IAZKjbvMlCkO1l3U/etqwEKXaXXHtFH9WLhgpupdvW3p39XYHHRS3hCFxlaqCny7gViTC2 C2Zk+B2dHY90f1Gn7QHHsQBbnGYQ4B4ca/WboEGKcq6EkAX93b5UvmWB3RZae09TzXGYe1 U39DJq6EXOIOwj2F5jiuvhhP0TgXXz8=
On Wed, Dec 02, 2020 at 05:05:33PM +0000, Geist, Dan (CCI-Atlanta) wrote:
> Hello, all. I'm working on integrating ptp4l into our x86 (EL7) hardware-based NTP farm. Previously, I'd used the ntpd shared memory interface "fudge" clock with good success but can't find the proper way to integrate that timing source into chrony (which I think might yield an overall more stable ntp source for the platform). The PPS and SHM interfaces (per docs) don't appear to be working correctly (or I'm doing it wrong). The intent is to use PTP (which we manage as part of our network infrastructure) as both time source and also phase (as much as is feasible). I'd appreciate any comments:
If it worked with the ntpd SHM driver, the same configuration using
the SHM refclock driver should work with chrony.
Your ptp4l config shows hardware timestamping and ntpshm servo. That
cannot work as ntpd/chronyd is synchronizing the system clock, not the
PTP clock. ptp4l needs to use a normal servo to synchronize the PTP
clock and phc2sys should use the ntpshm servo to feed measurements to
chrony to synchronize the system clock. The easiest way to get this
all working together is the timemaster program from linuxptp.
--
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.