IEEE Transactions on Computers · 1987 · 764 citations · 18 references
ComputingComputer EngineeringComputer ScienceFault ToleranceFault-tolerant ComputingParallel ComputingInterprocess CommunicationParallel Computing SystemsParallel DebuggingDebuggingExecution Trace AnalysisInterprocess SynchronizationReplay
Debugging is typically performed by a cyclic debugging process that works well for deterministic sequential programs, but becomes far more difficult for parallel programs where repeated executions can yield different results. The paper proposes Instant Replay, a general method to reproduce parallel program executions. Instant Replay records only the relative order of significant events during execution, independent of interprocess communication, enabling full‑program replay without centralized bottlenecks, synchronized clocks, or global logical time, as demonstrated on the BBN Butterfly processor. The approach consumes less time and space than existing methods, introduces no centralized bottlenecks, and eliminates the need for synchronized clocks or global logical time, as shown by a prototype on the BBN Butterfly.
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.
18
K. Mani Chandy, Leslie Lamport · ACM Transactions on Computer Systems · 1985 · 2.4K citations · Full text
C. A. R. Hoare · Communications of the ACM · 1974 · 1.5K citations · Full text
The structure of the “THE”-multiprogramming system
Edsger W. Dijkstra · Communications of the ACM · 1968 · 1.1K citations · Full text