[jboss-user] [Performance Tuning] - Re: High System CPU Time

PeterJ do-not-reply at jboss.com
Wed Oct 3 14:31:09 EDT 2007


Two suggestions.

1) Set -Xms and -Xmx to the same size - this prevents the JVM from asking the OS for more memory, which can case the system time to go up.

2) Set the NewSize to 1/3 or 1/4 of your heap size. With a heap of 512MB, set -XX:newSize=150MB and -XX:MaxNewSize=150MB.

If the server is dedicated to running the application server, I would set heap to 1200MB and NewSize to 300MB. Those are usually good starting numbers for a system that has 2GB RAM.



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

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



More information about the jboss-user mailing list