Consider a computer with a processor. Its controller can transfer 8 bytes in 1 cycle from a device to main memory through cycle stealing at regular intervals. Which one of the following is the data transfer rate (in bits per second) of the controller if of the processor cycles are used for ?
GATE CSE 2024CO & Architecture › I/O Handling, Interrupts & DMAVerified
GATE CSE 2024 PYQ: Consider a computer with a 4 M H z 4 \mathrm{MHz} 4 MHz processor. Its DMA \text{DMA} DMA controller can…
- A2,56,000
- B3,200
- C25,60,000Correct answer
- D32,000
Answer
(C) 25 , 60 , 000 25,60,000 25 , 60 , 000
Approach
The DMA controller steals 1% of the processor's clock cycles, and each stolen cycle moves 8 bytes. Compute the number of cycles stolen per second from the 4 MHz clock, multiply by 8 bytes per cycle to get bytes per second, then convert to bits per second.
The DMA steals 1% of 4 MHz cycles, i.e., 40,000 cycles/s. Each cycle transfers 8 bytes, giving 320,000 bytes/s. Converting to bits per second yields 2,560,000 bits/s, which is option C.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.