Dual-core lockstep

What is dual-core lockstep?

Dual-core lockstep (DCLS) is a redundancy technique for high-reliability computing used in safety-critical systems like aerospace, automotive, and industrial control systems.

In this configuration, two identical processor cores, or CPUs, operate in parallel, executing the same set of instructions simultaneously. The key feature of dual-core lockstep is that both cores execute the same instructions and compare their results at every step to ensure they match. If a discrepancy is detected, it indicates a potential error or fault in one of the cores, triggering a fault-handling mechanism. Further resilience can be added by delaying one core with respect to the other, adding temporal separation to prevent both cores from being affected by the same fault.


Why use dual-core lockstep?

Dual-core lockstep cores are used to enhance fault tolerance, improve reliability, and meet the stringent safety requirements of critical applications. They provide a robust and proven approach to building high-reliability computing systems that can withstand hardware faults and environmental challenges. Of course, faults can also be maliciously injected, and a DCLS architecture can increase the difficulty of these attacks.

Getting started with Codasip