wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Direct Memory Access

profile
Satyam Chaurasiya
Jul 05, 2024
1 Like
0 Discussions
222 Reads

1.What is a DMA Controller?

=> Direct Memory Access uses hardware for accessing the memory, that hardware is called a DMA Controller. It has the work of transferring the data between Input Output devices and main memory with very less interaction with the processor. The direct Memory Access Controller is a control unit, which has the work of transferring data.

 

2.Types of Direct Memory Access (DMA). 

=> There are four popular types of DMA.

Single-Ended DMA

Dual-Ended DMA

Arbitrated-Ended DMA

Interleaved DMA

•Single-Ended DMA: Single-Ended DMA Controllers operate by reading and writing from a single memory address. They are the simplest DMA.

•Dual-Ended DMA: Dual-Ended DMA controllers can read and write from two memory addresses. Dual-ended DMA is more advanced than single-ended DMA.

•Arbitrated-Ended DMA: Arbitrated-Ended DMA works by reading and writing to several memory addresses. It is more advanced than Dual-Ended DMA.

•Interleaved DMA: Interleaved DMA are those DMA that read from one memory address and write from another memory address.

 

3.Modes of Data Transfer in DMA. 

=> There are 3 modes of data transfer in DMA that are described below.

••Burst Mode: In Burst Mode, buses are handed over to the CPU by the DMA if the whole data is completely transferred, not before that.

••Cycle Stealing Mode: In Cycle Stealing Mode, buses are handed over to the CPU by the DMA after the transfer of each byte. Continuous request for bus control is generated by this Data Transfer Mode. It works more easily for higher-priority tasks.

••Transparent Mode: Transparent Mode in DMA does not require any bus in the transfer of the data as it works when the CPU is executing the transaction.

 

4.Advantages and disadvantages of DMA Controller. 

=>

a. Advantages of DMA Controller

i.Data Memory Access speeds up memory operations and data transfer.

ii. CPU is not involved while transferring data.

iii. DMA requires very few clock cycles while transferring data.

iv. DMA distributes workload very appropriately.

v. DMA helps the CPU in decreasing its load.

 

b. Disadvantages of DMA Controller

i.Direct Memory Access is a costly operation because of additional operations.

ii. DMA suffers from Cache-Coherence Problems.

iii. DMA Controller increases the overall cost of the system.

iv. DMA Controller increases the complexity of the software.


Comments ()


Sign in

Read Next

Life of a 2020-2021 student

Blog banner

Hello World

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

WomenEmpowerment

Blog banner

Cyber Security in Data Breaching

Blog banner

What is Vishing?

Blog banner

Virtual Memory - Explaination, Working, Steps

Blog banner

Memory Management

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

City2Surf & Spring Fitness Recovery Guide: How Sports Drinks Silently Damage Enamel

Blog banner

Modern Operating Systems

Blog banner

File Allocation Methods

Blog banner

Types of Hackers.

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Blockchain

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

Data Mining

Blog banner

The Khan mehtab transforming the modular switches

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Have You Explored India Yet?

Blog banner

Service Design Principles

Blog banner

Technological Advancement

Blog banner

Precision-Recall in Data Science

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

Product Discount Calculator

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner

LiquidPlanner

Blog banner

DNS Cache

Blog banner

Importance Of Time

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Modern Operating System - Suren Kotian

Blog banner

Processes: Process Description and Control.

Blog banner

Uber

Blog banner

What makes Nugget RC Racing Florida’s Most Exciting Racing Events?

Blog banner

Data Structures

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

Big Data

Blog banner