Re: [chrony-users] Relationship Between Chrony and NIC Clocks |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Relationship Between Chrony and NIC Clocks
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 22 Oct 2020 09:47:15 +0200
- 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=1603352841; 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=XTZlshebITqZkGz8G2eclWjkAYAumW4sQnxQgcUt1zM=; b=ILqPWcStFvgft+9LNr9krA7o7+aJ77o3dgpBe5D75erT1OB0Ci5+nFiANfbad+fbH/VlV0 vu3VZ2MzaTiSOlX5pyuARvcCwroVyDYvkeB77nfa6rqcxO/ARhIuqdvrRKKCLeHpNofHa5 BeyYnc+GEFgfILQrjnPWEFNwky7f6rc=
On Wed, Oct 21, 2020 at 11:27:54PM -0500, Scott Stephens wrote:
> Thanks, that's very helpful. It sounds like it could cause problems if
> something outside of chrony is synchronizing a NIC clock used by chrony for
> hardware timestamping, even if it's synchronizing it to the system clock.
> Am I understanding that correctly?
Yes, that could certainly cause issues. It might work, but the
adjustments would have to be very slow to not disturb the chronyd's
loop, e.g. phc2sys using small PI constants. Synchronization with
ptp4l to a stable external PTP source would work better.
> It would be nice for my application to
> be able to synchronize the NIC clock as well as the system clock. It's
> network capture related, so the most important timestamps are being done
> with NIC hardware timestamping.
If all your NTP sources are on the same interface, you could try this
patch I mentioned before:
https://www.mail-archive.com/chrony-users@xxxxxxxxxxxxxxxxxxxx/msg01881.html
You could use one chronyd instance to synchronize the PHC and another
chronyd or phc2sys instance to synchronize the system clock to the
PHC.
--
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.