Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 50848 invoked from network); 17 Feb 2009 11:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2009 11:14:08 -0000 Received: (qmail 374 invoked by uid 500); 17 Feb 2009 11:14:07 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 349 invoked by uid 500); 17 Feb 2009 11:14:06 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 338 invoked by uid 99); 17 Feb 2009 11:14:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 03:14:06 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.220.20 as permitted sender) Received: from [209.85.220.20] (HELO mail-fx0-f20.google.com) (209.85.220.20) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 11:13:57 +0000 Received: by fxm13 with SMTP id 13so6980775fxm.14 for ; Tue, 17 Feb 2009 03:13:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pOp0nRqE6mogoRSBuBEKlUGM/1Wb16IEqL+ZkHvHHnY=; b=Yts1BmKC8pURaflw1O7GQIXqe5e3pyNo+2AVBKTiUmMHL3luWztWCf6DttlY50CxtL oKZObDZC+kVt1pd9gNLncRWP/pLJzW+JAHbZmfzXNEkxP/GQyQzfdPvZDZCkj8SnFI4/ wUDC9i9jpvkbgXlBUK3ikixIRS6ZgH1Fmwp0Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=TFqcH7IMcaiDs9JOZBL9XBL4jQAp6Y8rlCnq+8fcMF7CAc6DGslR6TmcKen/OOSrIT XPQSLGKGxYAciFgHmP3+lwBLPEFHSi9ceTgozbFfWpABfu1Ysta02znXebs/AZbzeGbr pE8nilLT3bGTJt6SzVXht7llVIZ7TzH+ZCnbM= MIME-Version: 1.0 Received: by 10.181.209.1 with SMTP id l1mr358796bkq.113.1234869216389; Tue, 17 Feb 2009 03:13:36 -0800 (PST) In-Reply-To: <22051194.post@talk.nabble.com> References: <22016698.post@talk.nabble.com> <22051194.post@talk.nabble.com> Date: Tue, 17 Feb 2009 11:13:36 +0000 Message-ID: <3a73c17c0902170313w540b0204k51cda9d4bc5e6c42@mail.gmail.com> Subject: Re: Severe performance hit upgrading to 5.2.0 from 5.1 From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Seems odd, Are you using a transacted session? Could you post your code so we can give it a whirl? possibly attach it to a jira issue. 2009/2/17 hackingbear : > > 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. > > -- http://blog.garytully.com Open Source SOA http://FUSESource.com