Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 58682 invoked from network); 10 Mar 2010 17:56:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Mar 2010 17:56:21 -0000 Received: (qmail 64395 invoked by uid 500); 10 Mar 2010 17:55:50 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 64380 invoked by uid 500); 10 Mar 2010 17:55:50 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 64372 invoked by uid 99); 10 Mar 2010 17:55:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Mar 2010 17:55:50 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Mar 2010 17:55:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 418B8234C4C1 for ; Wed, 10 Mar 2010 17:55:27 +0000 (UTC) Message-ID: <666254698.181141268243727267.JavaMail.jira@brutus.apache.org> Date: Wed, 10 Mar 2010 17:55:27 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-863) Default cache levels should be explicit, not percentage In-Reply-To: <471976562.146781268108248005.JavaMail.jira@brutus.apache.org> 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-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-863: ------------------------------------- Attachment: 863-v2.txt v2 -- change default keys cached to 200k, move examples of overriding that in sample config to CFs not used by stress test, and make Super1 BytesType so stress performance isn't artificially worse than standard1 from the comparator > Default cache levels should be explicit, not percentage > ------------------------------------------------------- > > Key: CASSANDRA-863 > URL: https://issues.apache.org/jira/browse/CASSANDRA-863 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 0.6 > Reporter: Brandon Williams > Assignee: Brandon Williams > Priority: Trivial > Fix For: 0.6 > > Attachments: 863-v2.txt, 863.txt > > > Now that we can specify explicit numbers for row and key caches, the default config should use this. The reason is that it's very easy to grow your keys and not realize a percentage is going to get you eventually. It's better to have a system that has a low cache hit rate and keeps going than a system that encounters memory pressure from overpopulating its cache and slows to a crawl or dies. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.