A protocol-centric approach to on-the-fly race detection

被引:11
|
作者
Perkovic, D [1 ]
Keleher, PJ [1 ]
机构
[1] Univ Maryland, Dept Comp Sci, College Pk, MD 20742 USA
关键词
data races; on-the-fly; DSM; shared memory;
D O I
10.1109/71.888645
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present the design and evaluation of a new data-race-detection technique. Our technique executes at runtime rather than post-mortem, and handles unmodified shared-memory applications that run on top of CVM, a software distributed shared memory system. We do not assume explicit associations between synchronization and shared data, and require neither compiler support nor program source. Instead, we use a binary code re-writer to instrument instructions that may access shared memory. The most novel aspect of our system is that we are able to use information from the underlying memory system implementation in order to reduce the number of comparisons made at runtime. We present an experimental evaluation of our techniques by using out system to look far data races in five common shared-memory programs. We quantify the effect of several optimizations to the basic technique: data flow analysis, instrumentation batching, runtime code modification, and instrumentation inlining. Our system correctly found races in three of the five programs, including two from a standard benchmark suite. The slowdown of this debugging technique averages less than 2.5 for our applications.
引用
收藏
页码:1058 / 1072
页数:15
相关论文
共 50 条
  • [21] ON-THE-FLY DETECTION OF ACCESS ANOMALIES
    SCHONBERG, E
    SIGPLAN NOTICES, 1989, 24 (07): : 285 - 297
  • [22] On-the-fly detection of access anomalies
    Schonberg, E
    ACM SIGPLAN NOTICES, 2004, 39 (04) : 315 - 327
  • [23] Efficiency of e-NR Labeling for On-the-fly Race Detection of Programs with Nested Parallelism
    Kim, Sun-Sook
    Ha, Ok-Kyoon
    Jun, Yong-Kee
    UBIQUITOUS COMPUTING AND MULTIMEDIA APPLICATIONS, PT II, 2011, 151 : 191 - +
  • [24] An Efficient Algorithm for On-the-Fly Data Race Detection Using an Epoch-Based Technique
    Ha, Ok-Kyoon
    Jun, Yong-Kee
    SCIENTIFIC PROGRAMMING, 2015, 2015
  • [25] Formal Verification of the On-the-Fly Vehicle Platooning Protocol
    Mallozzi, Piergiuseppe
    Sciancalepore, Massimo
    Pelliccione, Patrizio
    SOFTWARE ENGINEERING FOR RESILIENT SYSTEMS, (SERENE 2016), 2016, 9823 : 62 - 75
  • [26] Efficient on-the-fly Web bot detection
    Suchacka, Grażyna
    Cabri, Alberto
    Rovetta, Stefano
    Masulli, Francesco
    Knowledge-Based Systems, 2021, 223
  • [27] Efficient on-the-fly Web bot detection
    Suchacka, Grazyna
    Cabri, Alberto
    Rovetta, Stefano
    Masulli, Francesco
    KNOWLEDGE-BASED SYSTEMS, 2021, 223
  • [28] On-the-fly detection of content poor webpaths
    Hsu, Ting-Chao
    Chang, Hsien-Tsung
    Wu, Sun
    PROCEEDINGS OF THE SECOND IASTED INTERNATIONAL CONFERENCE ON WEB TECHNOLOGIES, APPLICATIONS, AND SERVICES, 2006, : 197 - +
  • [29] On-the-fly intrusion detection for Web Portals
    Sion, R
    Atallah, M
    Prabhakar, S
    ITCC 2003: INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: COMPUTERS AND COMMUNICATIONS, PROCEEDINGS, 2003, : 325 - 330
  • [30] A Lightweight Approach for On-the-Fly Reflectance Estimation
    Kim, Kihwan
    Gu, Jinwei
    Tyree, Stephen
    Molchanov, Pavlo
    Niessner, Matthias
    Kautz, Jan
    2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, : 20 - 28