Skewless Network Clock Synchronization Without Discontinuity: Convergence and Performance

This paper examines synchronization of computer clocks connected via a data network and proposes a skewless algorithm to synchronize them. Unlike existing solutions, which either estimate and compensate the frequency difference (skew) among clocks or introduce offset corrections that can generate jitter and possibly even backward jumps, our solution achieves synchronization without these problems. We first analyze the convergence property of the algorithm and provide explicit necessary and sufficient conditions on the parameters to guarantee synchronization. We then study the effect of noisy measurements (jitter) and frequency drift (wander) on the offsets and synchronization frequency, and further optimize the parameter values to minimize their variance. Our study reveals a few insights, for example, we show that our algorithm can converge even in the presence of timing loops and noise, provided that there is a well-defined leader. This marks a clear contrast with current standards such as NTP and PTP, where timing loops are specifically avoided. Furthermore, timing loops can even be beneficial in our scheme as it is demonstrated that highly connected subnetworks can collectively outperform individual clients when the time source has large jitter. The results are supported by experiments running on a cluster of IBM BladeCenter servers with Linux.

[1]  Benjamin R. Hamilton,et al.  Tracking Low-Precision Clocks With Time-Varying Drifts Using Kalman Filtering , 2012, IEEE/ACM Transactions on Networking.

[2]  J. Ridoux,et al.  Robust Synchronization of Absolute and Difference Clocks Over Networks , 2009, IEEE/ACM Transactions on Networking.

[3]  Donald F. Towsley,et al.  Estimation and removal of clock skew from network delay measurements , 1999, IEEE INFOCOM '99. Conference on Computer Communications. Proceedings. Eighteenth Annual Joint Conference of the IEEE Computer and Communications Societies. The Future is Now (Cat. No.99CH36320).

[4]  Charles R. Johnson,et al.  Matrix analysis , 1985, Statistical Inference for Engineers and Data Scientists.

[5]  Charles R. Johnson,et al.  Matrix Analysis, 2nd Ed , 2012 .

[6]  David L. Mills,et al.  Network Time Protocol (Version 3) Specification, Implementation , 1992 .

[7]  Li Zhang,et al.  Achieving precise coordinated cluster time in a cluster environment , 2008, 2008 IEEE International Symposium on Precision Clock Synchronization for Measurement, Control and Communication.

[8]  David L. Mills,et al.  Network Time Protocol Version 4: Protocol and Algorithms Specification , 2010, RFC.

[9]  Michel Dagenais,et al.  Internal Clock Drift Estimation in Computer Clusters , 2008, J. Comput. Networks Commun..

[10]  Michael D. Lemmon,et al.  Model-based clock synchronization in networks with drifting clocks , 2000, Proceedings. 2000 Pacific Rim International Symposium on Dependable Computing.

[11]  El-Sayed M. E. Mostafa,et al.  COMPUTATIONAL DESIGN OF OPTIMAL DISCRETE-TIME OUTPUT FEEDBACK CONTROLLERS , 2008 .

[12]  Ruggero Carli,et al.  Network Clock Synchronization Based on the Second-Order Linear Consensus Algorithm , 2014, IEEE Transactions on Automatic Control.

[13]  Fernando Paganini,et al.  Stability of node-based multipath routing and dual congestion control , 2008, 2008 47th IEEE Conference on Decision and Control.

[14]  Deborah Estrin,et al.  Proceedings of the 5th Symposium on Operating Systems Design and Implementation Fine-grained Network Time Synchronization Using Reference Broadcasts , 2022 .

[15]  Boleslaw K. Szymanski,et al.  Network synchronization in a noisy environment with time delays , 2012 .

[16]  David L. Mills,et al.  Network Time Protocol (Version 3) Specification, Implementation and Analysis , 1992, RFC.

[17]  S. Bhattacharyya,et al.  Robust control , 1987, IEEE Control Systems Magazine.

[18]  Kang Lee,et al.  IEEE 1588 standard for a precision clock synchronization protocol for networked measurement and control systems , 2002, 2nd ISA/IEEE Sensors for Industry Conference,.

[19]  Denis Arzelier,et al.  H2 for HIFOO , 2010, 1010.1442.

[20]  Wei Ren,et al.  On Consensus Algorithms for Double-Integrator Dynamics , 2007, IEEE Transactions on Automatic Control.

[21]  Michael L. Overton,et al.  Multiobjective robust control with HIFOO 2.0 , 2009, 0905.3229.

[22]  Cathy H. Xia,et al.  Clock synchronization algorithms for network measurements , 2002, Proceedings.Twenty-First Annual Joint Conference of the IEEE Computer and Communications Societies.

[23]  Herbert Werner,et al.  Fixed-structure discrete-time ℌ∞ controller synthesis with HIFOO , 2010, 49th IEEE Conference on Decision and Control (CDC).

[24]  Michel Hack,et al.  Almost Peer-to-Peer Clock Synchronization , 2007, 2007 IEEE International Parallel and Distributed Processing Symposium.

[25]  Christopher Frost,et al.  Spanner: Google's Globally-Distributed Database , 2012, OSDI.

[26]  Y. Bar-Ness,et al.  Distributed synchronization in wireless networks , 2008, IEEE Signal Processing Magazine.

[27]  Ruggero Carli,et al.  Networked clock synchronization based on second order linear consensus algorithms , 2010, 49th IEEE Conference on Decision and Control (CDC).

[28]  Randal W. Beard,et al.  Distributed Consensus in Multi-vehicle Cooperative Control - Theory and Applications , 2007, Communications and Control Engineering.

[29]  W. Trockel The Parametric Approach , 1984 .

[30]  Enrique Mallada,et al.  Skewless network clock synchronization , 2012, 2013 21st IEEE International Conference on Network Protocols (ICNP).

[31]  Jie Lin,et al.  Coordination of groups of mobile autonomous agents using nearest neighbor rules , 2003, IEEE Trans. Autom. Control..

[32]  Enrique Mallada,et al.  Distributed clock synchronization: Joint frequency and phase consensus , 2011, IEEE Conference on Decision and Control and European Control Conference.

[33]  Dongmei Xie,et al.  Consensus of second-order discrete-time multi-agent systems with fixed topology , 2012 .

[34]  Julien Ridoux,et al.  The Case for Feed-Forward Clock Synchronization , 2012, IEEE/ACM Transactions on Networking.

[35]  Shankar P. Bhattacharyya,et al.  Robust Control: The Parametric Approach , 1994 .