top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

NTP : How does a system (client) synchronize with a NTP server at the granularity of microseconds ?

+2 votes
602 views

When we use "ntpdate" command to synchronize our machine with NTP server, there may a possibility of some delay (from server to client) to reach reply at client , then how a system can be synchronized with NTP server at the granularity of microseconds or even more granular ?

posted May 4, 2014 by Vimal Kumar Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Network Time Protocol (NTP) has a hierarchical client-server model. They have different layers and each layers is synchronized with upper layer. e.g. Layer 0 is synchronized with layer 1 and Layer is synchronized with layer 2 and so on.
In the top of this hierarchy there are a small number of machines known as reference clocks.

A reference clock is known as Layer 0 and is typically a Global Positioning System (GPS) that receives time from satellites. These satellites in turn have a cesium clock that is periodically corrected to provide maximum accuracy.

NTP servers belongs to layer 1.

Both the layers should be very accurate, well-maintained, accurate and calibrated because only these layers are responsible for reliability of time services.

Now coming to the point. Its all about packet exchange, kind of request and reply. So before they start doing their actual work they have to be synchronized with each other. All other layers will be synchronized except the layer 0 and layer 1. Our system has to synchronize with the NTP server. They know the processing time and the delay to process the message also. So these offsets helps the Servers to give the accurate time as much as they can.

NTP servers has some conditions to be satisfied to get attached with client. If they delay and processing is tolerable it will allow you and will give the time stamps.

OS can change the NTP server based on their geographical conditions or what is configured. For instance if you are using UBUNTU so ubuntu users will use the ntp.ubuntu.com server. Like this.

for more details there is an official website for NTP. will help you.

answer May 5, 2014 by Hiteshwar Thakur
Similar Questions
+2 votes

When there is a need to update our machine time, we use NTP update. Is there any public NTP server available which can serve all the requests coming from clients located around the globe ? Or Is a dedicated NTP server required for each geographical location ?

+2 votes

New to Curl Need some insight on Curl Looking for a Curl based client-server example

...