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 D428CDD3 for ; Tue, 3 May 2011 19:41:44 +0000 (UTC) Received: (qmail 39045 invoked by uid 500); 3 May 2011 19:41:44 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 39021 invoked by uid 500); 3 May 2011 19:41:44 -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 39013 invoked by uid 99); 3 May 2011 19:41:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 19:41:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Tue, 03 May 2011 19:41:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 58F10BF29F for ; Tue, 3 May 2011 19:41:03 +0000 (UTC) Date: Tue, 3 May 2011 19:41:03 +0000 (UTC) From: "Terje Marthinussen (JIRA)" To: commits@cassandra.apache.org Message-ID: <301497919.19557.1304451663361.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1161959529.1741.1303803363304.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2558) Add "concurrent_compactions" configuration 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-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028381#comment-13028381 ] Terje Marthinussen commented on CASSANDRA-2558: ----------------------------------------------- Sorry, did not watch this the last few days, but yes, it was a special case that triggered this, however, the fact that I managed to trigger it, means that I would like to be protected against it. Just started a system with beta2 code, and so far, it seems like it works. There are however a couple of tiny issues: You still have a "compacters" in the sample config file. #concurrent_compacters: 1 I also see that when I set compactors to 6, I get 7 tmp files. I would guess that is not intentional but a small offset problem? I was looking for some sort of FAQ or something on this, so just a small side question. Should issues with a patch be reported in the same jira once set to resolved or should I really make a new one in this case? > Add "concurrent_compactions" configuration > ------------------------------------------ > > Key: CASSANDRA-2558 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2558 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 0.8 beta 1 > Reporter: Sylvain Lebresne > Assignee: Sylvain Lebresne > Priority: Trivial > Fix For: 0.8.0 beta 2 > > Attachments: 0001-Make-compaction-thread-number-configurable-v2.patch, 0001-Make-compaction-thread-number-configurable.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > We should expose a way to configure the max number of thread to use when multi_threaded compaction is turned on. So far, it uses nb_of_processors thread, which if you have many cores may be unreasonably high (as far as random IO is concerned and thus independently of compaction throttling)... at least unless you have SSD. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira