Bibliographic Details
| Title: |
Data race avoidance and replay scheme for developing and debugging parallel programs on distributed shared memory systems |
| Authors: |
Chiu, Yung-Chang1 qson@hpds.ee.ncku.edu.tw, Shieh, Ce-Kuen1 shieh@hpds.ee.ncku.edu.tw, Huang, Tzu-Chi2 tzuchi.phd@gmail.com, Liang, Tyng-Yeu3 lty@mail.ee.kuas.edu.tw, Chu, Kuo-Chih2 kcchu@mail.lhu.edu.tw |
| Source: |
Parallel Computing. Jan2011, Vol. 37 Issue 1, p11-25. 15p. |
| Subjects: |
Debugging, Parallel programs (Computer programs), Distributed shared memory, Distributed computing, Computer network protocols, Threads (Computer programs) |
| Abstract: |
Abstract: Distributed shared memory (DSM) allows parallel programs to run on distributed computers by simulating a global virtual shared memory, but data racing bugs may easily occur when the threads of a multi-threaded process concurrently access the physically distributed memory. Earlier tools to help programmers locate data racing bugs in non-DSM parallel programs are not easily applied to DSM systems. This study presents the data race avoidance and replay scheme (DRARS) to assist debugging parallel programs on DSM or multi-core systems. DRARS is a novel tool which controls the consistency protocol of the target program, automatically preventing a large class of data racing bugs when the parallel program is subsequently run, obviating much of the need for manual debugging. For data racing bugs that cannot be avoided automatically, DRARS performs a deterministic replay-type function on DSM systems, faithfully reproducing the behavior of the parallel program during run time. Because one class of data racing bugs has already been eliminated, the remaining manual debugging task is greatly simplified. Unlike previous debugging methods, DRARS does not require that the parallel program be written in a specific style or programming language. Moreover, DRARS can be implemented in most consistency protocols. In this paper, DRARS is realized and verified in real experiments using the eager release consistency protocol on a DSM system with various applications. [Copyright &y& Elsevier] |
|
Copyright of Parallel Computing is the property of Elsevier B.V. and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Database: |
Engineering Source |