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? Operating System dma co-and-architecture + – vaishali jhalani 2.1k views answer comment Share Follow Print See 1 comment 1 1 comment reply Prashant. commented Nov 28, 2016 reply Follow flag according to you . slow down = cpu time / Dma time = .5/ 416.6 = 0.0012= 0.12% 0 0 replyShare Please log in or register to add a comment.
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 % Prashant. answered Nov 28, 2016 • selected Dec 4, 2016 by Prabhanjan_1 Prashant. comment Share Follow See all 9 Comments 9 9 Comments reply Show 6 previous comments vaishali jhalani commented Nov 28, 2016 reply Follow flag Ok..so what is the meaning of 416.7us.. I thought...Device tranfer a byte in every 416.7us. 0 0 replyShare Pavan Kumar Munnam commented Nov 28, 2016 reply Follow flag actually it is dma gets ready to transfer the byte after 416.7 micro sec 0 0 replyShare Nihal Singh commented Aug 6, 2021 reply Follow flag Actually, the question is not for %, it’s asking for the answer to be in micro sec. 0 0 replyShare Please log in or register to add a comment.
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% Pavan Kumar Munnam answered Nov 28, 2016 Pavan Kumar Munnam comment Share Follow 0 reply Please log in or register to add a comment.