15-213/18-243 Introduction to Computer Systems
Lecture 23: Program Optimization III: Cache Memories

  • Reading: Ch 6.2-6.8;
  • Slides:
  • Code: none
  • Concepts:
    • Memory hierarchy and caching
    • Temporal and spatial locality
    • Cache hit and miss
    • Types of cache misses
    • Cache organization
    • Associativity
    • Program optimization for cache
  • Previous lecture: Synchronization
  • Next lecture: Multi-Core Architectures