1 / 15

Caching III

Caching III. Andreas Klappenecker CPSC321 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.

lloydr
Télécharger la présentation

Caching III

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Caching III Andreas Klappenecker CPSC321 Computer Architecture

  2. 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

  3. 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

  4. Cache Types

More Related