Logical Synchrony and the bittide Mechanism
Sanjay Lall, Calin Cascaval, Martin Izzard, Tammo Spalink
TL;DR
This paper addresses coordinating distributed computation without a system-wide clock by introducing logical synchrony, where causality and frame-based communications define a global temporal structure. It formalizes logical synchrony networks (LSNs) with edge latencies $\lambda_{ij}$ and an extended event graph, and then shows how multiclock networks—physical clocks $\theta_i$ connected by FIFO transports—realize LSNs and enforce nonnegative round-trip times through buffer-aware frequency control. A key contribution is the equivalence framework: clock relabeling shifts latencies by $c_i$ while preserving cycle round-trip invariants, and realizable multiclock networks are equivalent to perfectly synchronous systems under appropriate relabeling; this underpins the bittide mechanism’s ability to achieve synchronous-like execution without explicit global time references. The bittide mechanism uses elastic buffers and continuous frame transmission to adjust local clocks, preserve bounded FIFO occupancy, and enable cycle-accurate coordination at scale, with open-source implementations and simulators. The work forwards scalable, predictable distributed execution for workloads with strong timing regularities and provides a foundation for extending synchronous guarantees to a broader class of dynamic systems.
Abstract
We introduce logical synchrony, a framework that allows distributed computing to be coordinated as tightly as in synchronous systems without the distribution of a global clock or any reference to universal time. We develop a model of events called a logical synchrony network, in which nodes correspond to processors and every node has an associated local clock which generates the events. We construct a measure of logical latency and develop its properties. A further model, called a multiclock network, is then analyzed and shown to be a refinement of the logical synchrony network. We present the bittide mechanism as an instantiation of multiclock networks, and discuss the clock control mechanism that ensures that buffers do not overflow or underflow. Finally we give conditions under which a logical synchrony network has an equivalent synchronous realization.
