Efficient Access History for Race Detection
Efficient Access History for Race Detection
复制标题
用于种族检测的高效访问历史记录
DOI:
10.1145/3409964.3461825
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Schardl, Tao B.
中科院分区:
文献类型:
--
作者:
Xu, Yifan;Zhou, Anchengcheng;Yin, Grace Q.;Agrawal, Kunal;Lee, I-Ting Angelina;Schardl, Tao B.
While there has been extensive research on race-detection algorithms for task-parallel programs, most of this research has focused on optimizing a particular component, namely, reachability analysis, which checks whether two instructions are logically in parallel. Little attention has been paid to the other important component, the access history, which stores all memory locations previous instructions have accessed. In theory, the access-history component adds no asymptotic overhead; however, in practice, it is often the most expensive component of race detection since it is queried and (possibly) updated at each memory access. We optimize this component based on the observation that, typically, strands within parallel programs access contiguous blocks of memory. Therefore, instead of maintaining the access history at the granularity of individual memory locations, we maintain it at the granularity of these (varying size) intervals. To enable this access history, we propose (1) compiler and runtime mechanisms that allow us to efficiently collect these intervals and (2) a tree-based access-history data structure that allows updates and queries at interval granularity. The resulting tool can race-detect fork-join code with amortized constant overhead, assuming the number of intervals is small compared to the total work of the computation.
登录
查看更多内容
DOI:
10.1145/2935764.2935801
发表时间:
2016
期刊:
Proceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures
影响因子:
--
作者:
Utterback, Robert;Agrawal, Kunal;Fineman, Jeremy T.;Lee, I-Ting Angelina
通讯作者:
Lee, I-Ting Angelina
DOI:
10.1145/3178487.3178515
发表时间:
2018-02
期刊:
Proceedings of the 23rd ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming
影响因子:
--
作者:
Yifan Xu;I. Lee;Kunal Agrawal
通讯作者:
Yifan Xu;I. Lee;Kunal Agrawal
DOI:
10.1145/3293883.3295732
发表时间:
2019
期刊:
Proceedings of the 24th Symposium on Principles and Practice of Parallel Programming
影响因子:
--
作者:
Utterback, Robert;Agrawal, Kunal;Fineman, Jeremy;Lee, I-Ting Angelina
通讯作者:
Lee, I-Ting Angelina
DOI:
--
发表时间:
1978
期刊:
影响因子:
--
作者:
Jacobo Valdes Ayesta
通讯作者:
Jacobo Valdes Ayesta
DOI:
10.1145/1772954.1772960
发表时间:
2010
期刊:
2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)
影响因子:
--
作者:
Qin Zhao;Derek Bruening;Saman P. Amarasinghe
通讯作者:
Saman P. Amarasinghe