Join 60,000+ competitive exam aspirants
DMA is used between_____.
Microprocessor and I/O
Microprocessor and memory
Memory and I/O
None
Memory and I/O
Direct Memory Access (DMA) is a feature that allows peripheral devices (I/O) to transfer data directly to or from the system memory (RAM) without involving the CPU. This mechanism bypasses the microprocessor for data movement, significantly reducing the CPU load during high-speed I/O operations.
Direct Memory Access (DMA) is a feature that allows peripheral devices (I/O) to transfer data directly to or from the system memory (RAM) without involving the CPU. This mechanism bypasses the microprocessor for data movement, significantly reducing the CPU load during high-speed I/O operations.
TtransferтАЛ=N├ЧTcycleтАЛ тАФ where TtransferтАЛ is the total time for data transfer, N is the number of data words, and TcycleтАЛ is the time taken per bus cycle.
When a DMA-enabled device needs to transfer data, it sends a 'Hold Request' (HLDA) to the CPU. The CPU completes its current bus cycle and grants control of the system bus to the DMA controller (DMAC). The DMAC then manages the data transfer directly between the memory address space and the I/O port, acting as a temporary bus master.
DMA improves system throughput for high-speed devices like disk drives and network adapters.
The CPU remains idle or performs other tasks while the DMA controller manages the data bus.
A 'Bus Request' and 'Bus Grant' handshake is mandatory for DMA operation.
Increased system efficiency by offloading I/O tasks from the CPU.
Higher data transfer rates compared to Programmed I/O or Interrupt-driven I/O.
Increases hardware complexity by requiring a dedicated DMA controller.
Causes 'cycle stealing' where the CPU may be forced to wait if it needs the bus while the DMA is active.
Hard disk drives (HDD) and Solid State Drives (SSD) data transfers.
Graphics processing (GPU) memory access.
High-speed network cards (NIC).
Option A is incorrect because while the I/O communicates with the CPU in programmed I/O, DMA specifically targets the path between I/O and Memory.
Option B is incorrect as the CPU-to-Memory path is the primary bus operation, not the definition of DMA.
C is correct тАФ DMA is a specialized mechanism that facilitates direct data exchange between Memory and I/O devices, bypassing the CPU to enhance efficiency.
Always remember that DMA 'steals' bus cycles; look for keywords like 'bus master' or 'bus arbitration' in related exam questions.