Cache Memory Principles and Mapping Functions
Main memory holds millions of blocks while a cache holds only thousands — mapping functions decide which cache slot each memory block is allowed to call home.
What this unit covers
Unit 6: Cache Memory and Virtual Memory
- 1 Cache Memory Principles and Mapping FunctionsMain memory holds millions of blocks while a cache holds only thousands — mapping functions decide which cache slot each memory block is allowed to call home. · 15 min
- 2 Replacement Algorithms, Write Policies, Multilevel Caches and Compiler SupportComparing LRU, FIFO, and LFU replacement, write-through vs write-back policies, multilevel caches, and loop tiling. · 14 min
- 3 Virtual Memory, Paging and Translation Lookaside BuffersPaging, page tables, the TLB, and segmentation give every running process its own private address space. · 14 min