Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-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 245E8783D for ; Fri, 23 Dec 2011 04:04:01 +0000 (UTC) Received: (qmail 23645 invoked by uid 500); 23 Dec 2011 04:04:00 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 23621 invoked by uid 500); 23 Dec 2011 04:03:58 -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 23598 invoked by uid 99); 23 Dec 2011 04:03:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 04:03:55 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 04:03:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F0FB11242C3 for ; Fri, 23 Dec 2011 04:03:30 +0000 (UTC) Date: Fri, 23 Dec 2011 04:03:30 +0000 (UTC) From: "Jonathan Ellis (Updated) (JIRA)" To: commits@cassandra.apache.org Message-ID: <1520329369.41536.1324613010988.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1364078215.32834.1321396311907.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-3497) BloomFilter FP ratio should be configurable or size-restricted some other way 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-3497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-3497: -------------------------------------- Attachment: 3497-v3.txt Sorry, I didn't look closely enough the first time. The BloomFilter#modify approach won't work: when we change the BF parameters we change what bits should be set -- there's no way to rebuild it with new parameters without re-inserting all the keys. Attached v3 that just changes the BloomFilter constructor in SSTableWriter. (So, people will have to scrub to rebuild things, but that's the best we can do.) Also changed the setting to bloom_filter_fp_chance and updated cli help. How does that look to you? > BloomFilter FP ratio should be configurable or size-restricted some other way > ----------------------------------------------------------------------------- > > Key: CASSANDRA-3497 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3497 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Brandon Williams > Assignee: Yuki Morishita > Priority: Minor > Fix For: 1.0.7 > > Attachments: 3497-v3.txt, CASSANDRA-1.0-3497.txt > > > When you have a live dc and purely analytical dc, in many situations you can have less nodes on the analytical side, but end up getting restricted by having the BloomFilters in-memory, even though you have absolutely no use for them. It would be nice if you could reduce this memory requirement by tuning the desired FP ratio, or even just disabling them altogether. -- 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