Saturday 16 March 2013

Cache Memory

   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? 
  1. CPU requests contents of the data, from specific memory locations.
  2. Then, checking the data in the cache.
  3. If the data is exist, directly taken from the cache (fast).
  4. If there is no data, read one block of data from main memory to cache.
  5. then, the data is retrieved from the cache to the CPU.

No comments:

Post a Comment