arrow
Return

Implementing sequentially consistent programs on processor consistent platforms

delete2008-04-01
delete5
PRE
AI
L
Lisa Highám *
J
Jalal Kawash
DOI:10.1016/j.jpdc.2007.07.002delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Designers of distributed algorithms typically assume strong memory consistency guarantees, but system implementations provide weaker guarantees for better performance and scalability. This motivates the study of how to implement programs designed for sequential consistency on platforms with weaker consistency models. Typically, such implementations are impossible using only read and write operations to shared variables. One variant of processor consistency originally proposed by Goodman and called here PC-G is an exception because it provides just enough consistency to implement mutual exclusion using only reads and writes. This paper investigates the existence of compilers to convert arbitrary programs that use shared read/write variables with sequentially consistent memory semantics, to programs that use read/write variables with PC-G consistency semantics. We first provide a simple program transformation, and prove that it correctly compiles any 2-process program to a PC-G memory system, while preserving wait-freedom. We next prove that even a substantial generalization of this transformation cannot be a compiler for even a very restricted class of 3-process programs. Even though our program transformation is not a general compiler for three or more processes, it does correctly transform some specific n-process programs. In particular, for the special case of the (necessarily randomized) Test&Set algorithm of Tromp and Vitanyi, our transformation extends to any number of processes, thus providing the first algorithm for expected wait-free Test&Set on any weak memory system, using only read/write variables. (C) 2007 Elsevier Inc. All rights reserved.
Keywords:
memory consistency models
processor consistency
sequential consistency
Test&Set
wait-freedom
program transformation
A Novel Approach to Efficiently Verify Sequential Consistency in Concurrent Programs
err2025-03-19
err0
errOAAI
errAbdulwahhab, Mohammed H.; Abdulla, Parosh Aziz; Jacksi, Karwan
errShare
errSave
errShare
errSave
errShare
errSave
Program Regularization in Memory Consistency Verification
err2012-11-01
err2
PREAI
errChen, Yunji; Li, Lei; Chen, Tianshi; Li, Ling; Wang, Lei; Feng, Xiaoxue; Hu, Weiwu
errShare
errSave

Journal

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

Organization

U
University of Calgary
Scholars:
2.1K
Papers: 912
Citations: 2.2W
Cited Papers

Cited Papers

X-Ray Study on the Successive Phase Transitions of K2CoCl4
err1990-10-15
err0
PREAI
errHiroyuki Mashiyama; Haruhiko Suzuki; Fuminao Shimizu; Toshihisa Yamaguchi; Shozo Sawada
errShare
errSave
errShare
errSave
Stochastic Finite Element Method
err2017-10-29
err0
PREAI
errVissarion Papadopoulos; Dimitris G. Giovanis
errShare
errSave
Optical memory bandwidth and multiplexing capacity in the erbium telecommunication window
err2015-02-10
err0
errOAAI
errJ Dajczgewand; R Ahlefeldt; T Böttger; A Louchet-Chauvet; J-L Le Gouët; T Chanelière
errShare
errSave
Intrathecal neurokinin-1 receptor antagonist reduces isoflurane MAC in rats
err1997-05-01
err0
errOAAI
errKeiji Ishizaki; Syunji Karasawa; Kenichiro Takahashi; Mamoru Hasegawa; Fumio Goto
errShare
errSave
Trends in the incidence of diabetes, its clinical sequelae, and associated costs in pregnancy
err2015-06-16
err0
errOAAI
errLois Jovanovič; Yuanjie Liang; Wayne Weng; Marianthe Hamilton; Lisa Chen; Neil Wintfeld
errShare
errSave
researcher View more