+ All Categories
Home > Documents > Caching III Andreas Klappenecker CPSC321 Computer Architecture.

Caching III Andreas Klappenecker CPSC321 Computer Architecture.

Date post: 21-Dec-2015
Category:
View: 221 times
Download: 1 times
Share this document with a friend
Popular Tags:
15
Caching III Andreas Klappenecker CPSC321 Computer Architecture
Transcript

Caching III

Andreas KlappeneckerCPSC321 Computer

Architecture

Cache Block Mapping Direct mapped cache

a block goes in exactly one place in the cache

Fully associative a block can go anywhere in the cache difficult to find a block parallel comparison to speed-up

search

Cache Block Mapping Set associative

Each block maps to a unique set, and the block can be placed into any element of that set

Position is given by (Block number) modulo (# of sets in cache) If the sets contain n elements, then the

cache is called n-way set associative

Cache Types


Recommended