CS FundamentalsModerateGATE CS · Amazon/Microsoft SDE MCQ

A device raises 10,000 interrupts per second, and each interrupt costs 50 µs of CPU time to enter, service and return. What fraction of the CPU does interrupt handling take?

  1. A. 5%
  2. B. 0.5%
  3. C. 20%
  4. D. 50%

Correct answer: D. 50%

10,000 × 50 µs = 0.5 s of CPU per second, i.e. 50%. At such rates polling, interrupt coalescing or DMA with larger blocks is preferred.

More Operating Systems questions

Exams that ask this topic