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
来源
PROCEEDINGS OF THE 25TH ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING (PPOPP '20) | 2020年
基金
美国国家科学基金会;
关键词
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 条
[21]   Efficient Detection of Determinacy Races in Cilk Programs [J].
M. Feng ;
C. E. Leiserson .
Theory of Computing Systems, 1999, 32 :301-326
[22]   Optimized Sound and Complete Data Race Detection in Structured Parallel Programs [J].
Storey, Kyle ;
Powell, Jacob ;
Ben Ogles ;
Hooker, Joshua ;
Aldous, Peter ;
Mercer, Eric .
LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING (LCPC 2018), 2019, 11882 :94-111
[23]   Effective Techniques for Static Race Detection in Java']Java Parallel Loops [J].
Radoi, Cosmin ;
Dig, Danny .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2015, 24 (04)
[24]   SPECULATIVE FUTURES: RACE IN WATCHMEN'S WORLDS [J].
Simek, Nicole .
SYMPLOKE, 2020, 28 (1-2) :385-404
[25]   Compilation analysis of parallel occam programs. Enforcing determinacy and communication correctness [J].
Kermarrec, Y. ;
Villa, R. Sancho .
Proceedings of the Conference of the North American Transputer Users Group - NATUG, 1992, 24
[26]   A Unifying Framework for Parallel and Distributed in R Futures [J].
Bengtsson, Henrik .
R JOURNAL, 2021, 13 (02) :273-291
[27]   On Shakespeare's Legacy, Critical Race, and Collective Futures [J].
Park, Jennifer .
SHAKESPEARE QUARTERLY, 2023, 74 (03) :264-280
[28]   The Ethics of Race, Failure, and Asian American (Ethno)Futures [J].
Shiu, Anthony Sze-Fai .
EXTRAPOLATION, 2014, 55 (03) :299-321
[29]   Surrogate humanity: race, robots, and the politics of technological futures [J].
Merz, Sibille .
ETHNIC AND RACIAL STUDIES, 2020, 43 (08) :1525-1527
[30]   Parallel futures? Indigenous resurgence and the haunting of the settler [J].
Palmer, Jane ;
Walsh, Angelia ;
Batorowicz, Beata .
FUTURES, 2022, 141