Skip to main content

Unable to get JDK7 working with sdp

5 replies [Last post]
vikasap
Offline
Joined: 2010-06-11

Hello All,

I am trying out infiniband support in jdk 7 based on these instructions : http://java.sun.com/docs/books/tutorial/sdp/sockets/index.html.

I ran into these issues :

1) Where do I place the sdp.conf . Mainly I am worried about how to give path information to -Dcom.sun.sdp.conf.

2) I do not see any sdp related classes in the jdk. I have downloaded the 64 bit version for linux. Please let me know if I am missing something here.

Thanks,
vikasap

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alanb
Offline
Joined: 2005-08-08

As note in a previous reply, the page you cited relates to the built-in support for SDP when running on Solaris. When running on Linux you don't need the built-in support because SDP and the protocol switching is done via an interposer library. Google for libsdp and you'll find the details. The only thing specific to the JDK is that libsdp might not support IPv6 addresses, in which case you may need to run with the java.net.preferIPv4Stack property set to true.

caclark
Offline
Joined: 2005-02-24

I thought it was made clear that it was Solaris only - implementation specific - if you have any reason to suggest otherwise, then maybe Oracle would be quite interested to know about it

caclark
Offline
Joined: 2005-02-24

From what I read, this is a Solaris only facility - from the documentation:

"The Sockets Direct Protocol (SDP) is a networking protocol developed to support stream connections over InfiniBand fabric. [b]SDP support was introduced to Java Platform, Standard Edition ("Java SE Platform") in JDK7 for applications deployed in the Solaris Operating System ("Solaris OS")[/b]. The Solaris OS has supported SDP and InfiniBand since Solaris 10 5/08"

vikasap
Offline
Joined: 2010-06-11

Thanks for the reply.

I have SDP native libraries installed. So can I build the JDK from source on my machine and test it out. But there are no SDP related classes in the source. Any pointers ?

Thanks,
vikasap

caclark
Offline
Joined: 2005-02-24

Like I said, I think that the SDP support is Solaris only, so no Linux/Windows support. You must likely need the internal wrapper classes (com.sun.sdp.*) in the runtime - and these are probably only supplied with the Solaris build.

Regards,

Chris