Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8078

HornetQ Initialization Takes 25% of AS Boot Time

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • No Release
    • None
    • JMS (HornetQ)
    • None

      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

              csuconic@redhat.com Clebert Suconic
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: