Achieve high accuracy of network time with proper parameters

In a distributed system, any clock synchronization algorithm has to synchronize the clocks periodically to maintain the accuracy of network time. The uncertainty of network delays and the unknown relative drift rate between computer's clocks are two major problems to synchronize clocks. Increasing the messages (clock readings) exchange rate can reduce the drift error, but it will increase the network load. If the network becomes congested, it will increase the delay uncertainty and the cell loss rate. This will decrease the synchronization accuracy. Therefore, it is a problem to predict as to how fast one needs to exchange the clock messages to achieve an expected accuracy of network time. We present a simple clock synchronization algorithm. Suppose the delay uncertainty and cell loss rate are given, we can clearly know how fast the message exchange rate can achieve and how accurate is the network time. Even though our measurement results show that the stability of our current computer clocks is worse than most assumptions in the literature on clock synchronization, our clock synchronization algorithm can still provide high synchronization accuracy by accurately estimating the relative drift rate between clocks. Here we also show how to monitor the quality of synchronization online.

[1]  Judah Levine Precision synchronization of computer network clocks , 1997 .

[2]  José Rufino,et al.  Fault-tolerant clock synchronization in CAN , 1998, Proceedings 19th IEEE Real-Time Systems Symposium (Cat. No.98CB36279).

[3]  K. Arvind,et al.  Probabilistic Clock Synchronization in Distributed Systems , 1994, IEEE Trans. Parallel Distributed Syst..

[4]  Hermann Kopetz,et al.  Clock Synchronization in Distributed Real-Time Systems , 1987, IEEE Transactions on Computers.

[5]  S. Zatti,et al.  The accuracy of the clock synchronization achieved by TEMPO in Berkeley UNIX 4.3BSD , 1987 .

[6]  David L. Mills Improved algorithms for synchronizing computer network clocks , 1994, SIGCOMM 1994.

[7]  Parameswaran Ramanathan,et al.  Fault-tolerant clock synchronization in distributed systems , 1990, Computer.

[8]  Yoram Ofek,et al.  Distributed Source-Destination Synchronization Using Inband Clock Distribution , 1996, IEEE J. Sel. Areas Commun..

[9]  Hermann Kopetz,et al.  Interval Measurements in Distributed Real Time Systems , 1987, ICDCS.

[10]  Hagit Attiya,et al.  Optimal clock synchronization under different delay assumptions , 1993, PODC '93.

[11]  Flaviu Cristian,et al.  Probabilistic internal clock synchronization , 1994, Proceedings of IEEE 13th Symposium on Reliable Distributed Systems.

[12]  Kang G. Shin,et al.  Fault-tolerant clock synchronization for distributed systems using continuous synchronization messages , 1995, Twenty-Fifth International Symposium on Fault-Tolerant Computing. Digest of Papers.

[13]  Andrew S. Tanenbaum,et al.  Computer Networks , 1981 .

[14]  Stéphane Natkin,et al.  A statistical clock synchronization algorithm for anisotropic networks , 1991, [1991] Proceedings Tenth Symposium on Reliable Distributed Systems.

[15]  P. M. Melliar-Smith,et al.  Synchronizing clocks in the presence of faults , 1985, JACM.