wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Direct Memory Access

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

FRIENDSHIP

Blog banner

Network Security Risks

Blog banner

A Complete Guide to Satvik Indian Powder Masalas and Their Everyday Uses

Blog banner

OS- Assignnment 1

Blog banner

social media issue

Blog banner

Types of Big Data

Blog banner

Virtual Machine

Blog banner

Be you

Blog banner

Artificial Intelligence and I

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Life lesson

Blog banner

Odoo

Blog banner

The Joy of Giving: How Festivals Teach Children Empathy and Gratitude

Blog banner

Process, process creation and process termination

Blog banner

"Audit" In Data Science

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

Junk food vs healthy food

Blog banner

Dancing Classes In Mumbai

Blog banner

Virtual Machine

Blog banner

Dal Bafla Recipe

Blog banner

A-B-C of Networking: Part-3 (Topology [Bus & Star])

Blog banner

The Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

How to Encrypt and Decrypt Using GNU PGP

Blog banner

Threads

Blog banner

memory managment

Blog banner

I/O Management and Disk Scheduling

Blog banner

Types of Viruses

Blog banner

Zoho

Blog banner

Evolution of Operating Sytems

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

Interrupts in operating system.

Blog banner

Digital Life And Mental Health: A Psychological Perspective in the Modern World

Blog banner

Diwali

Blog banner

Question

Blog banner

Number Guessing game --lisp

Blog banner

Why Peace River Is Florida’s Most Underrated Outdoor Adventure Destination?

Blog banner

Dos (Denial of service) Attack

Blog banner

HACKING MOBILE PLATFORM

Blog banner

Is Your Password Complex Enough?

Blog banner