arrow
Return

Exploiting parallelism in deterministic shared memory multiprocessing

delete2012-05-01
delete19
PRE
AI
周旭 cover
周旭 (Xu Zhou) *
K
Kai Lu
X
Xiaoping Wang
李旭 cover
李旭 (Xu Li)
DOI:10.1016/j.jpdc.2012.02.008delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Multi-threaded programs on shared-memory hardware tend to be non-deterministic, which brings challenges to software debugging and testing. Current deterministic implementations eliminate nondeterminism of multi-threaded programs by trading much parallelism for determinism, which leads to low performance. Researchers typically improve parallelism by weakening determinism or introducing weak memory consistency models. However, weak determinism cannot deal with nondeterminism caused by data races which are very common in multi-threaded programs. Weak memory consistency models impact the productivity of programming and may bring correctness problems of legacy programs. To address the problems, this paper presents a fully parallelized deterministic runtime, FPDet, which exploits parallelism of deterministic multi-threaded programs by preserving strong determinism and sequential memory consistency. FPDet creates a Working Set Memory (WSM) for each thread to make threads run independently for parallelism. FPDet guarantees determinism by redistributing memory blocks among threads' WSMs in specified synchronization points. As a result, FPDet obtains parallelism and determinism simultaneously. To further exploit parallelism, we propose an Adaptive Budget Adjustment (ABA) mechanism to minimize wait time caused by thread synchronization. We evaluated FPDet using benchmarks from both the SPLASH-2 and PARSEC suits. The results show that FPDet can effectively improve parallelism (the average speedup is more than 1.4 compared with existing approaches) without weakening determinism or memory consistency. (C) 2012 Elsevier Inc. All rights reserved.
Keywords:
Parallelism
Determinism
Shared memory
Weak memory consistency
Debugging
FPDet

Journal

Journal of Parallel and Distributed Computing cover
Journal of Parallel and Distributed Computing
IF:
4
Papers:
3.8K
Citations:
4.8K

Organization

N
national university of defense technology - china
Scholars:
1.8W
Papers: 1.4W
Citations: 9
Cited Papers

Cited Papers

Liquid Immiscibility and Problems of Ore Genesis: Experimental Data
err2019-09-17
err0
PREAI
errYu. B. Shapovalov; A. R. Kotelnikov; N. I. Suk; V. S. Korzhinskaya; Z. A. Kotelnikova
errShare
errSave
errShare
errSave
researcher View more