CS FundamentalsHardGATE CS

Which is a valid reason for a device driver to use polling instead of interrupts?

  1. A. At very high event rates (e.g. a busy 100 Gb network card), interrupt overhead would dominate, so batching by polling (as in NAPI) is cheaper
  2. B. Polling uses no CPU time at all
  3. C. Interrupts cannot be used by device drivers
  4. D. Polling reduces latency for rare events

Correct answer: A. At very high event rates (e.g. a busy 100 Gb network card), interrupt overhead would dominate, so batching by polling (as in NAPI) is cheaper

Interrupt costs scale with event count. Under heavy load, switching to polling mode amortises overhead; under light load interrupts avoid wasted polls.

More Operating Systems questions

Exams that ask this topic