Scinovex
articleTop 1% cited

Debugging Parallel Programs with Instant Replay

IEEE Transactions on Computers · 1987 · Vol. C-36(4) · pp. 471–482
LeblancJohn Mellor‐Crummey

Abstract

The debugging cycle is the most common methodology for finding and correcting errors in sequential programs. Cyclic debugging is effective because sequential programs are usually deterministic. Debugging parallel programs is considerably more difficult because successive executions of the same program often do not produce the same results. In this paper we present a general solution for reproducing the execution behavior of parallel programs, termed Instant Replay. During program execution we save the relative order of significant events as they occur, not the data associated with such events. As a result, our approach requires less time and space to save the information needed for program replay than other methods. Our technique is not dependent on any particular form of interprocess communication. It provides for replay of an entire program, rather than individual processes in isolation. No centralized bottlenecks are introduced and there is no need for synchronized clocks or a globally consistent logical time. We describe a prototype implementation of Instant Replay on the BBN Butterfly™ Parallel Processor, and discuss how it can be incorporated into the debugging cycle for parallel programs.

Parallel Computing and Optimization TechniquesDistributed systems and fault toleranceDistributed and Parallel Computing SystemsDebuggingComputer scienceProgramming languageIsolation (microbiology)Algorithmic program debuggingParallel computing
Citations
763
FWCI
31.22
field-weighted impact
References
27
Percentile
100%
vs. same field & year
Citations per year
Cited by
A survey of rollback-recovery protocols in message-passing systems
ACM Computing Surveys · 2002 · 1,787 citations
References
Monitors
Communications of the ACM · 1974 · 1,497 citations
Time, clocks, and the ordering of events in a distributed system
Communications of the ACM · 1978 · 8,380 citations
Citation Network

How this paper connects to the literature. Drag to explore, click any node to open that paper.

Debugging Parallel Programs with Instant Replay · Scinovex