0% found this document useful (0 votes)
45 views5 pages

(Direct Memory Access) : RAM CPU

DMA (Direct Memory Access) allows data to be transferred directly between devices like sound cards, video cards, and hard drives and the computer's RAM without using the CPU. This saves processing time and allows data transfer and processing to occur in parallel, improving throughput. With DMA, the CPU initiates the data transfer and then performs other tasks while the DMA controller handles the transfer in the background and notifies the CPU once complete. For example, a sound card can use DMA to access RAM and process audio on its own without CPU involvement.

Uploaded by

izzat_rijal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views5 pages

(Direct Memory Access) : RAM CPU

DMA (Direct Memory Access) allows data to be transferred directly between devices like sound cards, video cards, and hard drives and the computer's RAM without using the CPU. This saves processing time and allows data transfer and processing to occur in parallel, improving throughput. With DMA, the CPU initiates the data transfer and then performs other tasks while the DMA controller handles the transfer in the background and notifies the CPU once complete. For example, a sound card can use DMA to access RAM and process audio on its own without CPU involvement.

Uploaded by

izzat_rijal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

DMA 

(Direct Memory Access)


1) Stands for "Direct Memory Access." DMA is a method of transferring data from
the computer's RAM to another part of the computer without processing it using
the CPU. While most data that is input or output from your computer is processed
by the CPU, some data does not require processing, or can be processed by
another device. In these situations, DMA can save processing time and is a more
efficient way to move data from the computer's memory to other devices.

2)
Without DMA, using programmed input/output (PIO) mode for communication with
peripheral devices, or load/store instructions in the case of multi core chips, the CPU is
typically fully occupied for the entire duration of the read or write operation, and is thus
unavailable to perform other work. With DMA, the CPU would initiate the transfer, do other
operations while the transfer is in progress, and receive an interrupt from the DMA controller
once the operation has been done. This is especially useful in real-time
computing applications where not stalling behind concurrent operations is critical. Another
and related application area is various forms of stream processing where it is essential to
have data processing and transfer in parallel, in order to achieve sufficient throughput.

3) For example, a sound card may need to access data stored in the computer's
RAM, but since it can process the data itself, it may use DMA to bypass the CPU.
Video cards that support DMA can also access the system memory and process
graphics without needing the CPU. Ultra DMA hard drives use DMA to transfer
data faster than previous hard drives that required the data to first be run through
the CPU.

4) In order for devices to use direct memory access, they must be assigned to a
DMA channel. Each type of port on a computer has a set of DMA channels that
can be assigned to each connected device. For example, a PCI controller and
a hard drive controller each have their own set of DMA channels.

You might also like