A primer on memory consistency and cache coherence

被引:55
|
作者
Sorin D.J. [1 ]
Hill M.D. [2 ]
Wood D.A. [2 ]
机构
[1] Department of Electrical and Computer Engineering, Duke University
[2] Department of Computer Sciences and Electrical, University of Wisconsin, Madison
来源
Synthesis Lectures on Computer Architecture | 2011年 / 16卷
关键词
cache coherence; computer architecture; memory consistency; memory systems; multicore processor; multiprocessor; shared memory;
D O I
10.2200/S00346ED1V01Y201104CAC016
中图分类号
学科分类号
摘要
Many modern computer systems and most multicore chips (chip multiprocessors) support shared memory in hardware. In a shared memory system, each of the processor cores may read and write to a single shared address space. For a shared memory machine, the memory consistency model defines the architecturally visible behavior of its memory system. Consistency definitions provide rules about loads and stores (or memory reads and writes) and how they act upon memory. As part of supporting a memory consistency model, many machines also provide cache coherence protocols that ensure that multiple cached copies of data are kept up-to-date. The goal of this primer is to provide readers with a basic understanding of consistency and coherence. This understanding includes both the issues that must be solved as well as a variety of solutions. We present both highlevel concepts as well as specific, concrete examples from real-world systems. Copyright © 2010 by Morgan & Claypool.
引用
收藏
页码:1 / 212
页数:211
相关论文
共 50 条
  • [1] A Primer on Memory Consistency and Cache Coherence, Second Edition
    Nagarajan V.
    Sorin D.J.
    Hill M.D.
    Wood D.A.
    1600, Morgan and Claypool Publishers (15): : 1 - 294
  • [2] A Dual-Consistency Cache Coherence Protocol
    Ros, Alberto
    Jimborean, Alexandra
    2015 IEEE 29TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2015, : 1119 - 1128
  • [3] Transactional memory coherence and consistency
    Hammond, L
    Wong, V
    Chen, M
    Carlstrom, BD
    Davis, JD
    Hertzberg, B
    Prabhu, MK
    Wijaya, H
    Kozyrakis, C
    Olukotun, K
    31ST ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, PROCEEDINGS, 2004, : 102 - 113
  • [4] Location consistency - A new memory model and cache consistency protocol
    Gao, GR
    Sarkar, V
    IEEE TRANSACTIONS ON COMPUTERS, 2000, 49 (08) : 798 - 813
  • [5] Model checking data consistency for cache coherence protocols
    Pan, Hong
    Lin, Hui-Min
    Lv, Yi
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2006, 21 (05) : 765 - 775
  • [6] Cache coherence in intelligent memory system
    Keen, D
    Oskin, M
    Hensley, J
    Chong, FT
    IEEE TRANSACTIONS ON COMPUTERS, 2003, 52 (07) : 960 - 966
  • [7] Model Checking Data Consistency for Cache Coherence Protocols
    Hong Pan
    Hui-Min Lin
    Yi Lv
    Journal of Computer Science and Technology, 2006, 21 : 765 - 775
  • [8] The complexity of verifying memory coherence and consistency
    Cantin, JF
    Lipasti, MH
    Smith, JE
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2005, 16 (07) : 663 - 671
  • [9] A lock-based cache coherence protocol for scope consistency
    Weiwu Hu
    Weisong Shi
    Zhimin Tang
    Ming Li
    Journal of Computer Science and Technology, 1998, 13 (2) : 97 - 109
  • [10] A Lock-Based Cache Coherence Protocol for Scope Consistency
    胡伟武
    water.chpc.ict.ac.cn
    施巍松
    唐志敏
    李明
    Journal of Computer Science and Technology, 1998, (02) : 97 - 109