Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 41443 invoked from network); 28 May 2010 21:06:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 May 2010 21:06:02 -0000 Received: (qmail 77411 invoked by uid 500); 28 May 2010 21:06:02 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 77396 invoked by uid 500); 28 May 2010 21:06:02 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 77388 invoked by uid 99); 28 May 2010 21:06:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 May 2010 21:06:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 May 2010 21:06:00 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4SL5cOp013505 for ; Fri, 28 May 2010 21:05:38 GMT Message-ID: <12610873.58221275080738661.JavaMail.jira@thor> Date: Fri, 28 May 2010 17:05:38 -0400 (EDT) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1099) make CFS.flushWriter_ size configurable In-Reply-To: <9618957.83611274109163152.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-1099: ---------------------------------------- Attachment: 1099.txt Updated patch which comments out the config, which will default the number of writer threads to the number of data directories. > make CFS.flushWriter_ size configurable > --------------------------------------- > > Key: CASSANDRA-1099 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1099 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Jonathan Ellis > Assignee: Brandon Williams > Priority: Minor > Fix For: 0.7 > > Attachments: 1099.txt > > > For small heaps (including our out-of-the-box 1G) we want to allow reducing this from the automatic (1 + 2 * DatabaseDescriptor.getAllDataFileLocations().length); having 3 memtables in the queue, plus another being written, is over 200MB which is a significant amount of data for the GC to chew through (see CASSANDRA-1014). > For large heaps, we might also want to allow *increasing* this value, to accommodate load spikes better. > Unfortunately making this configurable at runtime does not appear to be an option due to the lack of a setCapacity method on any of the BlockingQueue classes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.