LearnViz CompSci
Home / Learn / Computer Architecture & Logic / DMA

Advanced Topic 41 of 51 Computer Architecture & Logic

DMA

Hardware letting devices move data without CPU involvement.

How it works

A DMA controller moves blocks between devices and memory on its own, interrupting the CPU only when done, so the CPU can compute meanwhile.

Where it is used

Disk, network and sound card transfers.

Common pitfall

Cache coherence with DMA buffers must be managed.

Where it fits in the course

DMA is topic 41 of 51 in Computer Architecture & Logic, rated Advanced. It follows GPU Architecture. The next topic is Interrupts.

Practice and explore

How to study this topic

  1. Read the explanation above and restate the definition in your own words.
  2. Open the interactive lesson and answer its mini quiz.
  3. Read the common pitfall, then write a short example that avoids it.
  4. Check your understanding in the Computer Architecture & Logic quiz, and revisit the topic if you miss a question.

Frequently asked questions

What is DMA?
Hardware letting devices move data without CPU involvement. It belongs to Computer Architecture & Logic and is an advanced-level topic.
Where do people use DMA?
Disk, network and sound card transfers.
What is the most common mistake with DMA?
Cache coherence with DMA buffers must be managed.
What should I learn before this topic?
Start with GPU Architecture, the topic just before it in Computer Architecture & Logic.
How can I practice it?
Answer the mini quiz in the interactive lesson, then take the Computer Architecture & Logic quiz.
Is DMA hard to learn?
It is an Advanced topic. Expect to read the explanation more than once and to connect it with earlier topics. Working through a small example by hand helps most.
How long does it take to learn DMA?
Most learners can read the explanation and finish the interactive lesson in under an hour. Fluency comes from applying the idea, so plan a few short practice sessions with the quiz.
Which topics are related to DMA?
GPU Architecture, Interrupts, SIMD and Vector Processing are closely connected. The full list is in the related topics section of this page.
What should I study after DMA?
Continue with Interrupts, the next topic in Computer Architecture & Logic.

Related topics