[jboss-jira] [JBoss JIRA] Created: (JBAS-8078) HornetQ Initialization Takes 25% of AS Boot Time

Richard Opalka (JIRA) jira-events at lists.jboss.org
Tue Jun 8 07:11:38 EDT 2010


HornetQ Initialization Takes 25% of AS Boot Time
------------------------------------------------

                 Key: JBAS-8078
                 URL: https://jira.jboss.org/browse/JBAS-8078
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: JMS (HornetQ)
    Affects Versions: 6.0.0.M4
            Reporter: Richard Opalka
            Assignee: Tim Fox
             Fix For: 6.0.0.Final


This is the umbrella JIRA for all the future HornetQ boot time optimization fixes.

I was measuring AS boot times today. Here are the results.

-----------------------
Test Configuration
-----------------------

 * AS TRUNK (https://svn.jboss.org/repos/jbossas/trunk -r 105792 default configuration)
 * Sun JDK6 (java version "1.6.0_20")
 * 64 Bit Linux OS (Linux opalka 2.6.32.12-115.fc12.x86_64 #1 SMP Fri Apr 30 19:46:25 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux)
 * Intel Processor (Intel(R) Core(TM)2 CPU T7400  @ 2.16GHz)

-----------------------
AS trunk (with HornetQ) boot times:
-----------------------
Round 01  -  25s:723ms
Round 02  -  24s:260ms
Round 03  -  24s:626ms
Round 04  -  25s:345ms
Round 05  -  24s:510ms
Round 06  -  24s:458ms
Round 07  -  24s:904ms
Round 08  -  24s:885ms
Round 09  -  24s:367ms
Round 10  -  24s:817ms
Round 11  -  24s:815ms
Round 12  -  25s:174ms
Round 13  -  24s:758ms
Round 14  -  25s:260ms
Round 15  -  24s:692ms
-----------------------
Average   -  24s:840ms
-----------------------

When I removed:
$JBOSS_HOME/server/default/deploy/hornetq/
$JBOSS_HOME/server/default/deployers/hornetq-deployers-jboss-beans.xml

-----------------------
AS trunk (without HornetQ) boot times:
-----------------------
Round 01  -  18s:379ms
Round 02  -  18s:399ms
Round 03  -  18s:837ms
Round 04  -  19s:274ms
Round 05  -  18s:506ms
Round 06  -  19s:102ms
Round 07  -  18s:981ms
Round 08  -  19s:138ms
Round 09  -  18s:565ms
Round 10  -  18s:439ms
Round 11  -  18s:586ms
Round 12  -  18s:330ms
Round 13  -  18s:855ms
Round 14  -  18s:545ms
Round 15  -  19s:210ms
-----------------------
Average   -  18s:743ms
-----------------------

-----------
Conclusion:
-----------

24s:840ms = 100 % AS trunk boot
18s:743ms ~  75 % AS trunk without HornetQ boot
---
 6s:097ms ~  25 % HornetQ boot
---

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list