Institute of Computing Technology, Chinese Academy IR
Using Local Clocks to Reproduce Concurrency Bugs | |
Wang, Zhe1,2; Wu, Chenggang3; Yuan, Xiang7; Wang, Zhenjiang7; Li, Jianjun8; Yew, Pen-Chung4; Huang, Jeff5; Feng, Xiaobing3; Lan, Yanyan3; Chen, Yunji3; Lai, Yuanming3; Guan, Yong6 | |
2018-11-01 | |
发表期刊 | IEEE TRANSACTIONS ON SOFTWARE ENGINEERING |
ISSN | 0098-5589 |
卷号 | 44期号:11页码:1112-1128 |
摘要 | Multi-threaded programs play an increasingly important role in current multi-core environments. Exposing concurrency bugs and debugging such multi-threaded programs are quite challenging due to their inherent non-determinism. In order to mitigate such non-determinism, many approaches such as record-and-replay have been proposed. However, those approaches often suffer significant performance degradation because they require a large amount of recorded information and/or long analysis and replay time. In this paper, we propose an efficient and effective approach, ReCBuLC (reproducing concurrency bugs using local clocks), to take advantage of the hardware clocks available on modern processors. The key idea is to reduce the recording overhead and the time to analyze events' global order by recording timestamps in each thread. These timestamps are used to determine the global order of shared accesses. To avoid the large overhead in accessing system-wide global clock, we opt to use local per-core clocks that incur much less access overhead. We then propose techniques to resolve skews among local clocks and obtain an accurate global event order. By using per-core clocks, state-of-the-art bug reproducing systems such as PRES and CLAP can reduce their recording overheads by up to 85 percent, and the analysis time up to 84.66%similar to 99.99%, respectively. |
关键词 | Concurrency bug reproducing local clock |
DOI | 10.1109/TSE.2017.2752158 |
收录类别 | SCI |
语种 | 英语 |
资助项目 | National High Technology Research and Development Program of China[2012AA010901] ; National Natural Science Foundation of China (NSFC)[61303051] ; National Natural Science Foundation of China (NSFC)[61303052] ; National Natural Science Foundation of China (NSFC)[61332009] ; National Natural Science Foundation of China (NSFC)[60925009] ; National Natural Science Foundation of China (NSFC)[61100011] ; Innovation Research Group of NSFC[61221062] |
WOS研究方向 | Computer Science ; Engineering |
WOS类目 | Computer Science, Software Engineering ; Engineering, Electrical & Electronic |
WOS记录号 | WOS:000449964600006 |
出版者 | IEEE COMPUTER SOC |
引用统计 | |
文献类型 | 期刊论文 |
条目标识符 | http://119.78.100.204/handle/2XEOYT63/4334 |
专题 | 中国科学院计算技术研究所期刊论文_英文 |
通讯作者 | Wu, Chenggang |
作者单位 | 1.Chinese Acad Sci, State Key Lab Comp Architecture, Architecture Inst Comp Technol, Beijing 100190, Peoples R China 2.Univ Chinese Acad Sci, Beijing 100190, Peoples R China 3.Chinese Acad Sci, State Key Lab Comp Architecture, Inst Comp Technol, Beijing 100190, Peoples R China 4.Univ Minnesota Twin Cities, Dept Comp Sci & Engn, Minneapolis, MN 55455 USA 5.Texas A&M Univ, Dept Comp Sci & Engn, College Stn, TX 77843 USA 6.Capital Normal Univ, Coll Informat Engn, Beijing 100190, Peoples R China 7.Huawei Technol, Beijing 100190, Peoples R China 8.Horizon Robot Inc, Beijing 100190, Peoples R China |
推荐引用方式 GB/T 7714 | Wang, Zhe,Wu, Chenggang,Yuan, Xiang,et al. Using Local Clocks to Reproduce Concurrency Bugs[J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING,2018,44(11):1112-1128. |
APA | Wang, Zhe.,Wu, Chenggang.,Yuan, Xiang.,Wang, Zhenjiang.,Li, Jianjun.,...&Guan, Yong.(2018).Using Local Clocks to Reproduce Concurrency Bugs.IEEE TRANSACTIONS ON SOFTWARE ENGINEERING,44(11),1112-1128. |
MLA | Wang, Zhe,et al."Using Local Clocks to Reproduce Concurrency Bugs".IEEE TRANSACTIONS ON SOFTWARE ENGINEERING 44.11(2018):1112-1128. |
条目包含的文件 | 条目无相关文件。 |
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论