Skip to content

Lockstep (computing)

A fault-tolerance method in which redundant computing channels execute the same state transitions in synchrony so their outputs can be compared for error detection or majority-voted for correction.

Core Idea

Lockstep computing runs redundant processors or channels through the same operations and well-defined state transitions at closely synchronized times. Outputs are compared: two channels expose disagreement, while three or more can support majority selection under an assumed fault model. The atomic-step model keeps inputs, outputs, and state updates aligned. The atomic-step model keeps inputs, outputs, and state updates aligned.

How would you explain it like I'm…

Twin Checkers

Imagine two friends doing the same math problem at the same time, step by step. At the end they compare answers. If the answers don't match, you know someone made a mistake. With three friends, you can go with the answer most of them got.

Same Steps, Check Answers

In lockstep computing, two or more computer parts do exactly the same work at nearly the same moment, step by step. Their answers are compared. With two, a mismatch tells you something went wrong. With three, you can go with the answer most of them agree on. But if all of them share the same mistake, like the same bug in their instructions, comparing won't catch it.

Synchronized Redundant Processing

Lockstep computing runs redundant processors or channels through the same operations and state changes at closely synchronized times, then compares the outputs. Two channels can detect a fault by disagreeing; three or more can vote and pick the majority answer. The work is broken into well-defined steps so inputs, outputs, and states line up for comparison. Some systems deliberately offset the copies slightly in time, so a brief glitch is less likely to hit both the same way. The big limit is a common-mode fault, such as a shared design bug, bad input, or clock problem, that makes all copies wrong in the same way. Redundancy only helps if the copies can fail independently.

 

Lockstep computing is a fault-tolerance technique in which redundant processors or channels execute the same operations through well-defined state transitions at closely synchronized times. An atomic-step model keeps inputs, outputs, and state updates aligned so the copies can be compared. With two channels, comparison detects disagreement; with three or more, majority voting can mask a faulty channel under an assumed fault model. Time-shifted (delayed) lockstep runs one copy slightly behind the other so that a transient fault that would hit simultaneous replicas in the same way is more likely to show up as a mismatch. The central limitation is common-mode failure: identical design, software, clock, or input faults affect all replicas together and pass the comparison. Thus the value of lockstep redundancy depends on a justified argument that channel failures are independent.

Scope of Application

Use lockstep for fault-tolerant architectures with channel equivalence, synchronization, comparison, voting, and fault model explicit. Use lockstep for fault-tolerant architectures with channel equivalence, synchronization, comparison, voting, and fault model explicit.

  • Safety-critical control. Detects processor divergence.
  • Avionics and transport. Uses redundant deterministic channels.
  • Industrial systems. Protects stateful controllers.
  • Space systems. Handles radiation-induced faults.
  • Processor design. Implements cores with matched retirement.

Clarity

Parallel means simultaneous work; lockstep means equivalent work at comparable state boundaries. A high-availability replica that lags and later catches up does not necessarily satisfy the timing and atomicity identity. The closest near miss sets the boundary: Triple modular redundancy is closest and often implemented in lockstep, but TMR names three-way voting while lockstep also includes dual detection and synchronization.

Manages Complexity

Redundancy converts one execution into a consistency relation among executions. It detects some random faults while multiplying hardware and leaving correlated faults unresolved, so the fault model is part of the architecture. The central tight synchrony–fault diversity tradeoff is this: Matching timing aids comparison while simultaneous exposure increases common-mode risk. A second correction–replica cost tension matters because Voting can mask a faulty channel but requires extra resources and a trusted voter.

Abstract Reasoning

Use three linked moves: define equivalent channel state and operation sequence; align inputs and atomic transition boundaries; specify comparison latency and response to disagreement. As a collapse test, the case exits when replicas process different work, state alignment is absent, or outputs are never compared. A fourth check is to match channel count to detection or correction claims.

Knowledge Transfer

Replicate–compare reasoning transfers to other dependable systems. Tight state synchronization and voting semantics do not transfer to ordinary backups, consensus services, or distributed replicas with different timing models. The nearest stopping boundary is explicit: Triple modular redundancy is closest and often implemented in lockstep, but TMR names three-way voting while lockstep also includes dual detection and synchronization. The inclusion test remains: A system qualifies when redundant channels execute equivalent operations in synchronized state steps and a comparator or voter acts on disagreement. The structure no longer applies when the case exits when replicas process different work, state alignment is absent, or outputs are never compared. No canonical parent prime is currently asserted; broader structural comparisons remain related-prime analogies until separately adjudicated in the DAG. Multiple channels provide comparison and masking capacity. Divergence indicates at least one failed execution.

Relationships to Other Abstractions

Local relationship map for Lockstep (computing)Parents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Lockstep (computing)DOMAINPrime abstraction: Redundancy — is a kind ofRedundancyPRIME

Current abstraction Lockstep (computing) Domain-specific

Parents (1) — outgoing typed relations

  • Lockstep (computing) is a kind of Redundancy Prime

    Lockstep computing duplicates computing channels executing identical steps so their outputs can be compared, the redundancy pattern's defining structure.

Hierarchy paths (12) — routes to 8 parentless roots

Neighborhood in Abstraction Space

Lockstep (computing) sits in a sparse region of the domain-specific corpus (65th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14