3 Replies Latest reply on Mar 11, 2011 7:44 AM by ataylor

    Slow performance in JBoss 5.1.0 GA

    atan20

      I was wondering if someone could help me determine why my HornetQ instance which is integrated with JBoss 5.1.0 GA, is running considerably slower than HornetQ when it is running standalone?

       

      I am running the HornetQ perf tests under "examples/jms/perf" in the HornetQ package with durable set to true using one queue, one producer and one consumer.

       

      When I run the test with the standalone server I am receiving a throughput of 433 messages/second. However, when I point the perf test to use a Queue on my JBoss installation with HornetQ the throughput drops to 233 messages/second.

       

      Our JBoss HornetQ instance is using AIO and I have applied the following JVM tuning to match the standalone server:

      - -XX:+AggressiveOpts

      - -XX:+UseFastAccessorMethods

      - Increased -Xms and -Xmx settings from 512 to 2048 and ensured they were set to the same value

      - -XX:+UseParallelGC

      - disabled security in hornetq-configuration.xml

       

      Below are my settings from perf.properties:

      num-messages=150000

      num-warmup-messages=10000

      message-size=1024

      durable=true

      transacted=false

      batch-size=1

      drain-queue=false

      throttle-rate=-1

      durable-message-id=true

      disable-message-timestamp=true

       

      The JBoss server is dedicated to messaging and the machine has ample CPU and memory available for the test applications and JBoss.

       

      Thanks.

      Andrew