The time required for WSCP or
adminclient initialization can be reduced significantly by changing the
JITC optimization by specifying the -Xquickstart parameter. For example,
improvements for wscp initialization in Windows platforms may be as much
as 3 to 6 seconds, while improvements for wscp initialization on AIX may
be as high as 45 to 60 seconds. JITC optimization overhead can be reduced
via the -Xquickstart parameter at the expense of slightly less efficient
compiled executables (5 to 10 percent reduction in performance for long
runnings tasks). The examples below show how to use the parameter to
improve wscp initialization, but a similar technique can be extrapolated
for use with adminclient.sh or adminclient.bat.
To disable JITC for wscp:
- For Windows/NT/2000/XP, and for AIX: Add the
-Xquickstart parameter in the java invocation within wscp.bat or
wscp.sh
Example:
...
%JAVA_HOME%\bin\java %WSCPCLIENTSAS% -Xquickstart -Dserver.root=%WAS_HOME% -Dws.ext.dirs=%WAS_EXT_DIRS%
-classpath %WAS_CLASSPATH% com.ibm.ws.bootstrap.WSLauncher
com.ibm.ejs.sm.ejscp.WscpShell %EXT% %
If you have designed your wscp scripts in such a way
that keeps the wscp process active for subsequent invocations, then the
-Xquickstart parameter would probably not be desirable.
|