Beruflich Dokumente
Kultur Dokumente
Cache Memory
Introduction
In a computer system the program which is to be executed is loaded in the
main memory. Processor then fetches the code and data from the main
memory to execute the program. The DRAMs which from the main memory
are slower devices. So it is necessary to insert wait states in memory read /
write cycles. This reduces the speed of execution. To speed up the process,
high speed memories such as SRAMs. In the memory system small sections of
SRAM is added along with main memory, is referred to as cache memory. It is
the fastest memory in a computer, and is typically integrated onto the
motherboard and directly embedded in the processor or main random access
memory (RAM).Most CPUs have different independent caches, including
instruction and data.
Definition
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.
Types of Cache
the process gets stored to the RAM memory; the CPU executes the program
from the RAM through a memory controller circuit which is found on the
INTEL processors chipset or in the CPU of AMD processors. The processor,
along with the operating system and chipset, calculates on the data and
instructions that it wants to access in the coming future. The data and the
instructions are set in the cached memory for a quick access/retrieval for the
processor.
The best example for the cache memory would be Word document.
Whenever there is power failure, the unsaved data gets stored on the cached
memory, at the time of the power restore, the user gets option of viewing the
different versions to the data, including the unsaved data for retrieval.