What's left to doo on NTS.

Kurt Roeckx kurt at roeckx.be
Sun Mar 3 23:35:24 UTC 2019


On Sun, Mar 03, 2019 at 03:30:53PM -0800, Gary E. Miller via devel wrote:
> Yo Kurt!
> 
> On Mon, 4 Mar 2019 00:19:44 +0100
> Kurt Roeckx via devel <devel at ntpsec.org> wrote:
> 
> > > Actually getting timestamps from the NIC is fairly involved. The NIC
> > > has its own clock and its own oscillator, which has to carefully be
> > > kept in sync with the system clock. Furthermore, all the APIs for
> > > doing this are OS-specific. Check out the linux-ptp project to see
> > > what it looks like when it's done right; it's a fair bit of code,
> > > and nothing of the kind is present in ntpd.  
> > 
> > But it is present in chrony. It supports both interleaved mode
> > and hardware timestamping.
> 
> I'm looking for it, but can not find it.  Can you point out where?
> 
> I do see that chronyd has a "PTP hardware clock (PHC) refclock driver".
> But that is Linux only and not the same thing.

In the config file you just add:
hwtimestamp eth0

(It doesn't start if you don't actually have hardware support.)

On the server line you add xleave.


Kurt



More information about the devel mailing list