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

Answer: B. 140 nsEffective 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…

  1. A.

    36 ns

  2. B.

    140 ns

  3. C.

    122 ns

  4. D.

    40 ns

Attempted by 154 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.

Explore the full course: Mppsc Assistant Professor Computer Science Paper 2

Loading lesson…