activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H B (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2136) Reply queue performance hit upgrading to 5.2
Date Sun, 22 Feb 2009 05:27:00 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49861#action_49861
] 

H B commented on AMQ-2136:
--------------------------

OK, I found out the direct cause. The default amqPersistence store somehow slows to a hell.

After I change the persistence adaptor to

        <persistenceAdapter>
	    <kahaPersistenceAdapter directory="activemq-data" maxDataFileLength="33554432"/>
            <!--amqPersistenceAdapter syncOnWrite="false" directory="${activemq.base}/data"
maxFileLength="20 mb"/-->
        </persistenceAdapter>

The performance number goes up to the roof -- 1000 msg/s.

cleaning out the old data/ directory content wouldn't help the poor amq persistence store
either.

> Reply queue performance hit upgrading to 5.2
> --------------------------------------------
>
>                 Key: AMQ-2136
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2136
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Performance Test
>    Affects Versions: 5.2.0
>         Environment: Windows Vista, JDK 1.6
>            Reporter: H B
>            Priority: Critical
>         Attachments: test.java
>
>
> When upgrading to AMQ 5.2, my application gets 10x slower. This is traced to the usage
of reply queue. I have written a test case (will be attached.)
> In 5.1,
> sender: 16.0 seconds spent for sending 8000 times, avg. 500.0msg/s
> In 5.2:
> sender: 432.0 seconds spent for sending 10000 times, avg. 23.148148msg/s
> I have tried arrange the steps a bit (see commented out line,) no help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message