DeepRead
Cover of A primer on memory consistency and cache coherence

A primer on memory consistency and cache coherence

Daniel J. Sorin · 2011

Programming and computer science › Electronics and computer architecture

#5,353 most recommended

About the book

The book covers shared-memory multiprocessors, in which multiple cores read and write one address space through their caches. It focuses on two hardware-level contracts: the memory consistency model, which defines the order in which loads and stores may appear to take effect, and cache coherence, which keeps multiple cached copies of a location up to date. It is a conceptual primer that uses concrete examples from real systems. The book's central point is that consistency and coherence are distinct but related. Coherence concerns the behavior of a single memory location, while consistency specifies ordering across locations and is the contract that programmers and compilers depend on. It presents coherence protocols as solutions to a shared set of problems, and it treats relaxed consistency models as design choices that trade simpler reasoning for performance. Correctness is framed in terms of precisely stated invariants and orderings, which are the basis for reasoning about both designs and their verification.

Written by Claude from what it knows of this book.

What Hacker News says 86% recommend · 0% critical

012201920202022202420262019 peak · 2
This bookAverage book in Electronics and computer architecture

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 1 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

Details

First published
2011
ISBN
9781608455645
Editions known
12 at Open Library
Open Library
OL16934366W

Cache memoryDistributed shared memoryMemory management (Computer science)Memory management (computer science)

Explore in the mosaic

Read next: its neighbours on the mosaic