activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hackingbear <hackingb...@gmail.com>
Subject Re: Severe performance hit upgrading to 5.2.0 from 5.1
Date Tue, 17 Feb 2009 06:13:00 GMT

Hi, any help on this? 5.2 shouldn't be a few times slower, but I can't find
out why. All the other configs are out-of-box defaults.


hackingbear wrote:
> 
> Hi,
> 
> I upgraded to 5.2.0 last week and witness my application performance
> dropped substantially. I wrote a simple test which does:
> 
> producer:
>   loop
>     create a temporary reply queue
>     send a short object message to a non-persistent, non-durable queue
>     read from reply queue
>     delete the reply queue
> 
> consumer:
>   read the message
>   send the same object back to the reply queue
> 
> In 5.1, I get to 91 msg/s but in 5.2.0, I only get 17 msg/s
> 
> The configurations are pretty much identical between the two versions:
> 5.2: -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
> -Dorg.apache.activemq.UseDedicatedTaskRunner=false
> 5.1: -Xmx386m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
> -Dorg.apache.activemq.UseDedicatedTaskRunner=false
> 
> prefetch=1 for both versions.
> 
> (Notes worthy: the test program producer/consumers are using the 5.2
> activemq-all.jar, only the broker server is changed in the tests.)
> 
> I know the implication of the UseDedicatedTaskRunner and prefetch, but
> here they are identical for both versions.
> 
> Why is there such a huge performance hit in 5.2?
> 
> Thanks
> 
> 

-- 
View this message in context: http://www.nabble.com/Severe-performance-hit-upgrading-to-5.2.0-from-5.1-tp22016698p22051194.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message