Issue No. 10 - October (2000 vol. 11)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/71.888645
<p><b>Abstract</b>—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 our system to look for 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.</p>
Data races, on-the-fly, DSM, shared memory.
Dejan Perkovic, Peter J. Keleher, "A Protocol-Centric Approach to on-the-Fly Race Detection", IEEE Transactions on Parallel & Distributed Systems, vol. 11, no. , pp. 1058-1072, October 2000, doi:10.1109/71.888645