The term “Cache” is derived from French, that means ” hidden “.

In Computers a Cache Memory is a high-speed memory and small in size, not visible to the software, that is totally controlled by the hardware. It placed between main memory and CPU to compensate the speed difference between main memory and processor.

The Function of the Cache Memory is to speed up the performance and in multiprocessor to reduce the system bus.

Cache Memory makes use of the fast technology SRAM( static random access ram ) against slower DRAM( dynamic random access ram ), connected directly to the processor.

Cache Memory Levels

Cache Memory is fast and expensive. There are three types of level of cache memory.
Level 1(L1) Cache is extremely fast but relatively small, and is usually embedded in CPU.

Level 2(L2) Cache is often more powerful than L1. It may be located on CPU or on a separate chip or coprocessor with a high speed alternative system bus interconnecting the cache to the CPU.

Level 3(L3) Cache is typically specialized memory that works to improve the performance of L1 and L2. It can be significantly slower than L1 or L2, but is usually double the speed of RAM.

(adsbygoogle = window.adsbygoogle || []).push({});

Minor Cache Configuration

Caching configurations continue to evolve, but memory cache traditionally works under three different configurations.
  1. Direct Mapping, in which each block is mapped to exactly one cache location. 
  2. Fully Associative Mapping is similar to direct mapping in structure, but allows a block to be mapped to any cache location. 
  3. Set Associative Mapping can be viewed as a compromise between Direct Mapping and Fully Associative Mapping in which each block is mapped to a subset os cache location