Operating Systems · Question 28 · Hard

Operating Systems question 28

Memory access time is 200 ns, and servicing a page fault takes 8 ms. If 1 in every 1,000 memory accesses causes a page fault, what is the effective memory access time, approximately?

  1. 200 ns
  2. 1 microsecond
  3. 8.2 microseconds
  4. 80 microseconds
Answer and explanation

Answer: C. 8.2 microseconds

Explanation: EAT = (1 - p) × 200 ns + p × 8 ms = 0.999 × 200 + 0.001 × 8,000,000 ns = 199.8 + 8,000 ≈ 8,200 ns, about 8.2 microseconds. Even a rare page fault slows memory down roughly 40 times.

Previous: A system has three resource types. Available = (1, 2, 2). Process | Allocation… · Next: Three processes share identical units of one resource, and each process may…

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