Efficient Deterministic Replay Using Complete Race Detection
Qi Guo, Yunji Chen, Tianshi chen, and Ling Li

TL;DR
This paper introduces RacX, a software-only deterministic replay scheme that efficiently detects potential data races in multi-threaded programs, enabling accurate reproduction with minimal slowdown.
Contribution
RacX leverages potential data race detection with false positive reduction to enable efficient, deterministic replay on commodity multi-processor systems.
Findings
RacX precisely replays multi-threaded programs with value determinism.
RacX causes minimal slowdown during recording, averaging around 1-8% depending on thread count.
Experiments demonstrate RacX's scalability and portability across benchmarks and commercial programs.
Abstract
Data races can significantly affect the executions of multi-threaded programs. Hence, one has to recur the results of data races to deterministically replay a multi-threaded program. However, data races are concealed in enormous number of memory operations in a program. Due to the difficulty of accurately identifying data races, previous multi-threaded deterministic record/replay schemes for commodity multi-processor system give up to record data races directly. Consequently, they either record all shared memory operations, which brings remarkable slowdown to the production run, or record the synchronization only, which introduces significant efforts to replay. Inspired by the advances in data race detection, we propose an efficient software-only deterministic replay scheme for commodity multi-processor systems, which is named RacX. The key insight of RacX is as follows: although it…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Software Testing and Debugging Techniques · VLSI and Analog Circuit Testing
