arrow
返回

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
delete原文链接
delete分享
delete收藏
摘要

摘要

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.
Keyword:
memory consistency models
processor consistency
sequential consistency
Test&Set
wait-freedom
program transformation
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
err分享
err收藏
err分享
err收藏
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
err分享
err收藏

期刊

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

机构

U
University of Calgary
学者数:
2.1K
论文数: 912
被引数: 2.2W
引用论文

引用论文

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
err分享
err收藏
err分享
err收藏
Stochastic Finite Element Method
err2017-10-29
err0
PREAI
errVissarion Papadopoulos; Dimitris G. Giovanis
err分享
err收藏
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
err分享
err收藏
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
err分享
err收藏
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
err分享
err收藏
学者 查看更多内容