Scalable and Precise Dynamic Datarace Detection for Structured Parallelism

被引:1
|
作者
Raman, Raghavan [1 ]
Zhao, Jisheng [1 ]
Sarkar, Vivek [1 ]
Vechev, Martin [2 ]
Yahav, Eran [3 ]
机构
[1] Rice Univ, Houston, TX 77251 USA
[2] ETH, Zurich, Switzerland
[3] Technion Israel Inst Technol, IL-32000 Haifa, Israel
基金
美国国家科学基金会;
关键词
Algorithms; Languages; Verification; Parallelism; Program Analysis; Data Races; ASYNC-FINISH PARALLELISM; RACE DETECTION; EFFICIENT;
D O I
10.1145/2345156.2254127
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Existing dynamic race detectors suffer from at least one of the following three limitations: (i) space overhead per memory location grows linearly with the number of parallel threads [13], severely limiting the parallelism that the algorithm can handle. (ii) sequentialization: the parallel program must be processed in a sequential order, usually depth-first [12, 24]. This prevents the analysis from scaling with available hardware parallelism, inherently limiting its performance. (iii) inefficiency: even though race detectors with good theoretical complexity exist, they do not admit efficient implementations and are unsuitable for practical use [4, 18]. We present a new precise dynamic race detector that leverages structured parallelism in order to address these limitations. Our algorithm requires constant space per memory location, works in parallel, and is efficient in practice. We implemented and evaluated our algorithm on a set of 15 benchmarks. Our experimental results indicate an average (geometric mean) slowdown of 2.78x on a 16-core SMP system.
引用
收藏
页码:531 / 542
页数:12
相关论文
共 50 条
  • [1] Efficient and precise datarace detection for multithreaded object-oriented programs
    Choi, JD
    Lee, KW
    Loginov, A
    O'Callahan, R
    Sarkar, V
    Sridharan, M
    [J]. ACM SIGPLAN NOTICES, 2002, 37 (05) : 258 - 269
  • [2] GPU Task Parallelism for Scalable Anomaly Detection
    Ueno, Koji
    Suzumura, Toyotaro
    [J]. 2012 19TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING (HIPC), 2012,
  • [3] Scalable Fault Detection Based on Precise Access Path
    Li, Chi
    Wang, Yuexing
    Zhou, Min
    Gu, Ming
    [J]. 2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 473 - 481
  • [4] Volition: Scalable and Precise Sequential Consistency Violation Detection
    Qian, Xuehai
    Torrellas, Josep
    Sahelices, Benjamin
    Qian, Depei
    [J]. ACM SIGPLAN NOTICES, 2013, 48 (04) : 535 - 548
  • [5] SCALABLE PARALLELISM BY EVOLUTIONARY ALGORITHMS
    HOFFMEISTER, F
    [J]. LECTURE NOTES IN ECONOMICS AND MATHEMATICAL SYSTEMS, 1991, 367 : 177 - 198
  • [6] Scalable Coordination of Hierarchical Parallelism
    Devadas, Vinay
    Curtis-Maury, Matthew
    [J]. PROCEEDINGS OF THE 49TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, ICPP 2020, 2020,
  • [7] A Scalable Architecture for Ordered Parallelism
    Jeffrey, Mark C.
    Subramanian, Suvinay
    Yan, Cong
    Emer, Joel
    Sanchez, Daniel
    [J]. PROCEEDINGS OF THE 48TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO-48), 2015, : 228 - 241
  • [8] NAVEX: Precise and Scalable Exploit Generation for Dynamic Web Applications
    Alhuzali, Abeer
    Gjomemo, Rigel
    Eshete, Birhanu
    Venkatakrishnan, V. N.
    [J]. PROCEEDINGS OF THE 27TH USENIX SECURITY SYMPOSIUM, 2018, : 377 - 392
  • [9] DAOS - Scalable And-Or parallelism
    Castro, LF
    Costa, VS
    Geyer, CFR
    Silva, F
    Vargas, PK
    Correia, ME
    [J]. EURO-PAR'99: PARALLEL PROCESSING, 1999, 1685 : 899 - 908
  • [10] Dynamic Determinacy Race Detection for Task Parallelism with Futures
    Surendran, Rishi
    Sarkar, Vivek
    [J]. RUNTIME VERIFICATION, (RV 2016), 2016, 10012 : 368 - 385