The Gateway to Computer Science Excellence
+2 votes

A DMA controller transfers 32-bit words to memory using cycle Stealing. The words are assembled from a device that transmits characters at a rate of 4800 characters per second. The CPU is fetching and executing instructions at an average rate of one million instructions per second. By how much will the CPU be slowed down because of the DMA transfer?

  1. 0.06%
  2. 0.12%
  3. 1.2%
  4. 2.5%
in CO and Architecture by Veteran
recategorized ago | 1.9k views

1 Answer

+4 votes
1 character=1 byte

32 bit word= 4byte

4800 bytes in 1 sec

so for 1 byte  it takes 1/4800 sec

so for 4 byte word it takes  1/1200 sec

so 1200 words are transfered in 1 sec through cycle stealing

and given 1 million instructions are fetching and executing in 1 sec out of which 1200 words are executing through cycle stealing so

%of slow down or cycle wasted in dma transfer = (1200/1000000)*100


option b)
by Active

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,223 questions
59,811 answers
118,086 users