The Wayback Machine - https://web.archive.org/web/20240921171457/https://www.geeksforgeeks.org/remote-direct-memory-access-rdma/
Open In App

Remote Direct Memory Access (RDMA)

Last Updated : 18 Mar, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Remote Direct Memory Access(RDMA) is the access of memory of one computer by another in a network without involving either one’s operating system, processor or cache.It improves throughput and performance of systems as it frees up many resources. Operations such as read and write can be performed on remote machine without interrupting CPU of that machine. This technology helps in higher data transfer rate and low-latency networking. RDMA uses zero copy networking by enabling network adapters for transferring data direct into the buffers of systems.

How does RDMA work?

RDMA operates by using a network interface controller (NIC) that supports RDMA, such as InfiniBand or RoCE (RDMA over Converged Ethernet). These NICs have specialized hardware that allows them to directly access the memory of the system they are connected to, without the need for CPU involvement. When a system wants to transfer data using RDMA, it sends a request to the NIC, which then uses the specialized hardware to transfer the data directly to the memory of the other system.

Advantages of Remote Direct Memory Access (RDMA):

  • High performance: RDMA provides high performance for data transfer between systems, with low latency and high bandwidth.
  • CPU efficiency: RDMA transfers data directly between systems without involving the CPU, which frees up the system resources for other tasks.
  • Reduced network congestion: RDMA reduces network congestion by enabling direct data transfer between systems, reducing the amount of network traffic.
  • Security: RDMA provides enhanced security by encrypting data as it is transferred between systems.
  • Scalability: RDMA is highly scalable and can support large amounts of data transfer between systems.

Disadvantages of Remote Direct Memory Access (RDMA):

  • Compatibility: RDMA requires specialized hardware and software, which may not be supported by all systems.
  • Cost: RDMA can be expensive, requiring specialized hardware and software, which may not be cost-effective for all organizations.
  • Complexity: RDMA can be complex to set up and manage, requiring specialized knowledge and skills.
  • Limited range: RDMA is typically used for data transfer between systems that are in close proximity, limiting its range of application.
  • Limited protocols: RDMA is only compatible with certain protocols, which may limit its compatibility with other systems.

 Features of RDMA :

  1. Zero copy networking – Data can be sent and received directly between buffers of applications without being copied between network layers.
  2. Reduced CPU involvement – Applications can access data directly from remoter servers without consuming CPU time of remote servers.Also the cache memory of CPU of remote server will not be filled with the accessed content.
  3. Effective Transaction – Data is sent and received in the form of discrete messages instead of streams which eliminates the need of separating messages.

Network protocols supporting RDMA :

  1. InfiniBand (IB) – A protocol supporting RDMA natively from the beginning. As it is a new network technology, it requires NICs(Network Interface Card) and switches which supports this technology.
  2. RDMA Over Converged Ethernet (RoCE) – A network protocol which allows performing RDMA over Ethernet network. This allows using RDMA over standard Ethernet infrastructure (switches).
  3. Internet Wide Area RDMA Protocol (iWARP) – A protocol which allows performing RDMA over TCP. Some features of IB and RoCE aren’t supported in iWARP. This allows using RDMA over standard Ethernet infrastructure (switches).

Applications :

  • Used in industries that require small CPU footprint like cloud computing and many more.
  • Used in industries that require high bandwidth like medical equipment, storage and backup and many others.
  • High-Performance Computing: RDMA is commonly used in high-performance computing (HPC) environments, such as scientific research, financial modeling, and weather forecasting.
  • Big Data: RDMA is used in big data environments to speed up data transfer between servers and storage devices.
  • Video Streaming: RDMA is used in video streaming applications to provide low-latency data transfer and reduce buffering.
  • Cloud Computing: RDMA is used in cloud computing environments to provide high-speed data transfer between virtual machines and physical servers.


Similar Reads

Direct Memory Access
DMA (Direct memory access) is the special feature within the computer system that transfers the data between memory and peripheral devices(like hard drives) without the intervention of the CPU. In other words, for large data transfer like disk drives, it will be wasteful to use expensive general-purpose processors in which status bits are to be wat
5 min read
Direct Memory Access in OS
During transferring the data process, involves processors, memory, and input-output devices. The transfer starts when the processor initiates it and ends upon storage of the data. Therefore, the processor’s load increases and should be constant to keep its efficiency high. While a station master assists with increasing the pace of data transmission
7 min read
Random Access Memory (RAM) and Read Only Memory (ROM)
Memory is a fundamental component of computing systems, essential for performing various tasks efficiently. It plays a crucial role in how computers operate, influencing speed, performance, and data management. In the realm of computer memory, two primary types stand out: Random Access Memory (RAM) and Read-Only Memory (ROM). Understanding the diff
8 min read
Remote Access Trojan
One of the most powerful Trojans that are popularly used by the attacker or hacker is Remote Access Trojan. This is mostly used for malicious purposes. This Trojan ensures the stealthy way of accumulating data by making itself undetected. Now, these Trojans have the capacity to perform various functions that damages the victim. The Remote Access Tr
3 min read
What is Secure Remote Access?
Secure remote access, As the name suggests secure means it secures our applications or business-related information. It prevents the loss of sensitive information or data. In this article, we will cover a brief explanation of secure remote access and how it works, What technologies are used for Secure Remote Access, what is important, what are the
9 min read
Difference between Site to Site VPN and Remote Access VPN
Both Site-to-site VPN and Remote access VPN are the types of VPN that stand for Virtual Private Network. In terms of protecting communications over the internet, virtual private networks play an important role. They create encrypted tunnels to ensure that data moved between a user and a network remains confidential and intact. The various types of
5 min read
Difference between Virtual memory and Cache memory
Cache Memory: Cache memory increases the accessing speed of CPU. It is not a technique but a memory unit i.e a storage device. In cache memory, recently used data is copied. Whenever the program is ready to be executed, it is fetched from main memory and then copied to the cache memory. But, if its copy is already present in the cache memory then t
2 min read
Difference between Volatile Memory and Non-Volatile Memory
Memory is one of the most fundamental components in computing systems. Broadly, computer memory can be divided into two types namely volatile memory and non volatile memory. Even though both are crucial in the total functioning of the electronics, they are not interchangeable, each playing specific roles. Volatile memory deploys power in order to s
6 min read
Ferro-electric Random Access Memory
Ferro-electric Random Access Memory (FRAM) is a type of Random Access Memory, which uses a ferro-electric capacitor to achieve it's non-volatility (content is not lost when power is turned off).The di-electric constant of a ferroelectric material usually has a high value. The most widely used ferroelectric material is PZT (Lead Zirconate Titanate).
2 min read
Magnetic Random Access Memory (M-RAM)
MRAM stands for magnetoresistive random access memory and is a non-volatile type of RAM. Magnetic state refers to the electrical resistance of a metal when it is placed in a magnetic field. The MRAM uses magnetic states and magnetisation direction in a ferromagnetic material(a material which is highly susceptible to magnetization to store data bits
4 min read
Different Types of RAM (Random Access Memory )
In the computer world, memory plays an important component in determining the performance and efficiency of a system. In between various types of memory, Random Access Memory (RAM) stands out as a necessary component that enables computers to process and store data temporarily. In this article, we will explore the world of RAM, exploring its defini
8 min read
Difference between Random Access Memory (RAM) and Hard Disk Drive (HDD)
A person novice to computers often is in confusion between Random Access Memory (RAM) and Hard Disk Drive (HDD). The data on which CPU needs to work out is stored temporarily in RAM. The disadvantage of RAM is, it's volatile and data is lost once the computer is turned off or shut down at failure. On the other hand, HDD is not volatile and used to
6 min read
What is Remote Code Execution (RCE)?
Nowadays the popularity of web applications is growing faster because of the fulfilling requirements of the business and satisfying the needs of consumers. There are several services that are provided through web applications and their performance are measured through the services processing time and the informative functionalities. But at the same
4 min read
Application of Remote Sensing
Remote means something which is not directly or physically in contact and sensing means getting information about a particular field or area. Remote sensing is the process of gathering the full information about an area without going physically into that particular area. In this given article we discuss the application of remote sensing. Remote Sen
3 min read
Advantages and disadvantages of Remote Communication Technology
Remote Communication could be a sort of information communication in which data is transmitted and gotten between two or more gadgets without any utilize of wire or cable. Remote communication is the exchange of data or control between two or more focuses that are not associated by an electrical conductor. The foremost common remote advances utiliz
2 min read
Introduction To RAT - Remote Administration Tool
Remote administration means controlling or getting access to any device from another location remotely. Software that allows remote administration is known as Remote Administration Tools. So RAT gives someone access to remotely access your device as you are doing it physically but from any other location. With these tools, another person can access
4 min read
Remote File System (RFS) in File Management
Files can be shared across the network via variety of methods – Using FTP i.e., file transfer protocol is used to transfer file from one computer to other. Using distributed file system (DFS) in which remote directories are visible from local machine. Using Remote File System (RFS) in which the arrival of networks has allowed communication between
2 min read
Introduction to Remote Login
Remote Login is a process in which user can login into remote site i.e. computer and use services that are available on the remote computer. With the help of remote login a user is able to understand result of transferring and result of processing from the remote computer to the local computer. Figure - Remote login It is implemented using Telnet.
2 min read
Difference between the keylogger and the Remote AccessTrojans
1. Remote Access Trojans :This Remote Access Trojan popularity increased in the year of 2000s. In this period people didn't have sufficient knowledge of how this virus spreads on the internet and what is antivirus? There were some types of Remote Access Trojan that fall as a suspect. The dangerous part was it can be used without any knowledge. For
5 min read
How To Install Network Printer on a Remote Computer?
Answer: Invoke the command `Invoke-Command -ComputerName RemotePC -ScriptBlock {Add-Printer -ConnectionName \\PrintServer\PrinterShare}`Ensure Remote AccessConfirm you have administrative access to the target computer, typically via Remote Desktop or a remote execution tool like PowerShell. Gather Printer DetailsKnow the network path of the printer
1 min read
How to Remove Network Printer on a Remote Computer?
Answer: Invoke the command `Invoke-Command -ComputerName RemotePC -ScriptBlock {Remove-Printer -Name "PrinterName"}`Access the Remote ComputerEnsure you have administrative rights to access the remote computer, typically through Remote Desktop or PowerShell. Identify the PrinterDetermine the name of the printer you want to remove. Use PowerShellOpe
1 min read
Remote Procedure Call (RPC) in Operating System
Remote Procedure Call (RPC) is a powerful technique for constructing distributed, client-server based applications. It is based on extending the conventional local procedure calling so that the called procedure need not exist in the same address space as the calling procedure. The two processes may be on the same system, or they may be on different
8 min read
Difference Between SSH Local and Remote Port Forwarding
SSH stands for "Secure Shell" or "Secure Socket Shell". It is a cryptographic network protocol that allows two computers to communicate and share the data over on insecure network such as the Internet. SSH protocols protect the network from various attacks. Local Port ForwardingLocal Port Forwarding is the common type of port forwarding. It is used
6 min read
Difference between Direct and Arbitrated Digital Signature
A Digital Signature is a particular type of computer security that allows for the checking of the origin and the content of the message or document that was transmitted. There are two primary types of digital signatures: Now, based on the classified medicine distribution and the procedures of the TMG it is possible to classify the identified types
6 min read
Operating Systems | Memory Management | Question 1
Which of the following page replacement algorithms suffers from Belady’s anomaly? (A) FIFO (B) LRU (C) Optimal Page Replacement (D) Both LRU and FIFO Answer: (A) Explanation: Belady’s anomaly proves that it is possible to have more page faults when increasing the number of page frames while using the First in First Out (FIFO) page replacement algor
1 min read
Tracing memory usage in Linux
Memory is a critical resource in computing because its usage affects the performance and stability of a system. It's necessary to trace the memory usage of the system in order to determine the program that consumes all CPU resources or the program that is responsible for slowing down the activities of the CPU. Tracing memory usage also becomes nece
3 min read
Memory Allocation Techniques | Mapping Virtual Addresses to Physical Addresses
Prerequisite : Requirements of Memory Management System, Logical and Physical Address Memory Allocation Techniques:To store the data and to manage the processes, we need a large-sized memory and, at the same time, we need to access the data as fast as possible. But if we increase the size of memory, the access time will also increase and, as we kno
5 min read
Allocating kernel memory (buddy system and slab system)
Prerequisite - Buddy System Introduction: Allocating kernel memory is a critical task in operating system design, as the kernel needs to manage memory efficiently and effectively to ensure optimal system performance. Two common methods for allocating kernel memory are the buddy system and the slab system. The buddy system is a memory allocation alg
9 min read
Requirements of Memory Management System
Memory management keeps track of the status of each memory location, whether it is allocated or free. It allocates the memory dynamically to the programs at their request and frees it for reuse when it is no longer needed. Memory management meant to satisfy some requirements that we should keep in mind. These Requirements of memory management are:
5 min read
Algorithm for implementing Distributed Shared Memory
Distributed shared memory(DSM) system is a resource management component of distributed operating system that implements shared memory model in distributed system which have no physically shared memory. The shared memory model provides a virtual address space which is shared by all nodes in a distributed system. The central issues in implementing D
3 min read