GATE / CS ARCHIVE

GATE CSE 2022 / QUESTION 17

GATE CSE 2022 Q17

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 2022 paper

GATE 2022, Q17 1 mark · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 17, GATE 2022: Which method gives the highest bulk hard-disk-to-main-memory throughput among A DMA; B interrupt-driven I/O; C polling; D programmed I/O?
Tap to enlarge
Your answer
Answer & solution

Official answer: A

DMA transfers a block directly between the device and memory after CPU setup, avoiding a CPU instruction sequence or interrupt per transferred word. For a large transfer it therefore provides the highest throughput among the offered programmed/interrupt-driven methods, A, under the ordinary comparable-hardware model.

With programmed or polling transfer, the CPU repeatedly tests status and moves data. Interrupt-driven transfer avoids continuous polling but still involves servicing the device. DMA amortizes CPU setup over a block and lets its controller perform the memory transfers, which is the relevant advantage for bulk throughput.

Original paper, page 14 · Answer key