ATOMIC SNAPSHOTS OF SHARED-MEMORY

被引:245
|
作者
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
相关论文
共 50 条
  • [1] The Topology of Shared-Memory Adversaries
    Herlihy, Maurice
    Rajsbaum, Sergio
    [J]. PODC 2010: PROCEEDINGS OF THE 2010 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, 2010, : 105 - 113
  • [2] KNOWLEDGE IN SHARED-MEMORY SYSTEMS
    MERRITT, M
    TAUBENFELD, G
    [J]. DISTRIBUTED COMPUTING, 1993, 7 (02) : 99 - 109
  • [3] SHARED-MEMORY AND PC SUPERCOMPUTING
    FRIED, S
    [J]. DR DOBBS JOURNAL, 1994, 19 (01): : 18 - &
  • [4] Shared-memory performance profiling
    Xu, ZC
    Larus, JR
    Miller, BP
    [J]. ACM SIGPLAN NOTICES, 1997, 32 (07) : 240 - 251
  • [5] UNAMBIGUOUS SHARED-MEMORY SYSTEMS
    Morin, Remi
    [J]. INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2010, 21 (04) : 665 - 685
  • [6] AND OR PARALLELISM ON SHARED-MEMORY MULTIPROCESSORS
    GUPTA, G
    JAYARAMAN, B
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1993, 17 (01): : 59 - 89
  • [7] SMALL SHARED-MEMORY MULTIPROCESSORS
    BASKETT, F
    HENNESSY, JL
    [J]. SCIENCE, 1986, 231 (4741) : 963 - 967
  • [8] SHARED-MEMORY AND MESSAGE QUEUES
    LAM, RB
    [J]. DR DOBBS JOURNAL, 1995, 20 (05): : 28 - &
  • [9] MEMORY ACCESS DEPENDENCIES IN SHARED-MEMORY MULTIPROCESSORS
    DUBOIS, M
    SCHEURICH, C
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (06) : 660 - 673
  • [10] Memory latency in distributed shared-memory multiprocessors
    Motlagh, BS
    DeMara, RF
    [J]. PROCEEDINGS IEEE SOUTHEASTCON '98: ENGINEERING FOR A NEW ERA, 1998, : 134 - 137