Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
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
Feedback
Actions
- KB Article: 2983901
- Updated: Aug 14, 2009
- Products:
VMware ESX
VMware Infrastructure SDK
VMware VirtualCenter - Product Versions:
VMware ESX 3.0.x
VMware Infrastructure SDK 2.0.x
VMware VirtualCenter 2.0.x

