Okay here is the next installment in overall performance tuning.

Today is Sun JVM setting day. I use the following for JBoss:

-server -XX:NewSize=356m -XX:SurvivorRatio=16 -XX:MaxNewSize=356m -Xms400m 
-Xmx400m

The basics are:
1. Always set max heap size to min heap size.
2. Always set new generation size as appropiate but again set its min an max 
size to be the same.
3. Set Survivor size small relative to new generation.

Why these setting in this manner is that you can for 2x-5x performance 
inprovement because the CPU is not busy monitoring resizing resources such as 
memory. The new generation size is set to maximum for me because if you have 
short lived objects it is best to keep them in the new generation area rather 
then going to the survivor spaces.

The main thing to remember is you need to monitor your own usage to determine 
the best settings for your application.

Good Luck All,
-Tony

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950318#3950318

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950318


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to