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 B9CFC10720 for ; Wed, 26 Jun 2013 17:56:21 +0000 (UTC) Received: (qmail 23027 invoked by uid 500); 26 Jun 2013 17:56:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 22910 invoked by uid 500); 26 Jun 2013 17:56:21 -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 22633 invoked by uid 99); 26 Jun 2013 17:56:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 17:56:20 +0000 Date: Wed, 26 Jun 2013 17:56:20 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5534) Writing wide row causes high CPU usage after compaction 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-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694121#comment-13694121 ] Sylvain Lebresne commented on CASSANDRA-5534: --------------------------------------------- Would you mind testing that again? I just tried the same test with current trunk and it's fast (< 2s for the whole stress). > Writing wide row causes high CPU usage after compaction > ------------------------------------------------------- > > Key: CASSANDRA-5534 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5534 > Project: Cassandra > Issue Type: Bug > Affects Versions: 2.0 beta 1 > Reporter: Ryan McGuire > Assignee: Sylvain Lebresne > Fix For: 2.0 > > Attachments: wide_row_stress.trunk.log.txt.gz > > > Introduced in commit -e74c13ff08663d306dcc5cdc99c07e9e6c12ca21- (see below) there is a significant slow down when creating a wide row with cassandra-stress: > Testing with the prior (good) commit I used this to write a single wide row, which completed rather quickly: > {code} > $ ccm create -v git:60f09f0121e0801851b9ab017eddf7e326fa05fb wide-row > Fetching Cassandra updates... > Cloning Cassandra (from local cache) > Checking out requested branch (60f09f0121e0801851b9ab017eddf7e326fa05fb) > Compiling Cassandra 60f09f0121e0801851b9ab017eddf7e326fa05fb ... > Current cluster is now: wide-row > $ ccm populate -n 1 > $ ccm start > $ time ccm node1 stress -c 10000 -S 1000 -n 1 > Created keyspaces. Sleeping 1s for propagation. > total,interval_op_rate,interval_key_rate,latency/95th/99th,elapsed_time > 1,0,0,273.3,273.3,273.3,0 > END > real 0m7.106s > user 0m1.710s > sys 0m0.120s > {code} > Using the bugged commit (e74c13ff08663d306dcc5cdc99c07e9e6c12ca21) I get a significant slow down: > {code} > 02:42 PM:~$ ccm create -v git:e74c13ff08663d306dcc5cdc99c07e9e6c12ca21 wide-row > Fetching Cassandra updates... > Current cluster is now: wide-row > 02:42 PM:~$ ccm populate -n 1 > 02:42 PM:~$ ccm start > 02:42 PM:~$ time ccm node1 stress -c 10000 -S 1000 -n 1 > Created keyspaces. Sleeping 1s for propagation. > total,interval_op_rate,interval_key_rate,latency,95th,99th,elapsed_time > 1,0,0,423.2,423.2,423.2,0 > Total operation time : 00:00:00 > END > real 4m16.394s > user 0m2.230s > sys 0m0.137s > {code} > Interestingly, the commit in question just says it's a merge from cassandra-1.2, but I do not see this same slowdown using that branch, this only occurs in trunk. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira