ATOMIC SNAPSHOTS OF SHARED-MEMORY

被引:250
作者
AFEK, Y
ATTIYA, H
DOLEV, D
GAFNI, E
MERRITT, M
SHAVIT, N
机构
[1] TECHNION ISRAEL INST TECHNOL, DEPT COMP SCI, IL-32000 HAIFA, ISRAEL
[2] AT&T BELL LABS, MURRAY HILL, NJ 07974 USA
[3] HEBREW UNIV JERUSALEM, DEPT COMP SCI, IL-91904 JERUSALEM, ISRAEL
[4] IBM CORP, ALMADEN RES CTR, SAN JOSE, CA 95114 USA
[5] UNIV CALIF LOS ANGELES, DEPT COMP SCI, LOS ANGELES, CA 90024 USA
[6] STANFORD UNIV, STANFORD, CA 94305 USA
[7] MIT, COMP SCI LAB, CAMBRIDGE, MA 02139 USA
[8] MIT, DISTRIBUTED SYST GRP, CAMBRIDGE, MA 02139 USA
关键词
ALGORITHMS; CONCURRENCY; SHARED MEMORY; ATOMIC; CONSISTENT STATE; FAULT-TOLERANCE; SNAPSHOT;
D O I
10.1145/153724.153741
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper introduces a general formulation of atomic snapshot memory, a shared memory partitioned into words written (updated) by individual processes, or instantaneously read (scanned) in its entirety. This paper presents three wait-free implementations of atomic snapshot memory. The first implementation in this paper uses unbounded (integer) fields in these registers, and is particularly easy to understand. The second implementation uses bounded registers. Its correctness proof follows the ideas of the unbounded implementation. Both constructions implement a single-writer snapshot memory, in which each word may be updated by only one process, from single-writer, n-reader registers. The third algorithm implements a multi-writer snapshot memory from atomic n-writer, n-reader registers, again echoing key ideas from the earlier constructions. All operations require THETA(n2) reads and writes to the component shared registers in the worst case.
引用
收藏
页码:873 / 890
页数:18
相关论文
共 31 条
[1]  
ABRAHAMSON K, 1988, ACM PODC, P291
[2]  
ANDERSON J, 1990, TR9023 U TEX AUST DE
[3]  
ANDERSON J, 1990, 9TH P ANN ACM S PRIN, P15
[4]  
ANDERSON JH, 1989, TR8926 U TEX AUST DE
[5]  
ANDERSON JH, 1989, TR8925 U TEX AUST DE
[6]   FAST RANDOMIZED CONSENSUS USING SHARED MEMORY [J].
ASPNES, J ;
HERLIHY, M .
JOURNAL OF ALGORITHMS, 1990, 11 (03) :441-461
[7]  
ASPNES J, 1990, 9TH P ACM C PRINC DI, P325
[8]  
ATTIYA H, 1990, ANN IEEE SYMP FOUND, P55
[9]  
ATTIYA H, 1989, 8TH P ACM S PRINC DI, P281
[10]  
ATTIYA H, 1990, 9TH P ANN ACM S PRIN, P363