Quote:
Originally Posted by MoschopsUK
Many thanks for that; very helpful. Running out of questions, which is nice.
I check the ntp status every so often, as follows:
Code:
i02:/home/videocap # ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*10.0.0.172 LOCAL(1) 9 u 471 512 377 0.164 5.348 4.053
Rooting through the man page, I see that delay, offset and jitter are described as "and the current estimated delay, offset and dispersion of the peer, all in milliseconds."
What is doesn't explain is what delay, offset and dispersion are. Google is not so helpful here; each page I find them on assumes the reader already knows what they are.
Can someone explain what they are and can I use them to estimate how well synchronised the clocks are? I understand that '*' at the far left is a good thing...
|
Remote is the first 15 characters of the remote server's name, prefixed by a character that indicates the status of the remote server:
space (reject) The peer is discarded as unreachable, synchronized to this server (synch loop) or outrageous synchronization distance.
x (falsetick) The peer is discarded by the intersection algorithm as a falseticker.
. (excess) The peer is discarded as not among the first ten peers sorted by synchronization distance and so is probably a poor candidate for further consideration.
- (outlyer) The peer is discarded by the clustering algorithm as an outlyer.
+ (candidate) The peer is a survivor and a candidate for the combining algorithm.
# (selected) The peer is a survivor, but not among the first six peers sorted by synchronization distance. If the association is ephemeral, it may be demobilized to conserve resources.
* (peer) The peer has been declared the system peer and lends its variables to the system variables.
o ((pps.peer)) The peer has been declared the system peer and lends its variables to the system variables. However, the actual system synchronization is derived from a pulse-per-second (PPS) signal, either indirectly via the PPS reference clock driver or directly via kernel interface.
Refid is the remote server's current source for time. If this is 0.0.0.0 or something similar, you are not getting time service from the remote server.
St is the remote server's current stratum level. If this is 16, you are not getting time service from the remote server.
When is the number of seconds since a time service reply has been received from the remote server.
Poll is the number of seconds between polls of the remote server.
Reach is an octal bitmap of the results of the last eight polls of the remote server. A value of 377 means that the last eight attempts were successful; a value of 0 means that the last eight attempts were unsuccessful (you are not getting time service from the remote server).
Delay is the number of milliseconds it is taking for NTP packets to make the round-trip from your host to the remote server and back, and is an important factor used by NTP in selecting the "best" server. This is the reason you want to pick servers that are close to you.
Offset is the difference in milliseconds between the clocks in your host and the remote server.
Jitter (or disp) is the "dispersion" in milliseconds of successive time values from the remote server. It is a measure of the stability (time-wise) of the network path to the remote server, and is also an important factor used by NTP in selecting the "best" server.