基于向量时钟的异步完成程序数据竞争检测
Efficient Data Race Detection of Async-Finish Programs Using Vector Clocks
摘要:
现有的基于任务的程序的数据竞争检测器招致显著的运行时间和空间开销。开销的产生是因为频繁地在细粒度树数据结构中查找以检查两个访问是否可以并行发生。这项工作表明,如何有效地应用向量时钟的动态数据竞争检测的锁的完成程序。我们提出的技术,FastRacer,建立在FastTrack算法与每个任务和每个变量的优化,以减少向量时钟的大小。FastRacer利用了并行程序的结构化并行性,使用动态任务继承关系的粗粒度编码来限制多个并发读取器存在时的元数据。我们的评估表明,FastRacer大大提高了FastTrack的时间和空间开销,并与最先进的数据竞争检测器的锁完成程序。
英文摘要:
Existing data race detectors for task-based programs incur significant run time and space overheads. The overheads arise because of frequent lookups in fine-grained tree data structures to check whether two accesses can happen in parallel. This work shows how to efficiently apply vector clocks for dynamic data race detection of async-finish programs with locks. Our proposed technique, FastRacer, builds on the FastTrack algorithm with per-task and per-variable optimizations to reduce the size of vector clocks. FastRacer exploits the structured parallelism of async-finish programs to use a coarse-grained encoding of the dynamic task inheritance relations to limit the metadata in the presence of many concurrent readers. Our evaluation shows that FastRacer substantially improves time and space overheads over FastTrack, and is competitive with the state-of-the-art data race detectors for async-finish programs with locks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。