Remote direct memory access explained

In computing, remote direct memory access (RDMA) is a direct memory access from the memory of one computer into that of another without involving either one's operating system. This permits high-throughput, low-latency networking, which is especially useful in massively parallel computer clusters.

Overview

RDMA supports zero-copy networking by enabling the network adapter to transfer data from the wire directly to application memory or from application memory directly to the wire, eliminating the need to copy data between application memory and the data buffers in the operating system. Such transfers require no work to be done by CPUs, caches, or context switches, and transfers continue in parallel with other system operations. This reduces latency in message transfer.

However, this strategy presents several problems related to the fact that the target node is not notified of the completion of the request (single-sided communications).

Acceptance

As of 2018 RDMA had achieved broader acceptance as a result of implementation enhancements that enable good performance over ordinary networking infrastructure.[1] For example RDMA over Converged Ethernet (RoCE) now is able to run over either lossy or lossless infrastructure. In addition iWARP enables an Ethernet RDMA implementation at the physical layer using TCP/IP as the transport, combining the performance and latency advantages of RDMA with a low-cost, standards-based solution.[2] The RDMA Consortium and the DAT Collaborative[3] have played key roles in the development of RDMA protocols and APIs for consideration by standards groups such as the Internet Engineering Task Force and the Interconnect Software Consortium.[4]

Hardware vendors have started working on higher-capacity RDMA-based network adapters, with rates of 100 Gbit/s reported.[5] [6] Software vendors, such as IBM,[7] Red Hat and Oracle Corporation, support these APIs in their latest products,[8] and engineers have started developing network adapters that implement RDMA over Ethernet.[9] Both Red Hat Enterprise Linux and Red Hat Enterprise MRG[10] have support for RDMA. Microsoft supports RDMA in Windows Server 2012 via SMB Direct. VMware ESXi also supports RDMA as of 2015.

Common RDMA implementations include the Virtual Interface Architecture, RDMA over Converged Ethernet (RoCE), InfiniBand, Omni-Path and iWARP.

Using RDMA

Applications access control structures using well-defined APIs originally designed for the InfiniBand Protocol (although the APIs can be used for any of the underlying RDMA implementations). Using send and completion queues, applications perform RDMA operations by submitting work queue entries (WQEs) into the submission queue (SQ) and getting notified of responses from the completion queue (CQ). [11]

Transport types

RDMA can transport data reliably or unreliably over the Reliably Connected (RC) and Unreliable Datagram (UD) transport protocols, respectively. The former has the benefit of preserving requests (no requests are lost), while the latter requires fewer queue pairs when handling multiple connections. This is due to the fact that UD is connection-less, allowing a single host to communicate

External links

Notes and References

  1. RoCE Rocks over Lossy Network: https://dl.acm.org/citation.cfm?id=3098588&dl=ACM&coll=DL
  2. Web site: Understanding iWARP. Intel Corporation. 16 May 2018.
  3. Web site: DAT Collaborative website. 14 October 2014. dead. https://web.archive.org/web/20150117180600/http://www.datcollaborative.org/. 17 January 2015.
  4. http://www.opengroup.org/icsc/ The Interconnect Software Consortium website
  5. Web site: Microsoft Based Solutions - Mellanox Technologies. 14 October 2014.
  6. Web site: 40Gbe SMB Direct RDMA Over Ethernet For Windows Server 2012 - Chelsio Communications. 2 April 2013 . 14 October 2014.
  7. Web site: SOFA-STORAGE: CREATING A VENDOR AGNOSTIC FRAMEWORK TO ENABLE SEAMLESS STORAGE OFFLOAD USING SMARTNICS.
  8. Web site: What RDMA hardware is supported in Red Hat Enterprise Linux?. 2 June 2016 .
  9. Web site: 40Gbe SMB Direct RDMA Over Ethernet For Windows Server 2012 - Chelsio Communications. 2013-04-02. Chelsio Communications. 2016-07-15. The demonstration will show Microsoft's Windows Server 2012 SMB Direct running at line-rate 40Gb using RDMA over Ethernet (iWARP)..
  10. Web site: Red Hat Enterprise MRG 2.0 Now Available. 23 June 2011. dead. https://web.archive.org/web/20160825215016/https://investors.redhat.com/news-and-events/press-releases/2011/06-23-2011. 25 August 2016.
  11. Storm: a fast transactional dataplane for remote data structures: https://dl.acm.org/doi/abs/10.1145/3319647.3325827