Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Performance Issue (for VI SDK 2.0) with JDK Versions Prior to JDK 1.5.0_08 (2983901)

Details

Using the VI SDK 2.0 with JDK versions prior to Java 2, Standard Edition 5 (J2SE5)—specifically, prior to JDK 1.5.0_08—results in poor performance.

Solution

The solution is to use Java version 1.5.0_08 (or subsequent version).
 
Using previous versions of the JDK with VMware Infrastructure API 2.0 can result in operations that seem to "hang" for four-to-five seconds before completing. The reason is that socket creation (new Socket("ip-address", port) ) with JDK (prior to 1.5.0_08) is extremely slow. Creating multiple sockets sequentially (not in parallel) results in an overall cumulative slowdown.
 
See the Sun Developer Network bug database for information about bug 5092063, which may be the cause of the slow performance:
 
 
 
 

Keywords

SDK,Managed Object Reference,virtual machines,2983901

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: