Explain the difference between Polling and Interrupt-driven I/O. In what scenario would Polling actually be more efficient?

Last updated 5 July 2026

  • Polling has the CPU repeatedly check a device status register (busy-waiting). Interrupt-driven I/O lets the device signal the CPU only when it needs attention.

  • Interrupts free the CPU for slow or bursty devices, but each one costs a context switch and handler dispatch.

  • Polling wins for very high-rate, almost-always-ready devices (fast NICs, NVMe) where interrupt overhead dominates. Linux NAPI switches from interrupts to polling under heavy load.

  • https://www.reddit.com/r/cscareeradvice/new/
  • https://www.reddit.com/r/macbook/comments/1jg7fl6/24gb_ram_enough_for_software_engineering/
  • https://www.reddit.com/r/infosys/comments/1t71add/anyone_received_round_2_mails/
  • https://www.reddit.com/r/cscareeradvice/best/
  • https://www.reddit.com/r/LeetcodeChallenge/
  • https://www.reddit.com/r/infosys/comments/1t71i55/infosys_specialist_programmer_april_26_1st_round/
  • https://www.reddit.com/r/programming/comments/1hqo19u/static_search_trees_40x_faster_than_binary_search/
  • https://medium.com/@avinashkumar808482/operating-system-interview-questions-2026-0db6b4674980
  • https://lmskkhsou.in/eservices/e-Resources/Resources/NEP%20Syllabus%202024/core/BCA_Syllabus.pdf
All Operating Systems interview questions