🧠 DMA Modes Explained (Burst, Cycle Stealing & Transparent Mode)

Direct Memory Access (DMA) is an important concept in Computer Organization. Questions often test your understanding of different DMA modes.

In this post, we’ll:

  • Understand DMA basics
  • Learn all DMA transfer modes
  • Solve an exam-level MCQ

πŸ”΅ What is DMA (Direct Memory Access)?

DMA allows devices to transfer data directly to/from memory without continuous CPU involvement.

πŸ‘‰ This improves system performance by reducing CPU workload.


πŸ”΄ Types of DMA Transfer Modes


βœ… 1. Burst Mode (Block Transfer Mode)

🧠 Key Idea:

  • Entire block of data is transferred at once
  • CPU is stopped (put on hold)

βœ” Features:

  • Fastest transfer
  • CPU remains idle during transfer
  • DMA gets full control of system bus

πŸ‘‰ Used when large data blocks need to be transferred quickly


βœ… 2. Cycle Stealing Mode

🧠 Key Idea:

  • DMA transfers one word (or byte) at a time
  • CPU is paused briefly

βœ” Features:

  • CPU and DMA share system bus
  • After each transfer, CPU gets control back

πŸ‘‰ β€œStealing” cycles from CPU β†’ hence the name


βœ… 3. Transparent Mode

🧠 Key Idea:

  • DMA transfers data only when CPU is idle

βœ” Features:

  • CPU is never stopped
  • Slowest data transfer
  • Most efficient for overall system performance

πŸ”₯ Given MCQ

Statements:

(i) In burst mode DMA, CPU can be put on hold and full block is transferred
(ii) In transparent mode, DMA transfers only when CPU is not using system bus
(iii) In cycle stealing mode, only one word is transferred per request


🧠 Step-by-Step Evaluation


βœ” Statement (i): Burst Mode

βœ… TRUE

  • CPU is completely halted
  • Full block transfer happens

βœ” Statement (ii): Transparent Mode

βœ… TRUE

  • DMA uses bus only when CPU is idle

βœ” Statement (iii): Cycle Stealing

βœ… TRUE

  • One word/byte per request
  • Then CPU regains control

🎯 Final Answer

πŸ‘‰ All are TRUE


⚑ Exam Tricks to Remember

  • Burst Mode β†’ CPU stopped, fastest
  • Cycle Stealing β†’ One word at a time
  • Transparent Mode β†’ CPU never disturbed

🧠 Quick Comparison Table

ModeCPU StatusSpeedData Transfer
Burst ModeStoppedFastestBlock transfer
Cycle StealingPartially stoppedMediumOne word at a time
Transparent ModeNot stoppedSlowestOnly when CPU idle

🎯 Conclusion

DMA modes are frequently asked in exams. Understanding how CPU and DMA share the system bus is key to solving such questions quickly.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *