Irregular Expressions

Sep 27 2012   11:04AM GMT

Computer Time Keeping – Part 2

Dan O'Connor Dan O'Connor Profile: Dan O'Connor

Once you have selected a time server to sync to, it’s a great idea to pick at least another two. You could use two or one if you really wanted to but most documentation recommends two to three. The reason for this is the way the NTP protocol works. Not only does NTP ask the server for it’s current time, it also calculates the travel time there and back and works that into the current system time. The time it takes to get to and from the remote NTP server is referred to as delay. Here is my example again below.

remote refid st t when poll reach delay offset jitter
+ 2 u 54 64 377 63.472 -1.087 7.784

The next column in is offset, that is the measure of how far our clock is off from the remote clock. Small offsets will be gradually fix (Seconds), a larger offset will be stepped (the clock will jump). If the offset is too large, as an example of several minutes NTP will shutdown and assume something really bad has happened. If this happens the only way to restart NTP will be to use a command like ntpdate or manually fix the clock. Jitter is more complex but that is used in it’s formula to figure out a preferred server or to mark one bad.

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: