Software Engineering KB

Home

❯

02 Programming Languages and Paradigms

❯

03 Memory Models

❯

01 Concept

❯

Cache Hierarchy

Cache Hierarchy

Feb 10, 20261 min read

  • memory-models
  • memory-layout
  • cache

Cache Hierarchy

← Back to Memory Layout

Multiple levels of progressively larger and slower caches (L1, L2, L3) between the CPU and main memory. Understanding cache lines, spatial locality (nearby accesses), and temporal locality (repeated accesses) is essential for writing high-performance code.

Key Properties

  • L1-L2-L3 Caches
  • Cache Lines
  • Spatial and Temporal Locality

Related

  • Impacts Performance Engineering

memory-models memory-layout cache


Graph View

  • Cache Hierarchy
  • Key Properties
  • Related

Backlinks

  • Memory Layout
  • Cache Lines
  • L1-L2-L3 Caches
  • Spatial and Temporal Locality

Created with Quartz v4.5.2 © 2026

  • GitHub