Question 20Asked in UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)

In a paging system, it takes 30 ns to search translation Look-a-side buffer (TLB) and 90 ns to access the main memory. If the TLB hit ratio is 70%, the…

In a paging system, it takes 30 ns to search translation Look-a-side buffer (TLB) and 90 ns to access the main memory. If the TLB hit ratio is 70%, the effective memory access time is :
  1. A48ns
  2. B147ns
  3. C120ns
  4. D84ns
Show answerHide answer

Correct answer: (B) 147ns

Explanation

TLB hit ratio 70%, TLB search 30 ns, memory access 90 ns. On a hit, the page is found in the TLB (30 ns); on a miss, the TLB is searched and the page table read from memory (30 + 90 ns); then 90 ns to access the data. Total = (0.7 × 30) + (0.3 × (90 + 30)) + 90 = 21 + 36 + 90 = 147 ns

From UGC NET Computer Science PYQ, June 2017 (Paper II & III, Selected Questions)

This is question 20 of UGC NET Computer Science PYQ, June 2017 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.