You are on page 1of 10

COMPUTER

ORGANISATION

CACHE MEMORY
 Introduction
 Definition
 Working
 Organization
 Application

Mapping Techniques
 Direct Mapping
 Associative Mapping
 Set- Associative Mapping
What is a Cache memory?
Cache memory is a small-sized type of volatile computer memory that
provides high-speed data access to a processor and stores frequently used
computer programs, applications and data.

 When the processor needs to read or write a location in main memory, it first
checks for a corresponding entry in the cache.
 If the processor finds that the memory location is in the cache, a cache hit has
occurred and data is read from cache
 If the processor does not find the memory location in the cache, a cache miss has
occurred. For a cache miss, the cache allocates a new entry and copies in data from
main memory, then the request is fulfilled from the contents of the cache.
Direct Mapping
 Associative Mapping
 Set – Associative Mapping
 Advantages of Cache Memory
 It is faster than the main memory.
 The access time is quite less in comparison to the main memory.
 The speed of accessing data increases hence, the CPU works faster.
 Moreover, the performance of the CPU also becomes better.
 The recent data stores in the cache and therefore, the outputs are faster.

 Disadvantages of Cache Memory


 The disadvantages are as follows:
 It is quite expensive.
 The storage capacity is limited.
Thank You!

You might also like