361 Computer Architecture Lecture 14: Cache Memory

[Pages:20]361 Computer Architecture Lecture 14: Cache Memory

cache.1

The Motivation for Caches

Memory System

Processor

Cache

DRAM

? Motivation: ? Large memories (DRAM) are slow ? Small memories (SRAM) are fast

? Make the average access time small by: ? Servicing most accesses from a small, fast memory.

? Reduce the bandwidth required of the large memory

cache.2

1

Outline of Today's Lecture

? Recap of Memory Hierarchy & Introduction to Cache ? A In-depth Look at the Operation of Cache ? Cache Write and Replacement Policy ? Summary

cache.3

An Expanded View of the Memory System

Processor Control

Datapath

cache.4

Speed: Fastest Size: Smallest Cost: Highest

Memory Memory

Memory

Memory

Memory

Slowest Biggest Lowest

2

Levels of the Memory Hierarchy

Capacity Access Time Cost

CPU Registers 100s Bytes ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download