Skip to main content

I/O and Storage

I/O Systems

0:00
LearnStep 1/2

I/O Systems

I/O Systems

I/O Hardware

  • Device Controller: Hardware interface to device
  • Device Driver: Software interface to OS
  • Port: Connection point (USB, SATA)
  • Bus: Communication pathway (PCI, PCIe)

I/O Techniques

1. Programmed I/O (Polling)

2. Interrupt-Driven I/O

3. DMA (Direct Memory Access)

Comparison

MethodCPU UsageBest For
PollingHigh (busy-wait)Fast devices
InterruptMediumSlow devices
DMALowBulk transfers