• retagged by
2,109 views
0 0 votes

Here device transfer rate is 416.7 us and cpu executing an instruction in .5 us.

So how to decide the clock cycle time, to calculate the fraction of cpu slows down?

2 Answers

Best answer
2 2 votes

DMA can transffer in Cycle steeling Mode = 1 BYTE

 But can trasfer = $\frac{19200}{8}$ = 2400 B

Processor can transmit = 2 Million instruction. 

So slow down = $\frac{2400}{2M}$ = 1200 $\times$ 10-6  = 0.0012 $\times$ 100= 0.12 %

• selected by
0 0 votes
here for every 1 byte it will steal one cycle of time

so for 1 byte how much time it will take 8/19200=416 micro sec

 

 

the cpu is fetching with 2 million per sec

1 sec ------------- 2 million instructions

1 instr-------------0.5 micro sec (cycle time)

in 416 micro sec it will steal one cycle (or one instruction of time) so total instructions will be 832 instructions

so the cpu slow down will be 1/832 * 100 = 0.12%
Position:
Show:

Related questions

75 75 votes
4 answers 4 answers
24.6k
24.6k views
go_editor asked Sep 29, 2014
24,556 views
On a non-pipelined sequential processor, a program segment, which is the part of the interrupt service routine, is given to transfer $500$ bytes from an I/O device to mem...
5 5 votes
1 1 answer
4.6k
4.6k views
Shivam Kasat asked Dec 28, 2018
4,589 views
A hard disk with a transfer rate of 1 KBps is constantly transferring data to memory using DMA cycle stealing mode. The size of the data transfer is 16 bytes. The process...
2 2 votes
1 1 answer
3.8k
3.8k views
Avir Singh asked Nov 20, 2018
3,785 views
Consider a device of 1MBPS is operating in a cycle stealing mode of DMA .Whenever 16 B word is available it is transferred into memory in 4 microseconds. What is the % of...
13 13 votes
4 answers 4 answers
7.3k
7.3k views
vaishali jhalani asked Jan 30, 2017
7,303 views
Consider $1 \text{ MBPS}$ hard disk is interfaced to the processor in a cycle stealing mode of $\text{DMA}$ whenever $64$ bytes of the data is available in the buffer the...