Towards Providing Low-Overhead Data Race Detection for Large OpenMP Applications

被引:9
|
作者
Protze, Joachim [1 ]
Atzeni, Simone [2 ]
Ahn, Dong H. [3 ]
Schulz, Martin [3 ]
Gopalakrishnan, Ganesh [2 ]
Mueller, Matthias S. [1 ]
Laguna, Ignacio [3 ]
Rakamaric, Zvonimir [2 ]
Lee, Greg L. [3 ]
机构
[1] Rhein Westfal TH Aachen, Aachen, Germany
[2] Univ Utah, Salt Lake City, UT 84112 USA
[3] Lawrence Livermore Natl Lab, Livermore, CA USA
关键词
D O I
10.1109/LLVM-HPC.2014.7
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Neither static nor dynamic data race detection methods, by themselves, have proven to be sufficient for large HPC applications, as they often result in high runtime overheads and/or low race-checking accuracy. While combined static and dynamic approaches can fare better, creating such combinations, in practice, requires attention to many details. Specifically, existing state-ofthe-art dynamic race detectors are aimed at low-level threading models, and cannot handle high-level models such as OpenMP. Further, they do not provide mechanisms by which static analysis methods can target selected regions of code with sufficient precision. In this paper, we present our solutions to both challenges. Specifically, we identify patterns within OpenMP runtimes that tend to mislead existing dynamic race checkers and provide mechanisms that help establish an explicit happens before relation to prevent such misleading checks. We also implement a fine-grained blacklist mechanism to allow a runtime analyzer to exclude regions of code at line number granularity. We support race checking by adapting ThreadSanitizer, a mature data-race checker developed at Google that is now an integral part of Clang and GCC; and we have implemented our techniques within the state-of-the-art Intel OpenMP Runtime. Our results demonstrate that these techniques can significantly improve runtime analysis accuracy and overhead in the context of data race checking of OpenMP applications.
引用
收藏
页码:40 / 47
页数:8
相关论文
共 50 条
  • [1] Towards Low-Overhead Resilience for Data Parallel Deep Learning
    Nicolae, Bogdan
    Hobson, Tanner
    Yildiz, Orcun
    Peterka, Tom
    Morozov, Dmitry
    2022 22ND IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2022), 2022, : 336 - 345
  • [2] Enabling Low-Overhead Hybrid MPI/OpenMP Parallelism with MPC
    Carribault, Patrick
    Perache, Marc
    Jourdren, Herve
    BEYOND LOOP LEVEL PARALLELISM IN OPENMP: ACCELERATORS, TASKING AND MORE, PROCEEDINGS, 2010, 6132 : 1 - 14
  • [3] LD: Low-Overhead GPU Race Detection Without Access Monitoring
    Li, Pengcheng
    Hu, Xiaoyu
    Chen, Dong
    Brock, Jacob
    Luo, Hao
    Zhang, Eddy Z.
    Ding, Chen
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2017, 14 (01)
  • [4] Experimenting with low-overhead OpenMP runtime on IBM Blue Gene/Q
    Eichenberger, A. E.
    O'Brien, K.
    IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 2013, 57 (1-2)
  • [5] Automatic Low-Overhead Load-Imbalance Detection in MPI Applications
    Arzt, Peter
    Fischler, Yannic
    Lehr, Jan-Patrick
    Bischof, Christian
    EURO-PAR 2021: PARALLEL PROCESSING, 2021, 12820 : 19 - 34
  • [6] Low-Overhead and High Coverage Run-Time Race Detection Through Selective Meta-Data Management
    Huang, Ruirui
    Halberg, Erik
    Ferraiuolo, Andrew
    Suh, G. Edward
    2014 20TH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA-20), 2014, : 96 - 107
  • [7] A Low-Overhead Integrity Verification for Big Data Transfers
    Arslan, Engin
    Alhussen, Ahmed
    2018 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2018, : 4227 - 4236
  • [8] Low-Overhead Error Detection for Networks-on-Chip
    Berman, Amit
    Keidar, Idit
    2009 IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN, 2009, : 219 - 224
  • [9] LocMoE: A Low-Overhead MoE for Large Language Model Training
    Li, Jing
    Sun, Zhijie
    He, Xuan
    Zeng, Li
    Lin, Yi
    Li, Entong
    Zheng, Binfan
    Zhao, Rongqian
    Chen, Xin
    PROCEEDINGS OF THE THIRTY-THIRD INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2024, 2024, : 6377 - 6387
  • [10] Dynamic Data Race Detection for OpenMP Programs
    Gu, Yizi
    Mellor-Crummey, John
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE, AND ANALYSIS (SC'18), 2018,