Step 1: Understanding programmed I/O.
In programmed data transfer, the CPU is actively involved in every data transfer between the I/O device and memory. This keeps the CPU busy and prevents it from performing other useful tasks.
Step 2: Understanding DMA (Direct Memory Access).
In DMA mode, a dedicated DMA controller transfers data directly between the I/O device and the main memory without continuous CPU intervention. The CPU is only involved at the start and end of the transfer.
Step 3: Analyzing the advantage of DMA.
Since the CPU is free while the DMA controller handles data transfer, the CPU can execute other processes concurrently. This leads to better overall utilization of system resources.
Step 4: Final conclusion.
Thus, DMA improves overall system performance by allowing parallel execution of CPU tasks and I/O operations, thereby increasing concurrency.