Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 18094 invoked from network); 20 May 2010 17:51:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 May 2010 17:51:41 -0000 Received: (qmail 6489 invoked by uid 500); 20 May 2010 17:51:41 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 6458 invoked by uid 500); 20 May 2010 17:51:41 -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 6450 invoked by uid 99); 20 May 2010 17:51:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 17:51:41 +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; Thu, 20 May 2010 17:51:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4KHpHmF001387 for ; Thu, 20 May 2010 17:51:17 GMT Message-ID: <33538011.1761274377877276.JavaMail.jira@thor> Date: Thu, 20 May 2010 13:51:17 -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 Patch adds a memtable_flush_writers config option. > 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 > 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.