WebSphere V6.0.2 and JVM 1.4.2 tuning on Solaris 10
By dkumar on Oct 26, 2006
I have been asked this information many time so here is how you should tune the JVM for WebSphere Application Server on Solaris 10.
The tuning knobs of interest:
- initialHeapSize= eg. 2048
- maximumHeapSize= eg. 2048
- -Xnoclassgc May not be needed for every other app
- -Xmn1024m At least 50% of the heap size; more may be better
- -XX:ParallelGCThreads= either equal to number of cpu or on multi core systems set it to somewhere between .5-1xNumber of cores.
Couple of things to note here when doing experimental work:
You can try scaling up MaxTenuringThreshold to find out really at what time the object need to be promoted. Then similar things can be tried for Xmn or new generation size if you know for sure that you are going to generate lot of short lived objects then set it to higher percentage of Maximum Heap size.
The other usual WebSphere App Server tuning would include following params:
ORB Thread Pool
WebContaine Thread Pool
More about java performance check out: