Network Time Protocol - Clock Synchronization Algorithm

Clock Synchronization Algorithm

To synchronize its clock with a remote server, the NTP client must compute the round-trip delay time and the offset. The round-trip delay is computed as, where is the time of the request packet transmission, is the time of the request packet reception, is the time of the response packet transmission and is the time of the response packet reception. is the time elapsed on the client side between the emission of the request packet and the reception of the response packet, while is the time the server waited before sending the answer. The offset is given by .

The NTP synchronization is correct when both the incoming and outgoing routes between the client and the server have symmetrical nominal delay. If the routes do not have a common nominal delay, the synchronization has a systematic bias of half the difference between the forward and backward travel times.

Read more about this topic:  Network Time Protocol

Famous quotes containing the word clock:

    I open with a clock striking, to beget an awful attention in the audience—it also marks the time, which is four o’clock in the morning, and saves a description of the rising sun, and a great deal about gilding the eastern hemisphere.
    Richard Brinsley Sheridan (1751–1816)