1993•Unpublished venueOpen access

Optimal tracing and replay for debugging shared-memory parallel programs

Robert H. B. Netzer

Open full text 180 citations

Abstract

Execution replay is a crucial part of debugging. Because explicitly parallel shared-memory programs can be nondeterministic, a tool is required that traces executions so they can be replayed for debugging. We present an adaptive tracing strategy that is optimal and records the minimal number of shared-memory references required to exactly replay executions. Our algorithm makes runtime tracing decisions by detecting and tracing a certain type of race condition on-the-fly. Unlike past schemes, we make no assumptions about the execution'scorrectness (it need not be race free). Experiments show that only 0.01-2% of the shared-memory references are usually traced, a 2-4 order of magnitude reduction over past techniques which trace every access.

Open-access reader

About this research paper

What this paper is about

Execution replay is a crucial part of debugging. Because explicitly parallel shared-memory programs can be nondeterministic, a tool is required that traces executions so they can be replayed for debugging. We present an adaptive tracing strategy that is optimal and records the minimal number of shared-memory references required to exactly replay executions. Our algorithm makes runtime tracing decisions by detecting and tracing a certain type of race condition on-the-fly. Unlike past schemes, we make no assumptions about the execution'scorrectness (it need not be race free). Experiments show that only 0.01-2% of the shared-memory references are usually traced, a 2-4 order of magnitude reduction over past techniques which trace every access.

Why it matters

OpenAlex reports 180 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Execution replay is a crucial part of debugging. Because explicitly parallel shared-memory programs can be nondeterministic, a tool is required that traces executions so they can be replayed for debugging. We present an adaptive tracing strategy that is optimal and records the minimal number of shared-memory references required to exactly replay executions. Our algorithm makes runtime tracing decisions by detecting and tracing a certain type of race condition on-the-fly. Unlike past schemes, we make no assumptions about the execution'scorrectness (it need not be race free). Experiments show that only 0.01-2% of the shared-memory references are usually traced, a 2-4 order of magnitude reduction over past techniques which trace every access.

Key concepts: Debugging, Citation, Computer science, Tracing, Programming language, World Wide Web

Related papers

Back to paper searchBrowse research topicsOriginal source
Optimal tracing and replay for debugging shared-memory parallel programs — Research Paper | ScholarLens