Principal of Locality
Temporal
Spatial
Temporal Locality
Spatial
SRAMS
integrated circuits that are memory arrays
DRAMS
Data stored as a charge in a capacitor
DRAM Perfomance factors
Flash storage
novolatile semicondoctor storage… smaller, lower power, more robust
Flash types
NOR flash
NAND flash
Disk storage
nonvolatile, rotating magnetic storage
Disk performance issues
cache memory
the level of the memory hierarchy closest to the CPU
due to spatial locality
larger blocks should reduce miss rate
Fixed-sized cache
larger blocks -> fewer of them, more competition -> increased miss rate
What happens on cache miss