arrow
返回

Exploiting parallelism in deterministic shared memory multiprocessing

delete2012-05-01
delete19
PRE
AI
周旭 封面图
周旭 (Xu Zhou) *
K
Kai Lu
X
Xiaoping Wang
李旭 封面图
李旭 (Xu Li)
DOI:10.1016/j.jpdc.2012.02.008delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

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.
Keyword:
Parallelism
Determinism
Shared memory
Weak memory consistency
Debugging
FPDet

期刊

Journal of Parallel and Distributed Computing 封面图
Journal of Parallel and Distributed Computing
IF:
4
论文数:
3.8K
被引数:
4.8K

机构

N
national university of defense technology - china
学者数:
1.8W
论文数: 1.4W
被引数: 9
引用论文

引用论文

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
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容