From activemq-dev-return-2747-apmail-geronimo-activemq-dev-archive=geronimo.apache.org@geronimo.apache.org Thu Aug 31 12:39:46 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 40843 invoked from network); 31 Aug 2006 12:39:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 12:39:45 -0000 Received: (qmail 96058 invoked by uid 500); 31 Aug 2006 12:39:45 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 96035 invoked by uid 500); 31 Aug 2006 12:39:44 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 96026 invoked by uid 99); 31 Aug 2006 12:39:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 05:39:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 05:39:43 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 93D6E410017 for ; Thu, 31 Aug 2006 12:36:23 +0000 (GMT) Message-ID: <30503023.1157027783602.JavaMail.jira@brutus> Date: Thu, 31 Aug 2006 05:36:23 -0700 (PDT) From: "Daniel Aioanei (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Created: (AMQ-905) A single JMS Listener is way too slow MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A single JMS Listener is way too slow ------------------------------------- Key: AMQ-905 URL: https://issues.apache.org/activemq/browse/AMQ-905 Project: ActiveMQ Issue Type: Bug Affects Versions: 4.0.1 Reporter: Daniel Aioanei Attachments: activemq.xml I'm using ActiveMQ 4.0.1 with a DerbyDB backend and I have a single JMS listener for a queue with loads of messages. In order to see how many msg/second are processed by a no-op JMS listener, with a single concurrent session, I used the following configuration: The problem is that the consumption speed is 11 msg/second and cpu consumption is about 1-2%. To get almost 100% cpu usage I have to increase threadPoolSize and maximumRedeliveries to 1000 (!) and at that point the consumption speed reaches 142 msg/sec, which is not too impressive either. I'm not sure if it's a Jencks or ActiveMQ issue here. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira