Direct memory access (DMA) is a feature of modern computers that allows certain hardware subsystems within the computer to access system memory independently of the central processing unit (CPU).
Without DMA, when the CPU is using programmed input/output, it 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 initiates the transfer, does other operations while the transfer is in progress, and receives an interrupt from the DMA controller when the operation is done. This feature is useful any time the CPU cannot keep up with the rate of data transfer, or where the CPU needs to perform useful work while waiting for a relatively slow I/O data transfer. Many hardware systems use DMA, including disk drive controllers, graphics cards, network cards and sound cards. DMA is also used for intra-chip data transfer in multi-core processors. Computers that have DMA channels can transfer data to and from devices with much less CPU overhead than computers without a DMA channel. Similarly, a processing element inside a multi-core processor can transfer data to and from its local memory without occupying its processor time, allowing computation and data transfer to proceed in parallel.
DMA can also be used for "memory to memory" copying or moving of data within memory. DMA can offload expensive memory operations, such as large copies or scatter-gather operations, from the CPU to a dedicated DMA engine. An implementation example is the I/O Acceleration Technology.
Read more about Direct Memory Access: Principle, Cache Coherency
Famous quotes containing the words direct, memory and/or access:
“Jamess great gift, of course, was his ability to tell a plot in shimmering detail with such delicacy of treatment and such fine aloofnessthat is, reluctance to engage in any direct grappling with what, in the play or story, had actually taken placeMthat his listeners often did not, in the end, know what had, to put it in another way, gone on.”
—James Thurber (18941961)
“Im sorry that I spelt the word:
I hate to go above you,
BecauseMthe brown eyes lower fell
Because, you see, I love you!
Still memory to a grey-haired man
That sweet child-face is showing.
Dear girl! the grasses on her grave
Have forty years been growing.”
—John Greenleaf Whittier (18071892)
“Oh, the holiness of always being the injured party. The historically oppressed can find not only sanctity but safety in the state of victimization. When access to a better life has been denied often enough, and successfully enough, one can use the rejection as an excuse to cease all efforts. After all, one reckons, they dont want me, they accept their own mediocrity and refuse my best, they dont deserve me.”
—Maya Angelou (b. 1928)