Synchronization NTP往返延迟

Synchronization NTP往返延迟,synchronization,broadcast,cisco,ntp,Synchronization,Broadcast,Cisco,Ntp,NTP如何计算往返延迟时间和偏移量 要使其时钟与远程服务器同步,NTP客户端必须计算往返延迟时间和偏移量。往返延迟计算如下: delta = (t_3 - t_0) - (t_2- t_1) 在哪里 所以 t3 − t0 is the time elapsed on the client side between the emission of the request packet and the reception of the response packet and t2

NTP如何计算往返延迟时间和偏移量

要使其时钟与远程服务器同步,NTP客户端必须计算往返延迟时间和偏移量。往返延迟计算如下:

delta = (t_3 - t_0) - (t_2- t_1)
在哪里

所以

t3 − t0 is the time elapsed on the client side between the emission 
        of the request packet and the reception of the response packet and
t2 − t1 is the time the server waited before sending the answer.
偏移θ由下式给出

theta = ((t_1 - t_0) + (t_2 - t_3))/2
当客户端和服务器之间的传入和传出路由具有对称的标称延迟时,NTP同步是正确的。如果路线没有共同的标称延迟,则同步的系统偏差为向前和向后行程时间之差的一半

必须有双向通信才能实现同步。将NTP时间用作NTP服务器的广播将在时间上留下未知错误

theta = ((t_1 - t_0) + (t_2 - t_3))/2