Write down the following explanation about cache memory in brief in own words. Cache memory is high
Question:
Write down the following explanation about cache memory in brief in own words.
Cache memory is high speed, expensive piece of memory as a result of which it comes with CPU in relatively small size as compared to RAM (main memory). It is placed between the CPU and the main memory.
The data or contents of the main memory that are used frequently by CPU are stored in the cache memory so that the processor can easily access that data in a shorter time.
Whenever the CPU needs to access memory, it first checks the cache memory. If the data is not found in cache memory, then the CPU moves into the main memory.
Without cache memory, every time the CPU requests for data, it would send the request to the main memory which would then be sent back across the system bus to the CPU. This is a slow process.
The idea of introducing cache is that this extremely fast memory would store data that is frequently accessed
Computer Architecture Fundamentals And Principles Of Computer Design
ISBN: 9781032097336
2nd Edition
Authors: Joseph D. Dumas II