Java Reference
In-Depth Information
21-3. Bypassing TCP for InfiniBand to
Gain Performance Boosts
Problem
Your application, which is deployed on Linux or Solaris, needs to move data very
quickly and efficiently, and you need to remove any bottlenecks that could slow things
down.
Solution
Use the Sockets Direct Protocol (SDP) to bypass TCP, a possible bottleneck in the pro-
cess. In order to do this, create an SDP configuration file and set the system property to
specify the configuration file location.
Note The SDP was added to the Java SE 7 release for applications deployed in the
Solaris or Linux operating systems only. SDP was developed to support stream connec-
tions over InfiniBand fabric, which Solaris and Linux both support. The Java SE 7 re-
lease supports the 1.4.2 and 1.5 versions of OpenFabrics Enterprise Distribution
(OFED).
This configuration file is an example of one that could be used to enable the use of
SDP:
# Use SDP when binding to 192.0.2.1
bind 192.0.2.1 *
# Use SDP when connecting to all application services on
192.0.2.*
connect 192.0.2.0/24
1024-*
# Use SDP when connecting to the HTTP server or
a database on myserver.org
connect myserver.org
8080
connect myserver.org
1521
Search WWH ::




Custom Search