Operating Systems · Question 14 · Hard

Operating Systems question 14

A TLB lookup takes 20 ns and a main-memory access takes 100 ns. On a TLB miss, one extra memory access is needed to read the page table. If the TLB hit ratio is 80%, what is the effective memory access time?

  1. 140 ns
  2. 120 ns
  3. 160 ns
  4. 136 ns
Answer and explanation

Answer: A. 140 ns

Explanation: A hit costs 20 + 100 = 120 ns and a miss costs 20 + 100 + 100 = 220 ns. EAT = 0.8 × 120 + 0.2 × 220 = 96 + 44 = 140 ns.

Previous: A system has 3 page frames, all initially empty. For the page reference string… · Next: Two processes enforce mutual exclusion using only a shared variable turn…

Practise operating systems

Try a fresh set of operating systems questions with an explanation after every answer, free and without signing up: Operating Systems practice. Or sit a full placement mock test.

More operating systems questions

More technical & programming practice

Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge