-
15. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
chawax Mar 23, 2009 5:56 AM (in response to chawax)"jaikiran" wrote:
"chawax" wrote:
I improved a lot startup performance. My JBOSS_HOME pointed to my old JBoss 4.2.3 installation. I changed it to point to JBoss 5.0.1 directory, it now takes 4 minutes and 45 seconds to startup compared to 7 minutes before I changed this.
I am not sure what the problem was. But you earlier logs did show that you were using 5.0.1 GA,/C:/t4-dev/jboss/jboss-5.0.1.GA/
so i don't think the JBOSS_HOME was messing the startup time.
You were right ... Back to 7 minutes to startup this morning, I don't know why :( -
16. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
jeff87 Mar 23, 2009 3:34 PM (in response to chawax)I too am experiencing this on the jdk6 version of JBoss AS 5.0.1.GA. I see it on Mac and Windows using jdk 6, Seam 2.1.1.GA, and a new project with only about 10 entities. It takes about 10 minutes for the app to deploy and my machine is mostly unusable while it is deploying.
-
17. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
jaikiran Mar 24, 2009 6:06 AM (in response to chawax)"jeff87" wrote:
I too am experiencing this on the jdk6 version of JBoss AS 5.0.1.GA. I see it on Mac and Windows using jdk 6, Seam 2.1.1.GA, and a new project with only about 10 entities. It takes about 10 minutes for the app to deploy and my machine is mostly unusable while it is deploying.
Jeff, its good that you brought this to our notice, but please create a new thread to discuss this along with any additional (console) logs or some profiler output which show what's going on. The reason, i am asking each one of you to create a new thread is because, each of the poster has a different application with different set of components - the original poster had only EJB3, whereas the rest of you are having Seam. So it makes sense to first isolate the issue in a different thread.
-
18. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
jeff87 Mar 24, 2009 5:07 PM (in response to chawax)I think my issue was simply the jvm arguments used by JBoss Developer Studio 2.0.0.CR2 for launching the server. After removing the -server opton and playing around with different garbage collector settings, etc.; my app is being deployed in about 80 seconds consistently now and pages are rendering quickly.
In case it might help anyone, below are my current settings. This is a Macbook Pro with 2gb ram.-Dprogram.name="JBossTools JBoss 5.0 Runtime" -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs="/java/jboss-5.0.1.GA/lib/endorsed" -Xverify:none -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-DisableExplicitGC -Dcom.sun.management.jmxremote.port=7000 -Dcom.sun.management.jmxremote.authenticate=false
-
19. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
chawax Mar 26, 2009 7:05 AM (in response to chawax)"chawax" wrote:
Note I also have a lot of WARN messages like this one :10:06:32,213 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean DecisionHandlerBean, will create some
Or like this one :10:10:05,445 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@8eaa8cb5{OrganizationInternalServiceBean}
What do these warnings mean ? Could they be the cause of low performance ?
I had no response about that. What do these warnings mean ? And could they cause low performance ? -
20. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
tonylmai Mar 26, 2009 7:56 PM (in response to chawax)Just a quick update,
VM GC can improve the performance significantly. I was able to cut the startup and response time from the application almost in half using the following:-Dprogram.name=run.bat -Xms512m -Xmx2048m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:-DisableExplicitGC
Yes jaikiran. I will post my finding (if any) on a separate thread.
Thanks
-tony -
21. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
chawax Mar 27, 2009 4:40 AM (in response to chawax)Thanks Tony, your suggestion improved startup time for me. 5 minutes and 20 seconds instead of 7 minutes, Still too long for me anyway :(
-
22. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
jnorris10 Mar 27, 2009 2:26 PM (in response to chawax)I am seeing slow deploy times as well (on JBoss 5.1.0.Beta1). 5-6 minutes as compared to 1.5 minutes on JBoss 4.2. I have about 500+ EJBs, Entities and SEAM components.
-
23. Re: Low performance with JBoss AS 5.0.1 compared with 4.2.3
jaikiran Mar 27, 2009 9:54 PM (in response to chawax)FYI - EJB3 deployment time issues reported here have been taken note of. I am waiting for a related MC issue to be resolved before starting to run some tests.