问题描述
当服务端修改间后,客户端没有按照poll interval的时间间隔完成同步。而且每次需要同步的时候,完成同步的耗时不一定相同。
过程分析
在《RFC 5905: Network Time Protocol Version 4: Protocol and Algorithms Specification》中设计的滤波机制,NTP的同步过程包括对从服务器接收到的时间戳进行滤波和加权处理。滤波器的目的是减小突发性延迟和时钟抖动对同步的影响。通过滤波,NTP能够逐渐收敛到一个准确的时间。这个过程通常会经历几个循环,即多个时间同步请求与响应的往返。根据RFC 5905中定义的算法,NTP通常在8个同步周期内就可以完成大部分时间同步。因为每个周期都会通过滤波机制修正时钟,最终达到接近真实时间。
每间隔poll interval时debugging ntp-service有打印即说明配置、设备都没问题,一般poll interval的8倍时间内完成同步都属于正常。
https://h5.weishi.qq.com/weishi/feed/o36fl?id=7WNYX53Jk1TrU9UcK
https://h5.weishi.qq.com/weishi/feed/U28lv?id=7WNZ9c7Wp1TrU9LM4
https://h5.weishi.qq.com/weishi/feed/s72NW?id=7WNYX53Jk1TrU9Kko
https://h5.weishi.qq.com/weishi/feed/E72QN?id=7WNZ9c7Wp1TrU9AaY
https://h5.weishi.qq.com/weishi/feed/G46un?id=7WNYX53Jk1TrU9AWI
https://h5.weishi.qq.com/weishi/feed/x68at?id=7WNZ9c7Wp1TrU9pw0
https://h5.weishi.qq.com/weishi/feed/f46EJ?id=7WNYX53Jk1TrU9pS8
https://h5.weishi.qq.com/weishi/feed/c15Lc?id=7WNYX53Jk1TrU9e4s
https://h5.weishi.qq.com/weishi/feed/v57ji?id=7WNZ9c7Wp1TrU9egU
https://h5.weishi.qq.com/weishi/feed/K85jc?id=7WNZ9c7Wp1TrU93Mm
https://h5.weishi.qq.com/weishi/feed/U61zs?id=7WNYXds1D1TrU8Uum
https://h5.weishi.qq.com/weishi/feed/l91el?id=7WNZ9c7Wp1TrU8Sgm
https://h5.weishi.qq.com/weishi/feed/h33Zk?id=7WNYXds1D1TrU8Poq
https://h5.weishi.qq.com/weishi/feed/n74Jh?id=7WNYX53Jk1TrU8PoI
https://h5.weishi.qq.com/weishi/feed/K06Az?id=7WNYXhEaH1TrU8KaK
https://h5.weishi.qq.com/weishi/feed/s01ky?id=7WNYXds1D1TrU8ICe
https://h5.weishi.qq.com/weishi/feed/F09xX?id=7WNZ9c7Wp1TrU8IOG
https://h5.weishi.qq.com/weishi/feed/S70MG?id=7WNYX53Jk1TrU8zGU
https://h5.weishi.qq.com/weishi/feed/q72iH?id=7WNYXds1D1TrU8zMm
https://h5.weishi.qq.com/weishi/feed/S80qY?id=7WNYXhEaH1TrU8vi0
https://h5.weishi.qq.com/weishi/feed/n04Is?id=7WNYXhEaH1TrU8vi0
https://h5.weishi.qq.com/weishi/feed/n95hv?id=7WNZ9c7Wp1TrU8vwE
https://h5.weishi.qq.com/weishi/feed/I15TQ?id=7WNYXhEaH1TrU8uaE
https://h5.weishi.qq.com/weishi/feed/X91GR?id=7WNYXds1D1TrU8uOy
https://h5.weishi.qq.com/weishi/feed/E30wh?id=7WNYXds1D1TrU8lsU
https://h5.weishi.qq.com/weishi/feed/M50CH?id=7WNYX53Jk1TrU8gMw
https://h5.weishi.qq.com/weishi/feed/W53UD?id=7WNZ9c7Wp1TrU8f0O
https://h5.weishi.qq.com/weishi/feed/u64Lk?id=7WNYXhEaH1TrU8fgy
https://h5.weishi.qq.com/weishi/feed/k01KI?id=7WNYXds1D1TrU8gWu
https://h5.weishi.qq.com/weishi/feed/Z58Mz?id=7WNYXhEaH1TrU8fgy
https://h5.weishi.qq.com/weishi/feed/v61rd?id=7WNYXhEaH1TrU8fgy
https://h5.weishi.qq.com/weishi/feed/T91Av?id=7WNYXds1D1TrU8b4w
https://h5.weishi.qq.com/weishi/feed/f26eq?id=7WNYXhEaH1TrU7ZY2
https://h5.weishi.qq.com/weishi/feed/m58ZY?id=7WNZ9c7Wp1TrU7Z2g
https://h5.weishi.qq.com/weishi/feed/n17Tr?id=7WNYXds1D1TrU7Zmc
https://h5.weishi.qq.com/weishi/feed/P53kh?id=7WNYX53Jk1TrU7ZcE
https://h5.weishi.qq.com/weishi/feed/O80uB?id=7WNYXds1D1TrU7Zmc
https://h5.weishi.qq.com/weishi/feed/r49iG?id=7WNYXhEaH1TrU7YGu
https://h5.weishi.qq.com/weishi/feed/M40kV?id=7WNYXhEaH1TrU7Y8M
https://h5.weishi.qq.com/weishi/feed/Y34il?id=7WNZ9FuXW1TrU6824
https://h5.weishi.qq.com/weishi/feed/C39zT?id=7WNZ9FuXW1TrU5Yoo
https://h5.weishi.qq.com/weishi/feed/r33lI?id=7WNZ9FuXW1TrU5PmM
https://h5.weishi.qq.com/weishi/feed/Z44wB?id=7WNZ9FuXW1TrU5FWg
https://h5.weishi.qq.com/weishi/feed/W57ZQ?id=7WNZ9FuXW1TrU5v6o
https://h5.weishi.qq.com/weishi/feed/a03Ep?id=7WNZ9FuXW1TrU5lU4
https://h5.weishi.qq.com/weishi/feed/U04Ne?id=7WNZ9FuXW1TrU5cuC
0 个回复