The hit ratio of a Translation Look Aside Buffer (TLB) is 80%. It takes 20…
2013
The hit ratio of a Translation Look Aside Buffer (TLB) is 80%. It takes 20 nanoseconds to search TLB and 100 nanoseconds to access main memory. The effective memory access time is
- A.
36 ns
- B.
140 ns
- C.
122 ns
- D.
40 ns
Attempted by 63 students.
Show answer & explanation
Correct answer: B
Effective memory access time is calculated using the weighted average of hit and miss scenarios. On a hit (80%), access time is 20 ns + 100 ns = 120 ns. On a miss (20%), access time is 20 ns + 100 ns + 100 ns = 220 ns. The final calculation is (0.8 × 120) + (0.2 × 220), resulting in 140 ns.
A video solution is available for this question — log in and enroll to watch it.