A Parallel FastTrack Data Race Detector on Multi-core Systems

被引:4
作者
Song, Young Wn [1 ]
Lee, Yann-Hang [2 ]
机构
[1] Western Digital Corp, Chandler, AZ 85224 USA
[2] Arizona State Univ, Comp Sci & Engn, Tempe, AZ 85281 USA
来源
2017 31ST IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS) | 2017年
关键词
Data race detection; parallelization; concurrency bug; multithreaded programs; TIME;
D O I
10.1109/IPDPS.2017.87
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Detecting data races in multithreaded programs is critical to ensure the correctness of the programs. To discover data races precisely without false alarms, dynamic detection approaches are often applied. However, the overhead of the existing dynamic detection approaches, even with recent innovations, is still substantially high. In this paper, we present a simple but efficient approach to parallelize data race detection in multicore SMP (Symmetric Multiprocessing) machines. In our approach, data access information needed for dynamic detection is collected at application threads and passed to detection threads. The access information is distributed in a way that the operation performed by each detection thread is independent of that of other detection threads. As a consequence, the overhead caused by locking operations in data race detection can be alleviated and multiple cores can be fully utilized to speed up and scale up the detection. Furthermore, each detection thread deals with only its own assigned memory access region rather than the whole address space. The executions of detection threads can exploit the spatial locality of accesses leading to an improved cache performance. We have applied our parallel approach on the FastTrack algorithm and demonstrated the validity of our approach on an Intel Xeon machine. Our experimental results show that the parallel FastTrack detector, on average, runs 2.2 times faster than the original FastTrack detector on the 8 core machine.
引用
收藏
页码:387 / 396
页数:10
相关论文
共 26 条
  • [1] [Anonymous], 2011, BENCHMARKING MODERN
  • [2] [Anonymous], 2007, P THE 6 JOINT M EUR
  • [3] [Anonymous], P 24 ACM S OP SYST P
  • [4] [Anonymous], 2003, P 9 ACM SIGPLAN S PR, DOI DOI 10.1145/781498.781529
  • [5] PACER: Proportional Detection of Data Races
    Bond, Michael D.
    Coons, Katherine E.
    McKinley, Kathryn S.
    [J]. PLDI '10: PROCEEDINGS OF THE 2010 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2010, : 255 - 268
  • [6] LOGICAL TIME IN DISTRIBUTED COMPUTING SYSTEMS
    FIDGE, C
    [J]. COMPUTER, 1991, 24 (08) : 28 - 33
  • [7] HMMER web server: interactive sequence similarity searching
    Finn, Robert D.
    Clements, Jody
    Eddy, Sean R.
    [J]. NUCLEIC ACIDS RESEARCH, 2011, 39 : W29 - W37
  • [8] Type-based race detection for Java']Java
    Flanagan, C
    Freund, SN
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (05) : 219 - 232
  • [9] FastTrack: Efficient and Precise Dynamic Race Detection
    Flanagan, Cormac
    Freund, Stephen N.
    [J]. PLDI'09 PROCEEDINGS OF THE 2009 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2009, : 121 - 133
  • [10] Gilchrist J., PARALLEL BZIP2