spelling |
oapen-20.500.12657-612482024-03-27T14:14:27Z A Primer on Memory Consistency and Cache Coherence, Second Edition Nagarajan, Vijay Sorin, Daniel J. Hill, Mark D. Wood, David A. Open Access thema EDItEUR::T Technology, Engineering, Agriculture, Industrial processes::TJ Electronics and communications engineering::TJF Electronics engineering::TJFC Electronics: circuits and components thema EDItEUR::U Computing and Information Technology::UY Computer science::UYF Computer architecture and logic design Many modern computer systems, including homogeneous and heterogeneous architectures, 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 high-level concepts as well as specific, concrete examples from real-world systems. This second edition reflects a decade of advancements since the first edition and includes, among other more modest changes, two new chapters: one on consistency and coherence for non-CPU accelerators (with a focus on GPUs) and one that points to formal work and tools on consistency and coherence. This is an open access book. This is an open access book. 2023-02-13T17:26:12Z 2023-02-13T17:26:12Z 2020 book ONIX_20230213_9783031017643_7 9783031017643 https://library.oapen.org/handle/20.500.12657/61248 eng Synthesis Lectures on Computer Architecture application/pdf n/a 978-3-031-01764-3.pdf https://link.springer.com/978-3-031-01764-3 Springer Nature Springer International Publishing 10.1007/978-3-031-01764-3 10.1007/978-3-031-01764-3 6c6992af-b843-4f46-859c-f6e9998e40d5 9783031017643 Springer International Publishing 276 Cham open access
|
description |
Many modern computer systems, including homogeneous and heterogeneous architectures, 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 high-level concepts as well as specific, concrete examples from real-world systems. This second edition reflects a decade of advancements since the first edition and includes, among other more modest changes, two new chapters: one on consistency and coherence for non-CPU accelerators (with a focus on GPUs) and one that points to formal work and tools on consistency and coherence. This is an open access book. This is an open access book.
|