Cache
Cache
AGENDA
Simple overview on cache
Types of cache
Usage of cache
CPU cache
Disk cache
Other caches
Write Policy
Block Size
Number of Caches
SIZE DOES MATTER
Cost
More cache is expensive
Speed
More cache is faster (up to a point)
Checking cache for data takes time
TYPICAL CACHE ORGANIZATION
Bus
Client Cache Storage
Client
Cache Storage
READ CACHE HIT
When the cache client needs to access a datum , it first checks
the cache. If an entry can be found with a tag matching that
of the desired datum, the datum in the entry is used instead.
This situation is known as a cache hit