Analyze the relation between the locality reference concept and the cache memory.


Clarify the basic operation of the cache memory.

  1. When CPU needs to access memory, cache memory check if the cache contains this word or not.
  2. The main memory is accessed to read the word.
  3. A block of words containing the one just accessed is then transferred from the main memory to the cache memory
  4. Data related to this word is transferred such that the next reference to memory find its needs

Assignment 14

Compute the hit ratio for the Cache memory if the CPU hits it 4420 times and miss it 80 times during a total of 4500 reference to the main memory. If the time per hit is ≃ 100ns, time per miss is ≃ 300ns. Compute the effective access time of the cache memory.

Solution

Untitled