Clock Distribution with Gradient TRIX
Christoph Lenzen, Shreyas Srinivas
TL;DR
This work tackles gradient clock synchronization in large, low-degree networks by introducing a self-stabilizing, grid-aware GCS that requires only $3$-ary in/out degrees and tolerates a single faulty in-neighbor. It discretizes the gradient clock mechanism across layers (the Gradient TRIX scheme), enforcing robust timing via median-based corrections and Slow/Fast/Jump conditions, while handling slow-varying delays and clock drifts. The key contributions are a near-minimal-degree, fault-resilient architecture achieving local skew $Θ(\log D)$ with high probability under sparse, average-case faults, and a self-stabilizing pulse-forwarding scheme that recovers from transient faults in $O(\sqrt{n})$ pulses. These results significantly advance clock distribution for large synchronous System-on-Chip (SoC) fabrics by reducing replication overhead and enabling scalable, robust timing in hardware.
Abstract
Gradient clock synchronization (GCS) algorithms minimize the worst-case clock offset between the nodes in a distributed network of diameter $D$ and size $n$. They achieve optimal offsets of $Θ(\log D)$ locally, i.e. between adjacent nodes as shown by Lenzen et al., and $Θ(D)$ globally as shown by Biaz and Welch. As demonstrated in the work of Bund et al., this is a highly promising approach for improved clocking schemes for large-scale synchronous Systems-on-Chip (SoC). Unfortunately, in large systems, faults hinder their practical use. State of the art fault-tolerant, as presented by Bund et al., has a drawback that is fatal in this setting: It relies on node and edge replication. For $f=1$, this translates to at least $16$-fold edge replication and high degree nodes, far from the optimum of $2f+1=3$ for tolerating up to $f$ faulty neighbors. In this work, we present a self-stabilizing GCS algorithm for a grid-like directed graph with optimal node in- and out-degrees of $3$ that tolerates $1$ faulty in-neighbor. If nodes fail with independent probability $p\in o(n^{-1/2})$, it achieves asymptotically optimal local skew of $Θ(\log D)$ with probability $1-o(1)$; this holds under general worst-case assumptions on link delay and clock speed variations, provided they change slowly relative to the speed of the system. The failure probability is the largest possible ensuring that with probabity $1-o(1)$ for each node at most one in-neighbor fails. As modern hardware is clocked at gigahertz speeds and the algorithm can simultaneously sustain a constant number of arbitrary changes due to faults in each clock cycle, this results in sufficient robustness to dramatically increase the size of reliable synchronously clocked SoCs.
