[ntp:questions] Extracting ntpq like information programmatically

John Hasler jhasler at newsguy.com
Sat Mar 30 18:54:46 UTC 2013


I  wrote:
> BTW what kind of accuracy do you need and how quickly must your machines
> converge to it?  Ntpd may not be your best choice.  It's designed to
> synchronize always-on machines with relatively low drift rates over the
> Internet.

Claudio writes:
> That depends entirely on the performance of the communication
> framework we are using.  Which is what I'm trying to measure.

Then you will need accuracy at least an order of magnitude better than
your most optimistic estimate of the performance of what you are trying
to measure.

How often do you shut down these machines and how soon after startup do
you need to have them synchronized?  Depending on your accuracy
requirements Ntpd can take many hours to converge.  Chrony is faster but
still may not be fast enough for you.  Also, the NTP protocol is
said to perform poorly over WiFi.  
-- 
John Hasler 
jhasler at newsguy.com
Dancing Horse Hill
Elmwood, WI USA



More information about the questions mailing list