Stf CS149 Parallel Programming - Lecture11 - Cache coherence

Lecture 11: Cache coherence

Cache takes large amount of area in the chip

Cache bring performance boosting.

Two locality of data access pattern so that cache can help with performance.

  1. Spatial locality
  2. Temporal locality

Cache and cacheline in cpu. Usually a single cacheline contains multiple cache bytes(64bytes which can store 8 int for example ).




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Learning-based memory allocation for C++ server workloads summary
  • my question:
  • Binary search algorithm variant
  • Docker Rocksdb build
  • Difference between Dockerfile and Docker Compose