Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 22523 invoked from network); 31 Dec 2009 19:47:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Dec 2009 19:47:52 -0000 Received: (qmail 32048 invoked by uid 500); 31 Dec 2009 19:47:52 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 31997 invoked by uid 500); 31 Dec 2009 19:47:52 -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 31987 invoked by uid 99); 31 Dec 2009 19:47:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 19:47:52 +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; Thu, 31 Dec 2009 19:47:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C1D76234C1EF for ; Thu, 31 Dec 2009 11:47:29 -0800 (PST) Message-ID: <1713608086.1262288849793.JavaMail.jira@brutus.apache.org> Date: Thu, 31 Dec 2009 19:47:29 +0000 (UTC) From: "Stu Hood (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-658) Hinted Handoff CF contention In-Reply-To: <2138157683.1262141129784.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-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stu Hood updated CASSANDRA-658: ------------------------------- Comment: was deleted (was: Hmm, also, I noticed that these patches don't actually remove the 'sharded row locks'. They shouldn't be necessary anymore, correct?) > Hinted Handoff CF contention > ---------------------------- > > Key: CASSANDRA-658 > URL: https://issues.apache.org/jira/browse/CASSANDRA-658 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.5 > Environment: debian lenny amd64 OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode) > Reporter: Brandon Williams > Assignee: Jonathan Ellis > Fix For: 0.9 > > Attachments: 0001-use-throughput-and-op-count-instead-of-size-and-column.txt, 0002-replace-sharded-row-locks-with-column-level-locking.txt > > > Hinted handoff causes a lot of contention on the HH CF, causing insert speed to massively drop. Most of the row mutation stage threads end up blocking on each other at Memtable.resolve. This is because HH sends the hint to the closest node, which will always be the node handling the write. > To reproduce: start a cluster with even InitialTokens, and begin a constant stream of writes to one node, with an even key distribution. (I used 4 nodes and stress.py in random mode.) Take a node down, and the insert rate begin to drop, eventually settling between 100-300/s and sustaining there. Bringing the down node back up will restore the original insert rate. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.