DocumentCode
1155155
Title
Debugging Parallel Programs with Instant Replay
Author
LeBlanc, Thomas J. ; Mellor-Crummey, John M.
Author_Institution
Department of Computer Science, University of Rochester
Issue
4
fYear
1987
fDate
4/1/1987 12:00:00 AM
Firstpage
471
Lastpage
482
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.
Keywords
CREW protocols; distributed debugging; execution replay; parallel programming; program instrumentation; shared objects; Clocks; Computer errors; Debugging; Error correction; Instruments; Parallel programming; Programming profession; Protocols; Prototypes; Synchronization; CREW protocols; distributed debugging; execution replay; parallel programming; program instrumentation; shared objects;
fLanguage
English
Journal_Title
Computers, IEEE Transactions on
Publisher
ieee
ISSN
0018-9340
Type
jour
DOI
10.1109/TC.1987.1676929
Filename
1676929
Link To Document