VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

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

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

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (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? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions