A dma controller transfers 11-bit word to memory using cycle stealing. The words are assembled from a device that trasmits character at the rate of 2400 charactters per second. The cpu is fetching and executing instructions at an avergae rate of 1 million instructions per second. By how much will the cpu be slowed down because of the dma transer
Answers
Answered by
1
Answer:
Answer is B
Explanation:
Answer: (B)
Explanation: DMA controller transfers 32 bit(4 byte) words to memory(cycle stealing mode).
Device transmits 4800 character per second (1 character = i byte)
So, for 1 byte it will take 1 / 4800 sec.
Since the controller transfers 4 byte in cycle stealing mode, it will take 4 * (1 / 4800) = 1 / 1200 sec.
i.e. 1200 character will be transfered in cycle stealing mode and it is given that CPU is fetching and executing instructions at an average rate of one million instructions per second.
slow down or cycle wasted % in DMA transfer = ( 1200 / 1000000) * 100
= 0.12 %
So, option (B) is correct.
Similar questions