wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Direct Memory Access

profile
Satyam Chaurasiya
Jul 05, 2024
1 Like
0 Discussions
220 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

Paid Email

Blog banner

Hacking of web server and application

Blog banner

E-mail security

Blog banner

FASHION

Blog banner

RAID_142

Blog banner

Caching windows

Blog banner

Modern operating systems (OS)

Blog banner

GOOGLE

Blog banner

My First Dream Bike

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Concurrency and Deadlocks

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

GIS Bharat Maps

Blog banner

Getting started with Android Studio

Blog banner

Operating system

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

The Future of Web Development in 2026: Trends Every Business Must Know

Blog banner

What if COVID does not exist!

Blog banner

OPERATING SYSTEM

Blog banner

Health and fitness

Blog banner

Types of Threads

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

What is semaphore in operating system?

Blog banner

Annual Day Preparation for Toddlers: What Helps and What to Avoid

Blog banner

Healthy Indian Dinner Ideas for Better Digestion and Sleep

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

The Golden Temple , Amritsar

Blog banner

Online Education

Blog banner

Evolution of Operating system

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

Business-to-Business

Blog banner

Hey Aryan here

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Uber

Blog banner

Operation system

Blog banner

Mutual exclusion

Blog banner

File Organization and Access

Blog banner

Semaphores

Blog banner