Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-406

Performance slow down with large maxPageSize

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.0
    • JBoss A-MQ 6.0
    • None
    • None

      Hi,I've reproduced an issue using mySQL where I can see the performance drop if I include a large maxPageSize, i.e:1. <policyEntry queue=">" producerFlowControl="false" prioritizedMessages="false" expireMessagesPeriod="0" optimizedDispatch="true" useCache="false" > </policyEntry>AMQClientSendTest: INFO: sent 500000 messages in 1110.116 seconds with 10 threads for a throughput of 450.403 messages/secondpool-1-thread-5 messagesReceived[99886]threadTotalSeconds[1801.837]messages/second[55.436]
      pool-1-thread-4 messagesReceived[99856]threadTotalSeconds[1801.837]messages/second[55.419]
      pool-1-thread-1 messagesReceived[99529]threadTotalSeconds[1801.839]messages/second[55.237]
      pool-1-thread-3 messagesReceived[99845]threadTotalSeconds[1801.837]messages/second[55.413]
      pool-1-thread-2 messagesReceived[99683]threadTotalSeconds[1801.838]messages/second[55.323]
      AMQClientReceiveTest: INFO: received 498799 messages in 1802.611 seconds with 5 threads for a throughput of 276.709 messages/second2. Adding maxPageSize="10000" kills performance.pool-1-thread-5 messagesReceived[100110]threadTotalSeconds[26131.248]messages/second[3.831]
      pool-1-thread-4 messagesReceived[100046]threadTotalSeconds[26131.249]messages/second[3.829]
      pool-1-thread-2 messagesReceived[99522]threadTotalSeconds[26131.249]messages/second[3.809]
      pool-1-thread-3 messagesReceived[100133]threadTotalSeconds[26131.249]messages/second[3.832]
      pool-1-thread-1 messagesReceived[100189]threadTotalSeconds[26131.249]messages/second[3.834]
      AMQClientReceiveTest: INFO: received 500000 messages in 26131.588 seconds with 5 threads for a throughput of 19.134 messages/secondWith maxPageSize=5000 little better but not much:AMQClientReceiveTest: INFO: received 500000 messages in 14621.094 seconds with 5 threads for a throughput of 34.197 messages/secondWill attach broker config. Producer and consumer are from the customer and will add privately. All tests run on 5.9-SNAPSHOT

              dejanbosanac Dejan Bosanac
              rhn-support-sjavurek Susan Javurek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: