Multilevel Caches

Creator
Created
Created
2019 Nov 5 5:17
Editor
Edited
Edited
2024 May 31 5:21
Refs
Refs
  • Local miss rate = misses in cache / access cache
  • Global miss rate = misses in cache / CPU memory accesses
 
  1. L1 Instruction Cache
    1. has large block size
      to increase spatial locality
  1. L1 Data Cache
    1. this split structure enable independent access
      parallel multi-ported register file (part of CPU)
  1. Unified L2 Cache
    1. let L1 smaller and write-through L1, write back L2
All caches are on chip SRAM and memory is off-chip DRAM
 
 
 

Inclusive multilevel cache

Exclusive multilevel caches

level 1 data is in level 2
level 1 data is not in level 2
 
Inclusive is usual but exclusive used as below
swap lines between inner/outer caches on miss
 
 
 
 
 

Recommendations