A Cache memory in computer architecture is used by CPU to store the frequently used data, to make the computer system fast. It is also known as CPU memory. It is integrated inside the microprocessor, thus has less access time and is faster than the main memory (RAM). It is used to reduce the time to access the data from the RAM (random access memory). It is very high-speed semiconductor memory and stores the data for temporary usage.
Cache memory Level
Level-1 (L1 cache): It is embedded in the processor (CPU) and is extremely fast but small in size. The storage capacity varies from 8Km to 128kb.
Level-2 (L2 cache): It is slower than the l2 cache and is bigger in the amount of size (64KB – 16MB).
Level-3 (L3 cache): It is the slowest cache memory. It is built into the motherboard between the RAM (DRAM) and the L1 and L2 cache. It is used to hold frequent instructions processed or used by the multiple core.