Data race avoidance and replay scheme for developing and debugging parallel programs on distributed shared memory systems

Yung Chang Chiu, Ce Kuen Shieh, Tzu Chi Huang, Tyng Yeu Liang, Kuo Chih Chu

研究成果: Article同行評審

8 引文 斯高帕斯(Scopus)

摘要

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.

原文English
頁(從 - 到)11-25
頁數15
期刊Parallel Computing
37
發行號1
DOIs
出版狀態Published - 2011 1月

All Science Journal Classification (ASJC) codes

  • 軟體
  • 理論電腦科學
  • 硬體和架構
  • 電腦網路與通信
  • 電腦繪圖與電腦輔助設計
  • 人工智慧

指紋

深入研究「Data race avoidance and replay scheme for developing and debugging parallel programs on distributed shared memory systems」主題。共同形成了獨特的指紋。

引用此