The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
46 views
A DMA module is transferring bytes to memory using cycle stealing mode from a device transmitting at 16 KB/s. The processor is fetching instructions at the rate of 1 MB/s. The percentage by which the processor will be slowed down due to the DMA activity is ______
asked in CO & Architecture by Active (1.4k points) | 46 views

1 Answer

+1 vote
Best answer

A DMA module is transferring bytes to memory using cycle stealing mode

Since number of bytes is not clear. Lets assume you mean to say we are transferring 1 byte of data to memory using cycle stealing mode.
Device transfer speed = 16 KB/s
Processor speed = 1 MB/s

Preparation time ( x ) 
16 KB = 1 sec
1 B  = $\frac{1}{16 \times 10^{3}}$ sec = 62.5 $\mu$ sec

Transfer time ( y )
1MB = 1 sec
1B = $\frac{1}{10^{6}}$  =  1 $\mu$ sec

In cycle stealing mode, % of time cpu is busy  = $\frac{1}{ 62.5} \times 100$ = 1.6 %

Read more about it here : https://gateoverflow.in/140573/%25-time-of-cpu-blocked-in-dma

answered by Loyal (7.5k points)
selected by


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

39,815 questions
46,793 answers
140,926 comments
58,857 users