GATE / CS ARCHIVE

GATE CSE 2024 SET 2 / QUESTION 11

Convert DMA stolen cycles to bit rate

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 2024 Set 2 paper

GATE 2024 Set 2, Q11 1 mark · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 11, GATE 2024: A 4 MHz processor gives 1% of its cycles to a cycle-stealing DMA controller. Each stolen cycle transfers 8 bytes to memory. Find the rate in bits/s. A 256000; B 3200; C 2560000; D 32000.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Approach: Keep the units in each multiplication: cycles/second × stolen fraction × bytes/cycle × bits/byte.

1. Derivation. DMA receives 0.01×4×10⁶=40000 processor cycles per second. Each transfers 8 bytes=64 bits, so the rate is 40000×64=2560000 bits/s, option C. The percentage applies to cycles, and the requested unit is bits rather than bytes.

2. Explanation and checks. One MHz means one million cycles per second, so the available total is 4000000 cycles/s. One percent is 0.01, not 0.1. The DMA transfers 320000 bytes/s; multiplying this intermediate result by eight gives the requested 2560000 bits/s. No additional device or memory bottleneck is specified, so the stipulated eight-byte-per-cycle transfer is used directly rather than introducing an extra latency.

Original paper, page 9 · Answer key