Affiliation:
1. Chinese Academy of Sciences, Beijing, China
2. University of Science and Technology of China, Hefei, China
Abstract
Debugging parallel program is a well-known difficult problem. A promising method to facilitate debugging parallel program is using hardware support to achieve deterministic replay. A hardware-assisted deterministic replay scheme should have a small log size, as well as low design cost, to be feasible for adopting by industrial processors. To achieve the goals, we propose a novel and succinct hardware-assisted deterministic replay scheme named LReplay. The key innovation of LReplay is that instead of recording the logical time orders between instructions or instruction blocks as previous investigations, LReplay is built upon recording the pending period information [6]. According to the experimental results on Godson-3, the overall log size of LReplay is about 0.55B/K-Inst (byte per k-instruction) for sequential consistency, and 0.85B/K-Inst for Godson-3 consistency. The log size is smaller in an order of magnitude than state-of-art deterministic replay schemes incuring no performance loss. Furthermore, LReplay only consumes about $1.3%$ area of Godson-3, since it requires only trivial modifications to the existing components of Godson-3. The above features of LReplay demonstrate the potential of integrating hardware-assisted deterministic replay into future industrial processors.
Publisher
Association for Computing Machinery (ACM)
Cited by
12 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. STRAB;Proceedings of the 36th Annual ACM Symposium on Applied Computing;2021-03-22
2. Enabling On-the-Fly Hardware Tracing of Data Reads in Multicores;ACM Transactions on Embedded Computing Systems;2019-07-31
3. Using Local Clocks to Reproduce Concurrency Bugs;IEEE Transactions on Software Engineering;2018-11-01
4. Scalable Data Race Detection for Lock-Intensive Programs with Pending Period Representation;IEEE Transactions on Parallel and Distributed Systems;2018-11-01
5. Nondeterministic Event Sequence Reduction for Android Applications;2018 5th International Conference on Dependable Systems and Their Applications (DSA);2018-09