Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

A framework of memory consistency models

Published: 22 March 2023 Publication History
  • Get Citation Alerts
  • Abstract

    Previous descriptions of memory consistency models in shared-memory multiprocessor systems are mainly expressed as constraints on the memory access event ordering and hence are hardware-centric. This paper presents a framework of memory consistency models which describes the memory consistency model on the behavior level. Based on the understanding that the behavior of an execution is determined by the execution order of conflicting accesses, a memory consistency model is defined as an interprocessor synchronization mechanism which orders the execution of operations from different processors. Synchronization order of an execution under certain consistency model is also defined. The synchronization order, together with the program order, determines the behavior of an execution.
    This paper also presents criteria for correct program and correct implementation of consistency models. Regarding an implementation of a consistency model as certain memory event ordering constraints, this paper provides a method to prove the correctness of consistency model implementations, and the correctness of the lock-based cache coherence protocol is proved with this method.

    References

    [1]
    Lamport L How to make a multiprocessor computer that correctly executes multiprocessor programs IEEE Transactions on Computers 1979 28 9 690-691
    [2]
    Adve S, Hili M. Weak ordering: A new definition. InProceedings of the 17th Annual International Symposium on Computer Architecture, pp. 1–14, June 1990.
    [3]
    Adve S. Designing memory consistency models for shared-memory multiprocessors.Computer Sciences Technical report #1198, University of Wisconsin-madison, Dec. 1993.
    [4]
    Adve S, Gharachorloo K. Shared memory consistency models: a tutorial.IEEE Computer, pp. 66–76. December 1996.
    [5]
    Hu Weiwu, Shi Weisong, and Tang Zhimin A lock-based cache coherence protocol for scope consistency Journal of Computer Science and Technology 1998 13 2 97-109
    [6]
    Scheurich C, Dubois M. Correct memory operation of cached-based multiprocessors. InProceedings of the 14th Annual International Symposium on Computer Architecture, pp. 234–243, May 1987.
    [7]
    Gharachorloo K, Lenoski D, Laudon J, Gibbons P, Gupta A, Hennessy J. Memory consistency and event ordering in scalable shared-memory multiprocessors. InProceedings of the 17th Annual International Symposium on Computer Architecture, pp. 15–26, June 1990.
    [8]
    Goodman J. Cache consistency and sequential consistency.Technical Report No. 61, SCI Committee, March 1989.
    [9]
    Dubios M, Scheurich C, Briggs F. Memory access buffering in multiprocessors. InProceedings of the 13th International Symposium on Computer Architecture, pp. 434–442, June 1986.
    [10]
    Carter J B, Bennet J K, Zwaenepoel W. Implementation and performance of munin. InProc. of the 13th ACM Symp. on Operating Systems Principles (SOSP’91), pp. 152–164, October 1991.
    [11]
    Amza C, Dwarkadas S, Keleher P, Cox A, and Zwaenepoel W TreadMarks: Shared memory computing on networks of workstations IEEE Computer 1996 29 2 18-28
    [12]
    Iftode L, Singh J, Li K. Scope consistency: A bridge between release consistency and entry consistency. InProceedings of the 8th Annual ACM Symposium on Parallel Algorithms and Architectures, June 1996.
    [13]
    Bershad B N, Zekauskas M J, Sawdon W A. The midway distributed shared memory system. InProc. of the 38th IEEE Int’l Computer Conf. (COMPCON Spring’93), pp. 528–537, February 1993.
    [14]
    Shasha D and Snir M Efficient and correct execution of parallel programs that share memory ACM Transactions on Programming Languages and System 1988 10 2 282-312

    Cited By

    View all
    • (1998)A lock-based cache coherence protocol for scope consistencyJournal of Computer Science and Technology10.1007/BF0294659913:2(97-109)Online publication date: 1-Mar-1998

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Journal of Computer Science and Technology
    Journal of Computer Science and Technology  Volume 13, Issue 2
    Mar 1998
    96 pages

    Publisher

    Springer-Verlag

    Berlin, Heidelberg

    Publication History

    Published: 22 March 2023
    Revision received: 18 December 1997
    Received: 27 October 1997

    Author Tags

    1. Framework
    2. memory consistency models
    3. synchronization model
    4. correct program
    5. correct implementation

    Qualifiers

    • Research-article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 11 Aug 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (1998)A lock-based cache coherence protocol for scope consistencyJournal of Computer Science and Technology10.1007/BF0294659913:2(97-109)Online publication date: 1-Mar-1998

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media