On Thu, Nov 12, 2026 at 03:00:08PM +0000, Wojtek Wasko wrote:
> 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.

I see.

> 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.

A new extension field is possible. It could modify the header
timestamps, or it could carry one or both unsmoothed timestamps in
addition to the header timestamps, similarly to the NTPv5 secondary RX
timestamp extension field. It could be also a special implementation-
specific NTPv5 timescale to reuse the existing mechanisms. The field
has 8 bits and I think it could have a private/experimental range.
I'll think about that.

-- 
Miroslav Lichvar


-- 
To unsubscribe email [email protected] with "unsubscribe" 
in the subject.
For help email [email protected] with "help" in the 
subject.
Trouble?  Email [email protected].

Reply via email to