The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
DMA is mainly used to control faster processor activity.

Then how processor time slows down by a DMA activity?
in CO and Architecture by Veteran (115k points) | 87 views

What do you mean by processor time slows down ? 




srestha When CPU gets an interrupt signal then it asks the DMA controller to handle the interrupts and transfer data b/w the I/O device and the memory. This requires the control of memory bus which the cpu gives to the DMA for some time. So then you might think what will cpu do now without the bus.. CPU can carry out other instructions which do not require memory like ADD/SUB two register variables. So at this time parallely the DMA works on the transferring b/w I/O and main memory while the CPU handles instructions which do require MM.

But there might arrive a situation where CPU may require the MM for eg to execute LOAD/STORE instructions. But since DMA has the control over the memory bus CPU has to wait till it gets it back. So at this time the cpu activity gets slowed down.

Please log in or register to answer this question.

Related questions

+2 votes
1 answer
asked Jan 15, 2018 in CO and Architecture by vishal chugh Active (1.7k points) | 142 views
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
50,093 questions
55,333 answers
86,257 users