Explain the difference between Polling, Interrupt-driven I/O, and Direct Memory Access (DMA).

Last updated 5 July 2026

  • Polling: the CPU repeatedly checks a device status register until it is ready. Simple, but wastes cycles busy-waiting.

  • Interrupt-driven I/O: the CPU issues a request and moves on, and the device raises an interrupt when done. No busy-waiting, but the CPU still copies each byte, so overhead is high for large transfers.

  • DMA (Direct Memory Access): a DMA controller moves a whole block between device and memory. The CPU only sets it up and gets one interrupt at completion, ideal for disk and network.

  • https://www.geeksforgeeks.org/computer-organization-architecture/i-o-program-controlled-transfer-vs-dma-transfer/
  • https://www.geeksforgeeks.org/category/computer-subject/computer-organization-architecture/page/14/
  • https://medium.com/@teja.ravi474/direct-memory-access-dma-vs-programmed-i-o-understanding-data-transfer-mechanisms-4270bfa31056
  • https://vlsitrainers.com/programmed-io-interrupt-driven-io-dma/
  • https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/13_IOSystems.html
  • https://techielearn.com/tutorials/operating_system/T466/A3131
  • https://bits.school/learn/computer-science-stack/architecture-and-memory/devices-interrupts-and-dma
  • https://www.scribd.com/document/982213664/Interrupt-vs-Polling-vs-DMA-in-Operating-Systems
All Operating Systems interview questions