Improving memory with caches CPU On-chip cache Off-chip cache DRAM memory Disk memory CSE 141 - Cache The five components Computer Memory Datapath Control Output Input CSE…