From commits-return-19518-apmail-activemq-commits-archive=activemq.apache.org@activemq.apache.org Fri Aug 10 03:38:32 2012 Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42B43D388 for ; Fri, 10 Aug 2012 03:38:32 +0000 (UTC) Received: (qmail 82614 invoked by uid 500); 10 Aug 2012 03:38:31 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 82518 invoked by uid 500); 10 Aug 2012 03:38:30 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 82506 invoked by uid 99); 10 Aug 2012 03:38:30 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2012 03:38:30 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BF33D142818 for ; Fri, 10 Aug 2012 03:38:28 +0000 (UTC) Date: Fri, 10 Aug 2012 03:38:28 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: <1315434606.65.1344569908785.JavaMail.jiratomcat@issues-vm> In-Reply-To: <915005749.49783.1329460199505.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (APLO-163) Consider auto-tuning the per-connection buffers (receive_buffer_size and send_buffer_size) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APLO-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432587#comment-13432587 ] Hiram Chirino commented on APLO-163: ------------------------------------ And I just committed a change to autotune the stomp buffer_size too. > Consider auto-tuning the per-connection buffers (receive_buffer_size and send_buffer_size) > ------------------------------------------------------------------------------------------ > > Key: APLO-163 > URL: https://issues.apache.org/jira/browse/APLO-163 > Project: ActiveMQ Apollo > Issue Type: Improvement > Reporter: Lionel Cons > Fix For: 1.5 > > > As seen in APLO-160, the size of the per-connection buffers can greatly impact the memory usage. > Since it can be difficult to predict how many concurrent connections will have to be handled by the broker, it would be good if the broker could auto-tune the buffer sizes. > The broker should be able to get JVM memory information and decide how much space should be devoted to connection buffers (as opposed to other memory usages). Then, based on the number of existing connections and the total buffer space they occupy, the broker could tune the per-connection buffer sizes of the new connections (at least, it could also adjust the existing buffers). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira