- 2067 Asar (old course) · 8 marks
Configurations of DMA
Short answer
Three configurations: detached DMA on a single bus (two bus uses per transfer), integrated DMA in I/O modules (one bus use), and a separate I/O bus (one system bus use). The detached is simplest but least efficient; integrated and I/O bus offer higher efficiency and lower bus traffic.
Mention the three possible configurations of DMA and compare them.
Three common ways of arranging the DMA controller in a system are:
1. Single bus, detached DMA controller
CPU DMA I/O I/O Memory
| | | | |
====================================== system bus
All modules share one bus, and the DMA controller acts as a substitute CPU for I/O. A transfer from a device to memory uses the bus twice: device to DMA controller, then DMA controller to memory.
2. Single bus, integrated DMA-I/O
CPU DMA+I/O DMA+I/O Memory
| | | |
====================================== system bus
The DMA logic is part of one or more I/O modules (or the DMA controller controls several I/O modules through an I/O bus). A transfer needs the system bus once.
3. I/O bus
CPU DMA Memory
| | |
==================================== system bus
|
========================= I/O bus
| | |
I/O I/O I/O
The I/O modules are connected to the DMA controller by a separate I/O bus. The system bus is used once per transfer, and the number of interfaces on the DMA controller is reduced to one.
Comparison
| Point | Detached | Integrated | I/O bus |
|---|---|---|---|
| System bus uses per word | Two | One | One |
| Cost | Low, simple | Higher, DMA in each module | Moderate |
| Efficiency | Lowest | Highest | High |
| Flexibility | Easy to add devices | Less flexible | Easy to add I/O modules |
| Bus traffic | Highest | Low | Low (I/O traffic on separate bus) |
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Programmed vs interrupt-driven vs DMA · Computer Organization and Architecture, chapter 7 · asked 5×
- Compare status check I/O, interrupt I/O and DMA · Instrumentation II, chapter 1
- Principle and configurations of grounding · Instrumentation II, chapter 6
- Fibre configurations and single mode advantages · Propagation and Antenna, chapter 6
- Compare Gouraud and Phong shading · Computer Graphics, chapter 8 · asked 7×
All Computer Organization and Architecture chapter 7 questions →