wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Direct Memory Access

profile
Jay Bhanushali
Jul 04, 2024
0 Likes
0 Discussions
139 Reads

In the field of input/output (I/O) operations in computing systems, there are several methods to control the interface between the processor and peripheral devices. These methods—programmed I/O, interrupt-driven I/O, and direct memory access (DMA)—each have their own benefits and disadvantages.
Programmed I/O is the most basic method. In instances where the I/O module encounters an I/O instruction, the processor ends it through direct communication with it. The module performs the requested task and updated its status register but does not interrupt the processor. Instead, the processor must actively poll the module to check if the operation has finished. This polling can lead to significant performance degradation since the processor essentially waits idly during this period.

In the situation where the transfer of data of large volumes is involved, DMA is by far the best option.
DMA, the processor is allowed to pass off the transfer of data tasks to a specific DMA module.
Let’s dig into it a bit more if you don’t mind: The processor begins the transfer by giving the parameters such as the operation type (read-write), the device address, the memory location, and the data size to the DMA module. Once set up, the bus is taken over by the DMA module and memory is directly interfaced with the I/O devices without the processor involvement at each data word. This way significantly saves the processor's time and data is transferred much faster.

However, DMA may have some disadvantages. When the DMA module and the processor compete for bus access, there are situations when the processor may have to pause for a while to get the bus. This is a kind of intertemporal pause, and it takes place only on rare occasions due to DMA, which, by the way, remains much better as compared to programmed and interrupt-driven I/O methods in data handling.
As is clear from the above paragraph, among the three mentioned data transfer methods, the direct memory access (DMA) technique comes with the least workload to the CPU and hence is the most effective. By making memory to I/O transfers request in a very fast time, the DMA sends out information that the computer principle memory has been doing the same. This process makes the CPU to focus on other tasks than data transfer hence achieving high overall system efficiency.


Comments ()


Sign in

Read Next

Unlocking Success: Mastering Google Ads Strategies

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

DISK SCHEDULING

Blog banner

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

Blog banner

Odoo

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

"Mahakali cave"

Blog banner

ODOO

Blog banner

Indian Culture and Tradition

Blog banner

City of Mumbai (Bombay):

Blog banner

Deadlock in operating system

Blog banner

Top 10 Logos and their meanings

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

Cybersecurity Standards for Automotive

Blog banner

Riddhi Miyani 53003220140

Blog banner

PPT methodology

Blog banner

RAID

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

Service Catalogue Management

Blog banner

What is Amazon?

Blog banner

File and File System Structure

Blog banner

Threads

Blog banner

Environmental Management using GIS

Blog banner

Cache memory

Blog banner

Threats To Computer System

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

The Sunny Side of Instagram

Blog banner

DURGA POOJA

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Virtualisation

Blog banner

Evolution of Operating Systems

Blog banner

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

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

APACHE KAFKA

Blog banner

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

Blog banner

Education?

Blog banner

Deadlock in Operating System

Blog banner

Thumb Sucking: When It’s Normal and When It Becomes a Dental Problem

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

INTRANET

Blog banner

Which Smartphone Company Has the Largest Market Share in India?

Blog banner