Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58D3CCFB3 for ; Fri, 28 Jun 2013 13:53:05 +0000 (UTC) Received: (qmail 39261 invoked by uid 500); 28 Jun 2013 13:53:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 39008 invoked by uid 500); 28 Jun 2013 13:53:00 -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 39000 invoked by uid 99); 28 Jun 2013 13:52:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jun 2013 13:52:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.n.gale@gmail.com designates 209.85.214.179 as permitted sender) Received: from [209.85.214.179] (HELO mail-ob0-f179.google.com) (209.85.214.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jun 2013 13:52:54 +0000 Received: by mail-ob0-f179.google.com with SMTP id xk17so1978431obc.10 for ; Fri, 28 Jun 2013 06:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=iu+ZVzs+hte7jEWR+FG2lj804v8Hz3Wbgl2gQCtNAHE=; b=jYLfG+v4Lf66yVSAnEjz9Ep5kzcLAuSbj4+qGi2fLsAQrxZ6xHE7vV+m8F8v+78yU8 G3UVX14yjOXAC0F0+i5V75zMozpKsIbETqszwaDGG8AkaEwIH6+NfjqMpHjN2AS2s470 ry3yuBfR4zPsB6XRaT0tZFun0ZBqNWBIumuOS365ZGBbPuqY0b+wv45FiBmbkXdpWvae 2oD95dWXhTYulS4qhcvCcgSKX59v6RRLxU9VBRoDRScNS7aT2I5gbvlRAidu0xkskS1o 2tXi3YB5sXlvdJlQ+aD9DRhNQYvObSqmNTjznA6GsavzPT/SnAQtOu3fwTt/KuMlszlw U+2w== X-Received: by 10.60.124.69 with SMTP id mg5mr5165948oeb.104.1372427553327; Fri, 28 Jun 2013 06:52:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.50.198 with HTTP; Fri, 28 Jun 2013 06:52:03 -0700 (PDT) In-Reply-To: References: From: Paul Gale Date: Fri, 28 Jun 2013 09:52:03 -0400 Message-ID: Subject: Re: kahadb system property configuration options To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=047d7b5d33dacbcf4f04e037303a X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d33dacbcf4f04e037303a Content-Type: text/plain; charset=UTF-8 Thanks for the feedback! On Fri, Jun 28, 2013 at 8:27 AM, Gary Tully wrote: > It was an effort to increase the write throughput, but for kahadb the > bottleneck is the index so any gain/loss for different workloads was > over shadowed. > For the moment, stick with the defaults. The logging may help identify > the best value for journalMaxWriteBatchSize. > > On 27 June 2013 18:55, Christian Posta wrote: > > Maybe Gary can give you more info, but the caller buffer appender is an > > experimental appender to help offload the buffering of writes to calling > > threads and reduce the time spent in the thread that actually writes to > the > > journal. The write stat window is for logging purposes to get an idea of > an > > avg size of write batches per WRITE_STAT_WINDOW writes. > > > > > > > > > > On Thu, Jun 27, 2013 at 9:27 AM, Paul Gale > wrote: > > > >> Hi, > >> > >> I came across the following system properties that are uses by the > >> kahaDBPersistenceAdapter, their default values are: > >> > >> -Dorg.apache.kahadb.journal.appender.WRITE_STAT_WINDOW=0 > >> -Dorg.apache.kahadb.journal.CALLER_BUFFER_APPENDER=false > >> > >> A particular unit test recommends setting them to: > >> > >> -Dorg.apache.kahadb.journal.appender.WRITE_STAT_WINDOW=10000 > >> -Dorg.apache.kahadb.journal.CALLER_BUFFER_APPENDER=true > >> > >> Are these type of values recommended for when one is dealing with > >> persistent messages backed by slow storage? > >> > >> If not, can someone provide recommended scenarios when these values > should > >> be adjusted (per the unit test example above)? > >> > >> Thanks, > >> Paul > >> > > > > > > > > -- > > *Christian Posta* > > http://www.christianposta.com/blog > > twitter: @christianposta > > > > -- > http://redhat.com > http://blog.garytully.com > --047d7b5d33dacbcf4f04e037303a--