Demand-Driven Software Race Detection using Hardware Performance Counters

被引:0
|
作者
Greathouse, Joseph L. [1 ]
Ma, Zhiqiang
Frank, Matthew I.
Peri, Ramesh
Austin, Todd [1 ]
机构
[1] Univ Michigan, Ann Arbor, MI 48109 USA
关键词
Performance Counters; Data Race Detection; Demand Analysis; Cache Coherency;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Dynamic data race detectors are an important mechanism for creating robust parallel programs. Software race detectors instrument the program under test, observe each memory access, and watch for inter-thread data sharing that could lead to concurrency errors. While this method of bug hunting can find races that are normally difficult to observe, it also suffers from high runtime overheads. It is not uncommon for commercial race detectors to experience 300x slowdowns, limiting their usage. This paper presents a hardware-assisted demand-driven race detector. We are able to observe cache events that are indicative of data sharing between threads by taking advantage of hardware available on modern commercial microprocessors. We use these to build a race detector that is only enabled when it is likely that inter-thread data sharing is occurring. When little sharing takes place, this demand-driven analysis is much faster than contemporary continuous-analysis tools without a large loss of detection accuracy. We modified the race detector in Intel (R) Inspector XE to utilize our hardware-based sharing indicator and were able to achieve performance increases of 3x and 10x in two parallel benchmark suites and 51x for one particular program.
引用
收藏
页码:165 / 176
页数:12
相关论文
共 50 条
  • [41] USER DEMAND-DRIVEN PATENT TOPIC CLASSIFICATION USING MACHINE LEARNING TECHNIQUES
    Zhu, Fujin
    Wang, Xuefang
    Zhu, Donghua
    Liu, Yugin
    DECISION MAKING AND SOFT COMPUTING, 2014, 9 : 657 - 663
  • [42] Improving TLB performance on current chip multiprocessor architectures through demand-driven superpaging
    Qasem, Apan
    Magee, Josh
    SOFTWARE-PRACTICE & EXPERIENCE, 2013, 43 (06): : 705 - 729
  • [43] Performance driven placement technique based on collaboration of software and hardware
    Yoshikawa, M
    Terai, H
    2005 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-3, PROCEEDINGS, 2005, : 1570 - 1575
  • [44] Online Capacity Identification of Multitier Websites Using Hardware Performance Counters
    Rao, Jia
    Xu, Cheng-Zhong
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2011, 22 (03) : 426 - 438
  • [45] Detecting Malicious Attacks Exploiting Hardware Vulnerabilities Using Performance Counters
    Li, Congmiao
    Gaudiot, Jean-Luc
    2019 IEEE 43RD ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2019, : 588 - 597
  • [46] Application Profiling Using Register-Instruction Hardware Performance Counters
    Menon, Anand
    Srivastava, Amisha
    Kundu, Shamik
    Basu, Kanad
    2023 IEEE COMPUTER SOCIETY ANNUAL SYMPOSIUM ON VLSI, ISVLSI, 2023, : 199 - 204
  • [47] SoK: The Challenges, Pitfalls, and Perils of Using Hardware Performance Counters for Security
    Das, Sanjeev
    Werner, Jan
    Antonakakis, Manos
    Polychronakis, Michalis
    Monrose, Fabian
    2019 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2019), 2019, : 20 - 38
  • [48] Using hardware performance counters to speed up autotuning convergence on GPUs
    Filipovic, Jiri
    Hozzova, Jana
    Nezarat, Amin
    Ol'ha, Jaroslav
    Petrovic, Filip
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2022, 160 : 16 - 35
  • [49] Evaluation of Sustainability Index of Water Distribution Network Using Demand-Driven and Pressure-Driven Analysis
    Preeti, S.
    Poojitha, S. N.
    Jothiprakash, V.
    JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT, 2023, 149 (03)
  • [50] Bandwidth Measurement using Performance Counters for Predictable Multicore Software
    Inam, Rafia
    Sjodin, Mikael
    Jagemar, Marcus
    2012 IEEE 17TH CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA), 2012,