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 0849017922 for ; Wed, 11 Feb 2015 17:07:14 +0000 (UTC) Received: (qmail 70849 invoked by uid 500); 11 Feb 2015 17:07:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 70813 invoked by uid 500); 11 Feb 2015 17:07:13 -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 70801 invoked by uid 99); 11 Feb 2015 17:07:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 17:07:13 +0000 Date: Wed, 11 Feb 2015 17:07:13 +0000 (UTC) From: "Yuki Morishita (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8787) Decrease Default concurrent_compactors from number of CPU MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316543#comment-14316543 ] Yuki Morishita commented on CASSANDRA-8787: ------------------------------------------- For 2.1+, it is capped by the number of data directories (CASSANDRA-7139). > Decrease Default concurrent_compactors from number of CPU > --------------------------------------------------------- > > Key: CASSANDRA-8787 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8787 > Project: Cassandra > Issue Type: Improvement > Reporter: Sebastian Estevez > Priority: Minor > Fix For: 3.0 > > > Currently we default concurrent_compactors to the number of avaliable CPUs which means compactions can theoretically take over all threads and prevent reads and writes from happening. > I'm currently seeing an extreme case of this that is caused by [6405|https://issues.apache.org/jira/browse/CASSANDRA-6405]. But, in general, this is a bad default. We should probably default concurrent_compactors to num_cpu to cores/2 or even cores/4. -- This message was sent by Atlassian JIRA (v6.3.4#6332)