Question: 2. Suppose you have a word-addressable cached memory system with the following parameters Hit ratio-h Main memory cycle time-tm Main memory to cache connection-cwords Fraction

2. Suppose you have a word-addressable cached memory system with the following parameters Hit ratio-h Main memory cycle time-tm Main memory to cache connection-cwords Fraction of Write accesses-W No read through policy Write through policy for write hits No-write allocate for write misses Upon a read miss, a block is read from memory to cache and the word is accessed from the cache by the CPU Block size- B words Cache cycle time te The average memory access time, Zavg, can be expressed as follows: Tavg h [Total ReadHitTime+Total WriteHitTime ] + (1 - h) [Total ReadMissPenaltyTotal WriteMissPenalty] Give general expressions for each of the quantities in square brackets (a) Total ReadHitTime (b) Total WriteHitTime (c) Total ReadMissPenalty (d) Total WriteMissPenalty
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
