• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 660
  • Last Modified:

Question about DMA

Hi, I am doing a Operation System Homework problem. However, I just have no idea about this problem (I can't find the answer in the book.)  I wonder if someone here can explain it for me?

The question is:
In virtually all systems that include DMA modules, DMA access to main memory is given higher priority than processor access to main memory. Why?


Thanks,
0
kelly_host
Asked:
kelly_host
1 Solution
 
StonewalCommented:
Because it is called "Direct Memory Access"? or because it has no use for the CPU and only needs room to work?

That was off the wall   hehehehe
0
 
OttaCommented:
It's a matter of "priorities".
The hard-drive is physically "spinning",
and is either sending data from the
hard-drive into RAM, or needs to copy
data from RAM onto the hard-drive,
and it needs access to RAM *RIGHT* *NOW*,
i.e., at the highest priority.
The CPU must "wait" for the accesses to be
done; then, the CPU can fetch the next instruction to be executed.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now