Hi.all
When I doing a JBoss performance testing job,I find that the performance will decrease with time grow up.
I want to figure out what make it like this. Some information about my test list here:
1.Testing environment:
JBoss version:JBoss5.1.0.GA
Java version:JDK1.5
OS:Windows server 2003
DBMS:Sql server 2005
Testing tool: Apache Jmeter(i have set 50 threads and Ramp-Up Period in 30 seconds)
2.At first i have done some JBoss performance tuning.
a)I’ve add some parameters about JVM in thefile %JBOSS_HOME%bin\run.conf.bat
rem # JVM memory allocation pool parameters- modify as appropriate.
set "JAVA_OPTS=-Xms1024M -Xmx1024M-XX:MaxPermSize=256M -XX:NewSize=400M -XX:MaxNewSize=400M-XX:SurvivorRatio=32"
rem #
set -Djava.util.logging.manager=java.util.logging.LogManager-Djava.util.logging.config.file=C:\mcs\config\logging.properties"
Add parameters above into the *-ds filesunder %JBOSS_HOME%\server\all\deploy
Sury Bu
Greenhorn
Joined: Mar 10, 2011
Posts: 3
posted
0
with the time increase JBossAvgProcessingTime become more and more large,finally become stabilized.
And then Throughput become more and more small finally become stabilized too.
What make this happen?
Sury Bu
Greenhorn
Joined: Mar 10, 2011
Posts: 3
posted
0
Here is the GC data charps record by Jconsole come with JDK1.5. One houre later, major GC become so busy...and the Throughput in Jmeter become decrease with the time. I have increase the heap size above to 1300M. If more rhan 1300M, there will throw error ...So maybe in my enviroment the heap size limited to about 1.3G.
Should i increase the survior space?
Or there's something else going unnormal in my enviroment?
It looks like one hour later, one minor GC can only collect little die objects in survivor space, there are many objects are survivoring.
Then in the next minor GC time, lived objects fills up in the survivor space, any remaing live objects will copy to tenured generarion.
So we can see, major GC become more and more often then that in the first hour...
But what make me adoubt as why one hour later, the objects become difficult to release...
Can somebody help me to find out the problem with me?