Question
Assume that for a certain processor, a read request takes 50 nanoseconds on a cache miss and 5 nanoseconds on a cache hit. Suppose while running a program, it was observed that 80% of the processor's read requests result in a cache hit. The average read access time in nanoseconds is _____.
Official answer and solution
- Official answer
- 14
- From
- Official GATE 2015 answer key
Solution
Apply the Average Memory Access Time (AMAT) formula: .
Parameters given:
- Hit time
- Miss time
- Hit ratio
- Miss ratio
Compute the average access time:
14
Adding the hit time to the miss time when miss time is already specified as the total access latency on a miss.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 2
- Question
- 34 of 65, printed as CS Q.24
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.