• Cite Icon74
  • https://doi.org/10.1145/277651.277672Copy DOI Icon

Lamport clocks

  • Jan 1, 1998
  • Manoj Plakal +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Modern shared-memory multiprocessors use complex memory system implementations that include a variety of non-trivial and interacting optimizations. More time is spent in verifying the correctness of such implementations than in designing the system. In particular, large-scale Distributed Shared Memory (DSM) systems usually rely on a directory cache-coherence protocol to provide the illusion of a sequentially consistent shar ed address space. Verifying that such a distributed protocol satisfies sequential consistency is a difficult task. Current formal protocol verification techniques [18] complement simulation, but ar e some what nonintuitive to system designers and verifiers, and they do not scale well to practical systems. In this paper, we examine a new reasoning technique that is precise and (we find) intuitive. Our technique is based on Lamport’ s logical clocks, which were originally used in distributed systems. We make modest extensions to Lamport’ s logical clocking scheme to assign timestamps to r elevant protocol events to construct a total ordering of such events. Such total orderings can be used to verify that the requirements of a particular memory consistency model have been satisfied. We apply Lamport clocks to prove that a non-trivial directory protocol implements sequential consistency. T o do this, we describe an SGI Origin 2000-like protocol [12] in detail, provide a timestamping scheme that totally orders all protocol events, and then prove sequential consistency (i.e., a load always returns the value of the “last” stor e to the same address in timestamp order).

Similar Papers
  • Research Article
  • Citations9

Scalability Analysis of Memory Consistency Models in NoC-Based Distributed Shared Memory SoCs

  • Jan 01, 2013
  • IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
  • A Naeem +2
  • Dissertation

Efficient openMP over sequentially consistent distributed shared memory systems

  • Jul 20, 2011
  • Juan José Costa Prats
  • Research Article
  • Citations1

Performance visualization for distributed shared memory systems

  • Jan 01, 2001
  • Scalable Computing Practice and Experience
  • James E Lumpp +3
  • Research Article
  • Citations15

An interaction of coherence protocols and memory consistency models in DSM systems

  • Oct 01, 1997
  • ACM SIGOPS Operating Systems Review
  • Weisong Shi +2
  • Research Article
  • Citations4

Using confidence interval to summarize the evaluating results of DSM systems

  • Jan 01, 2000
  • Journal of Computer Science and Technology
  • Weisong Shi +2
  • Research Article
  • Citations3

A regulated transitive reduction (RTR) for longer memory race recording

  • Oct 20, 2006
  • ACM SIGOPS Operating Systems Review
  • Min Xu +2
  • Research Article
  • Citations1

A regulated transitive reduction (RTR) for longer memory race recording

  • Oct 20, 2006
  • ACM SIGPLAN Notices
  • Min Xu +2
  • Research Article
  • Citations6

A regulated transitive reduction (RTR) for longer memory race recording

  • Oct 20, 2006
  • ACM SIGARCH Computer Architecture News
  • Min Xu +2
  • Book Chapter
  • Citations29

Sequential consistency in distributed systems

  • Jan 01, 1995
  • Masaaki Mizuno +2
  • Book Chapter

Total Store Order and the x86 Memory Model

  • Jan 01, 2020
  • Synthesis lectures on computer architecture
  • Vijay Nagarajan +3
  • Research Article
  • Citations6

Proteus: an efficient runtime reconfigurable distributed shared memory system

  • Mar 01, 2001
  • The Journal of Systems & Software
  • Jyh-Chang Ueng +3
  • Research Article
  • Citations37

Specifying memory consistency of write buffer multiprocessors

  • Feb 01, 2007
  • ACM Transactions on Computer Systems
  • Lisa Higham +2
  • Research Article

Decidability of Liveness on the TSO Memory Model

  • Feb 13, 2026
  • Formal Aspects of Computing
  • Chao Wang +5
  • Conference Article

Visualizing Execution Histories on Multiple Memory Consistency Models

  • Sep 28, 1998
  • Alba Cristina Magalhães De Melo +1
  • Conference Article
  • Citations8

Defining uniform and hybrid memory consistency models on a unified framework

  • Jan 05, 1999
  • A.C.M Alves De Melo
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.