Optimal gradient clock synchronization in dynamic networks

We study the problem of clock synchronization in highly dynamic networks, where communication links can appear or disappear at any time. The nodes in the network are equipped with hardware clocks, but the rate of the hardware clocks can vary arbitrarily within specific bounds, and the estimates that nodes can obtain about the clock values of other nodes are inherently inaccurate. Our goal in this setting is to output a logical clock at each node, such that the logical clocks of any two nodes are not too far apart, and nodes that remain close to each other in the network for a long time are better synchronized than distant nodes. This property is called gradient clock synchronization. Gradient clock synchronization has been widely studied in the static setting. We show that the bounds for the static case also apply to our highly dynamic setting: if two nodes remain at distance d from each other for sufficiently long, it is possible to synchronize their clocks to within O(d log(D/d)), where D is the diameter of the network. This is known to be optimal for static networks, and since a static network is a special case of a dynamic network, it is optimal for dynamic networks as well. Furthermore, we show that our algorithm has optimal stabilization time: when a path of length d appears between two nodes, the time required until the skew between the two nodes is reduced to O(d log(D/d)) is O(D), which we prove is optimal.

[1]  Nancy A. Lynch,et al.  A new fault-tolerant algorithm for clock synchronization , 1984, PODC '84.

[2]  Boaz Patt-Shamir,et al.  A theory of clock synchronization (extended abstract) , 1994, STOC '94.

[3]  Boaz Patt-Shamir,et al.  Optimal and efficient clock synchronization under drifting clocks , 1999, PODC '99.

[4]  Danny Dolev,et al.  Dynamic fault-tolerant clock synchronization , 1995, JACM.

[5]  Edsger W. Dijkstra,et al.  Self-stabilizing systems in spite of distributed control , 1974, CACM.

[6]  Fabian Kuhn,et al.  Gradient Clock Synchronization in Dynamic Networks , 2009, SPAA '09.

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

[8]  Fabian Kuhn,et al.  Gradient Clock Synchronization Using Reference Broadcasts , 2009, OPODIS.

[9]  Nancy A. Lynch,et al.  Gradient clock synchronization , 2004, PODC '04.

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

[11]  Jennifer L. Welch,et al.  Closed form bounds for clock synchronization under simple uncertainty assumptions , 2001, Inf. Process. Lett..

[12]  Christoph Lenzen,et al.  Clock Synchronization with Bounded Global and Local Skew , 2008, 2008 49th Annual IEEE Symposium on Foundations of Computer Science.

[13]  Keith Marzullo,et al.  Maintaining the time in a distributed system , 1985, OPSR.

[14]  Thomas Locher,et al.  Foundations of aggregation and synchronization in distributed systems , 2009 .

[15]  Christoph Lenzen,et al.  Tight bounds for clock synchronization , 2010, JACM.

[16]  Roger Wattenhofer,et al.  Oblivious Gradient Clock Synchronization , 2006, DISC.

[17]  Sam Toueg,et al.  Optimal clock synchronization , 1985, PODC '85.

[18]  Danny Dolev,et al.  On the possibility and impossibility of achieving clock synchronization , 1984, STOC '84.

[19]  Nancy A. Lynch,et al.  An Upper and Lower Bound for Clock Synchronization , 1984, Inf. Control..

[20]  Christoph Lenzen,et al.  Synchronization and symmetry breaking in distributedsystems , 2011 .

[21]  Boaz Patt,et al.  A theory of clock synchronization , 1994 .

[22]  Danny Dolev,et al.  Fault-tolerant clock synchronization , 1984, PODC '84.