• DocumentCode
    2540980
  • Title

    Using Lamport clocks to reason about relaxed memory models

  • Author

    Condon, Anne E. ; Hill, Mark D. ; Plakal, Manoj ; Sorin, Daniel J.

  • Author_Institution
    Dept. of Comput. Sci., Wisconsin Univ., Madison, WI, USA
  • fYear
    1999
  • fDate
    9-13 Jan 1999
  • Firstpage
    270
  • Lastpage
    278
  • Abstract
    Cache coherence protocols of current shared-memory multiprocessors are difficult to verify. Our previous work proposed an extension of Lamport´s logical clocks for showing that multiprocessors can implement sequential consistency (SC) with an SGI Origin 2000-like directory protocol and a Sun Gigaplane-like split-transaction bus protocol. Many commercial multiprocessors, however, implement more relaxed models, such as SPARC Total Store Order (TSO), a variant of processor consistency, and Compaq (DEC) Alpha, a variant of weak consistency. This paper applies Lamport clocks to both a TSO and an Alpha implementation. Both implementations are based on the same Sun Gigaplane-like split-transaction bus protocol we previously used, but the TSO implementation places a first-in-first-out write buffer between a processor and its cache, while the Alpha implementation uses a coalescing write buffer. Both write buffers satisfy read requests for pending writes (i.e., do bypassing) without requiring the write to be immediately written to cache. Analysis shows how to apply Lamport clocks to verify TSO and Alpha specifications at the architectural level
  • Keywords
    formal verification; memory protocols; shared memory systems; Alpha implementation; Alpha specifications; Lamport clocks; SGI Origin 2000-like directory protocol; SPARC Total Store Order; Sun Gigaplane-like split-transaction bus protocol; cache coherence protocols; first-in-first-out write buffer; relaxed memory models; sequential consistency; shared-memory multiprocessors; Clocks; Coherence; Databases; Design optimization; File servers; Hardware; Multiprocessing systems; Protocols; Sun; Systems engineering and theory;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High-Performance Computer Architecture, 1999. Proceedings. Fifth International Symposium On
  • Conference_Location
    Orlando, FL
  • Print_ISBN
    0-7695-0004-8
  • Type

    conf

  • DOI
    10.1109/HPCA.1999.744379
  • Filename
    744379