Parallel Determinacy Race Detection for Futures

被引:9
|
作者
Xu, Yifan [1 ]
Singer, Kyle [1 ]
Lee, I-Ting Angelina [1 ]
机构
[1] Washington Univ St Louis, St Louis, MO 63130 USA
基金
美国国家科学基金会;
关键词
D O I
10.1145/3332466.3374536
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The use of futures can generate arbitrary dependences in the computation, making it difficult to detect races efficiently. Algorithms proposed by priorwork to detect races on programs with futures all have to execute the program sequentially. We propose F-Order, the first known parallel race detection algorithm that detects races on programs that use futures. Given a computation with work T-1 and span T-infinity, our algorithm detects races in time O((T-1 lg (k) over cap + k(2))/ P + T-infinity(k + lg r lg (k) over cap)) on P processors, where k is the number of future operations, r is the maximum number of readers per memory location, and (k) over cap is the maximum number of future operations done by a single future task, which is typically small. We have also implemented a prototype system based on the proposed algorithm and empirically demonstrates its practical efficiency and scalability.
引用
收藏
页码:217 / 231
页数:15
相关论文
共 50 条