Cache memory is random access memory that a computer
microprocessor can access more quickly than it can access regular RAM.
Property:
- Fast memory with a little capacity.
- It could be placed in a separate CPU chip or module.
- Located between the main memory to the CPU.
- If it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory.
How Cache memory works?
- CPU requests contents of the data, from specific memory locations.
- Then, checking the data in the cache.
- If the data is exist, directly taken from the cache (fast).
- If there is no data, read one block of data from main memory to cache.
- then, the data is retrieved from the cache to the CPU.
No comments:
Post a Comment