Java Performance Tuning
Java Performance Tuning
********************************************************************************
*****************************
Java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
********************************************************************************
**********************************
Rec. VM Version 1.4.2_20 b04
For Dispatcher:
-Xms256M
-verbose:gc
-Djava.security.policy=./java.policy
-Xss2m
For Server Node:
-Xms2560M (if BW system is shared with this) or else 2048M will be fine
-XX:NewSize=426M
-XX:MaxNewSize=426M
-XX:PermSize=512M
-XX:MaxPermSize=512M
-XX:SoftRefLRUPolicyMSPerMB=1
-XX:+DisableExplicitGC
-XX:SurvivorRatio=2
-XX:TargetSurvivorRatio=90
-verbose:gc
-XX:+UseParNewGC
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
-XX:+UseTLAB
-Dsun.io.useCanonCaches=false
-Djava.awt.headless=true
-Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts
.ots.PortableInterceptor.JTSInitializer
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemote
ObjectProxy
-XX:+HandlePromotionFailure
-Djava.security.policy=./java.policy
-Djava.security.egd=file:/dev/urandom
-XX:ReservedCodeCacheSize=64M
-XX:CodeCacheMinimumFreeSpace=2M
-Xss2m
MinThreadCount 40
Keep Alive Enable the reuse of HTTP connections for multiple requests enabled
Use Cache Enable the memory-based cache enabled
Directory List List all files in directory of default files not found disabled
Log Responses Log all HTTP requests disabled
CacheControl Static content expiration time in seconds (for browser cache) 60480
0
SapCacheControl Static content expiration time in seconds (for ICM cache) 604800
HTTP Provider MinimumGZipLength 1024
********************************************************************************
**********************************