Computer Organisation and Architecture - Vol 3 | 29. Overview of DMA and Interrupt Driven I/O by Abraham | Learn Smarter
K12 Students

Academics

AI-Powered learning for Grades 8–12, aligned with major Indian and international curricula.

Professionals

Professional Courses

Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.

Games

Interactive Games

Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.

29. Overview of DMA and Interrupt Driven I/O

The chapter addresses the concepts and mechanisms of Direct Memory Access (DMA) and its differences from traditional interrupt-driven I/O. It discusses how DMA allows for data transfer directly between peripherals and memory, reducing CPU involvement and improving efficiency. Various transfer modes such as burst transfer and cycle stealing are explained, showcasing the flexibility and challenges of DMA operations.

Enroll to start learning

You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.

Sections

  • 29.1

    Overview Of Dma And Interrupt Driven I/o

    This section contrasts DMA (Direct Memory Access) and interrupt-driven I/O, highlighting how processors handle data transfer in both scenarios.

  • 29.1.1

    Difference Between Interrupt Driven I/o And Dma Transfer

    This section explores the fundamental differences between interrupt-driven I/O and DMA transfer, emphasizing context changes and CPU suspension.

  • 29.1.2

    Processor Suspension During Dma

    This section explains how the processor is suspended during Direct Memory Access (DMA) operations and highlights the differences between DMA and interrupt-driven I/O processes.

  • 29.1.3

    Data Transfer Modes

    This section explains the different modes of data transfer in computing, focusing on Direct Memory Access (DMA) and interrupt-driven I/O.

  • 29.1.3.1

    Burst Transfer Mode

    Burst Transfer Mode allows simultaneous data transfer without changing the processor's context, significantly improving efficiency compared to interrupt-driven approaches.

  • 29.1.3.2

    Cycle Stealing Mode

    Cycle Stealing Mode allows a DMA controller to take control of the system bus intermittently while enabling the CPU to execute other tasks.

  • 29.1.4

    Dma Breakpoints Vs Interrupt Breakpoints

    This section discusses the differences between DMA-driven I/O and interrupt-driven I/O, focusing on context switching and data transfer modes.

  • 29.1.5

    Connecting Dma Controller

    This section explains the functionality and operation of the Direct Memory Access (DMA) controller, particularly in relation to CPU I/O operations and transfer modes.

  • 29.1.5.1

    Single Bus Configuration

    This section explores the Single Bus Configuration and its impact on CPU, DMA, and data transfer modalities.

  • 29.1.5.2

    Dma Connected Through Devices

    This section explores the differences between DMA and interrupt-driven I/O, outlining how DMA allows the CPU to perform tasks without interruption while transferring data.

  • 29.1.5.3

    Two Bus System Configuration

    This section discusses two bus system configurations involving CPU and DMA operations, focusing on the interruption patterns and data transfer methods between devices and memory.

  • 29.2

    Dma Controller Context And Signals

    The section explains the functioning and configuration of DMA controllers in computer systems, highlighting the context management compared to interrupt-driven I/O.

  • 29.2.1

    Dma Request And Acknowledgement Signals

    This section covers the differences between DMA (Direct Memory Access) and interrupt-driven I/O, elaborating on the processes of DMA transfer modes and the role of bus control signals.

  • 29.2.2

    Operation Procedure From Memory To Disk

    This section explains the process and differences between interrupt-driven I/O and DMA operations, focusing on data transfers between the CPU and memory.

  • 29.3

    System Configuration And Data Transfer Protocol

    This section covers the mechanisms of Direct Memory Access (DMA) versus interrupt-driven I/O for data transfer, detailing the roles of the CPU, DMA controller, and memory.

  • 29.3.1

    Initial Configuration With Dma Controller

    This section explores how the Direct Memory Access (DMA) controller facilitates data transfer in computer systems without altering the processor's context, allowing for more efficient operation during I/O processes.

  • 29.3.2

    Processing During Dma Transfer

    This section discusses the nuances of Direct Memory Access (DMA) transfers in comparison to interrupt-driven I/O operations.

  • 29.4

    Test Items And Practical Applications

    This section elucidates the differences between interrupt-driven I/O and Direct Memory Access (DMA), explaining their operational principles, data transfer modes, and the effects on CPU performance.

  • 29.4.1

    Major Issues With Program I/o And Interrupt I/o

    This section differentiates between interrupt-driven I/O and Direct Memory Access (DMA) transfer, outlining the main issues associated with each method.

  • 29.4.2

    Components Of A Typical Dma Controller

    This section explores the fundamental components of a Direct Memory Access (DMA) controller, emphasizing its operational modes and the interaction with the CPU during data transfers.

  • 29.4.3

    File Transfer Calculation Example

    This section discusses the mechanisms of Direct Memory Access (DMA) for file transfer, particularly focusing on the differences between burst mode and cycle stealing mode.

  • 29.4.4

    Comparison Of Dma Transfer And Interrupt Driven Transfer

    This section explores the differences between DMA (Direct Memory Access) transfer and interrupt-driven I/O, focusing on their operational mechanisms and implications for CPU processing.

  • 29.4.5

    Conclusion And Learning Outcomes

    This section summarizes the differences between interrupt-driven I/O and DMA transfer, explaining the advantages, data transfer modes, and how processors manage bus control during operations.

References

38 part b.pdf

Class Notes

Memorization

What we have learnt

  • DMA transfers data directly...
  • The burst transfer mode sen...
  • Interrupt breakpoints in DM...

Final Test

Revision Tests