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 E6FED18F32 for ; Wed, 5 Aug 2015 21:21:08 +0000 (UTC) Received: (qmail 26097 invoked by uid 500); 5 Aug 2015 21:21:08 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 26067 invoked by uid 500); 5 Aug 2015 21:21:08 -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 26053 invoked by uid 99); 5 Aug 2015 21:21:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2015 21:21:08 +0000 Date: Wed, 5 Aug 2015 21:21:08 +0000 (UTC) From: "Ariel Weisberg (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9533) Make batch commitlog mode easier to tune 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-9533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658966#comment-14658966 ] Ariel Weisberg commented on CASSANDRA-9533: ------------------------------------------- OK round #2. This just means that if there is work waiting to sync it starts syncing immediately as long as there is stuff pending sync. So you get smart batching? Sounds reasonable for a proper setup, but if you point this at a consumer SSD is it just going to chew through erase blocks all day long as writes trickle in? I am +1 on this. I am just probing for a corner case where it is undesirable. > Make batch commitlog mode easier to tune > ---------------------------------------- > > Key: CASSANDRA-9533 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9533 > Project: Cassandra > Issue Type: Improvement > Reporter: Jonathan Ellis > Assignee: Benedict > Fix For: 3.x > > > As discussed in CASSANDRA-9504, 2.1 changed commitlog_sync_batch_window_in_ms from a maximum time to wait between fsync to the minimum time, so one must be very careful to keep it small enough that most writers aren't kept waiting. -- This message was sent by Atlassian JIRA (v6.3.4#6332)