Polling: the CPU repeatedly checks a device's status; simple, but wastes CPU time.
Interrupt-driven I/O: the device signals the CPU when it is ready, so the CPU can do other work; there is still per-byte CPU involvement for data transfer.
DMA (direct memory access): a DMA controller moves data between a device and memory without the CPU, which is only interrupted when the whole transfer completes; best for large transfers such as disks and network cards.
Loading…