Sockets Direct Protocol
The Sockets Direct Protocol (SDP) is a transport-agnostic protocol to support stream sockets over Remote Direct Memory Access (RDMA) network fabrics. SDP was originally defined by the Software Working Group (SWG) of the InfiniBand Trade Association. Originally designed for InfiniBand (IB), SDP is currently maintained by the OpenFabrics Alliance.
SDP defines a standard wire protocol over an RDMA fabric to support stream sockets (SOCK_STREAM). SDP uses various RDMA network features for high-performance zero-copy data transfers. SDP is a pure wire-protocol level specification and does not go into any socket API or implementation specifics.
Oracle Solaris 10 and Oracle Solaris 11 Express include support for SDP. Several other Unix operating system variants plan to include support for Sockets Direct Protocol. Microsoft Windows offers a subsystem called Winsock Direct, which could be used to support SDP.
SDP support was introduced to the JDK 7 release of the Java Platform, Standard Edition (July 2011) for applications deployed in the Solaris operating system and on Linux operating systems (OFED 1.4.2 and 1.5). Oracle Database 11g supports connection over SDP.
Sockets Direct Protocol only deals with stream sockets, and if installed in a system, bypasses the OS resident TCP stack for stream connections between any endpoints on the RDMA fabric. All other socket types (such as datagram, raw, packet, etc.) are supported by the Linux IP stack and operate over standard IP interfaces (i.e., IPoIB on InfiniBand fabrics). The IP stack has no dependency on the SDP stack; however, the SDP stack depends on IP drivers for local IP assignments and for IP address resolution for endpoint identifications.
This protocol has been deprecated or not maintained by OFED in the latest releases, hence look for alternatives. The probable suggestions will be RSOCKET, WINSOCK, etc.
- "ANNEX A4: SOCKETS DIRECT PROTOCOL (SDP)". In InfiniBand™ Architecture Release 1.2.1, p. 1215ff. PDF download from InfiniBand Trade Association, accessed October 2011
- Winsock Direct: The Value of System Area Networks, accessed October 2011
- Understanding the Sockets Direct Protocol, Oracle Java Tutorials, 2011
- "Configuring SDP Protocol Support for Infiniband Network Communication to the Database Server". In Oracle® Database Net Services Administrator's Guide, accessed October 2011