GATE - 2014 | OS | Consider a paging hardware with a TLB. Assume that the entire page table

GATE - 2014 | OS | Consider a paging hardware with a TLB. Assume that the entire page table
Posted on 12-02-2022

GATE - 2014 [Operating System]

Question:

Consider a paging hardware with a TLB. Assume that the entire page table and all the pages are in the physical memory. It takes 10 milliseconds to search the TLB and 80 milliseconds to access the physical memory. If the TLB hit ratio is 0.6, the effective memory access time (in milliseconds) is  _________.

A

122

B

123

C

124

D

125

   

Solution:

Option (A) is Correct.

Tavg = TLB access time + miss ratio of TLB × memory access time + memory access time
= 10 + 0.4 × 80 + 80
= 10 + 32 + 80
= 122 ms

Thank You