Discussion:
[jboss-user] [Performance Tuning] - EJB deployment very slow in Solaris compare to Linux
Debayan Gupta
2013-03-14 11:27:01 UTC
Permalink
Debayan Gupta [https://community.jboss.org/people/debayan] created the discussion

"EJB deployment very slow in Solaris compare to Linux"

To view the discussion, visit: https://community.jboss.org/message/802639#802639

--------------------------------------------------------------
Hello,
         The time taken by EJB 3 deployer to deploy jars containing ejbs are very slow in Solaris. For the same load, it takes around 8 minutes to start in Solaris (N5220,32GB RAM) compare to Linux (HP G8,32 GB RAM), which takes around 2.5 minutes. Time taken mostly by following log messages :

EDT DEBUG [main] DeployersImpl - Added deployer ***@78c8c4d8 for stage Real
.
.
.
DEBUG [main] SaxJBossXBParser - Created parser: ***@5e402d95, isNamespaceAware: true, isValidating: true..

DEBUG [main] Domain - ***@3a784abe{DefaultDomain} add module VFSDeploymentClassLoaderPolicyModule ejb3.deployer


       All the parameter e.g min and max heap size, number of files to be deployed are same. Could anyone let me know why is this difference?

Thanks,
Debayan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/802639#802639]

Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]
Radoslav Husar
2013-03-14 14:05:18 UTC
Permalink
Radoslav Husar [https://community.jboss.org/people/rhusar] created the discussion

"Re: EJB deployment very slow in Solaris compare to Linux"

To view the discussion, visit: https://community.jboss.org/message/802682#802682

--------------------------------------------------------------
Is this the same JDK vendor and version? Theoretically speaking, certain operations are implemented differently for different JDKs on differens OSes. That might be the cause here, some heavily used IO operation might be very fast on Linux due to caching or whatnot but might be slow on Solaris. You can try to attach a profiler and compare the snapshots and see what it is exaclty.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/802682#802682]

Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]
Debayan Gupta
2013-03-18 09:18:29 UTC
Permalink
Debayan Gupta [https://community.jboss.org/people/debayan] created the discussion

"Re: EJB deployment very slow in Solaris compare to Linux"

To view the discussion, visit: https://community.jboss.org/message/803200#803200

--------------------------------------------------------------
Hello,
         I've profiled the startup of JBoss and following methods are taking significant time :

org.jboss.profileservice.dependency.ProfileDeployAction.install
DeployersImpl.doInstallParentFirst
DeployersImpl.doDeploy

      Are these natural or is there any way to optimize these?

Best Regards,
Debayan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/803200#803200]

Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]
Loading...