Re: [chrony-dev] [PATCH] ntp: fix monotonic correction of transmit timestamp from peer

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Thu, Nov 12, 2026 at 03:12PM +0100, Miroslav Lichvar wrote:
> Is there a particular reason you need or prefer symmetric mode over
> server/client? My plan is to remove it when NTPv5 support is added.
> That should significantly simplify the code.

Yes, it's because of smoothing. In datacenter compute clusters, what
usually matters is how closely the nodes agree with each other and how
smooth the timescale is, more than the absolute error to UTC. In some
setups we use smoothtime for that, with several servers that also
need to agree on time among themselves. Symmetric mode lets them
exchange unsmoothed time with each other while their clients get
smoothed time. With client/server between them, each would only see
the others' smoothed time and smooth it again. 

I just read up on the NTPv5 draft. If symmetric mode goes away, it
would be nice to have a way for a server to ask another server for
unsmoothed time, a bit like an NTPv5 client can ask for a different
timescale. Would you be open to an extension field for that in NTPv4
too? The server would just answer those requests as if smoothing was
disabled. That would let us switch to client/server now, and it could
carry over to NTPv5 later. I'd be happy to work on a patch.

--
Wojtek [Voytek] Wasko
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/