Presentation is loading. Please wait.

Presentation is loading. Please wait.

Caching III Andreas Klappenecker CPSC321 Computer Architecture.

Similar presentations


Presentation on theme: "Caching III Andreas Klappenecker CPSC321 Computer Architecture."— Presentation transcript:

1 Caching III Andreas Klappenecker CPSC321 Computer Architecture

2

3

4

5

6

7 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

8 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

9 Cache Types

10

11

12

13

14

15


Download ppt "Caching III Andreas Klappenecker CPSC321 Computer Architecture."

Similar presentations


Ads by Google