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 685D910052 for ; Thu, 1 May 2014 15:09:23 +0000 (UTC) Received: (qmail 39345 invoked by uid 500); 1 May 2014 15:09:20 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 39273 invoked by uid 500); 1 May 2014 15:09:18 -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 39261 invoked by uid 99); 1 May 2014 15:09:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 15:09:18 +0000 Date: Thu, 1 May 2014 15:09:18 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7128) Upgrade NBHM 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-7128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986655#comment-13986655 ] Jonathan Ellis commented on CASSANDRA-7128: ------------------------------------------- I thought cleaning out the links and attachments would be more work than a new issue, but go for it > Upgrade NBHM > ------------ > > Key: CASSANDRA-7128 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7128 > Project: Cassandra > Issue Type: Improvement > Reporter: T Jake Luciani > Assignee: T Jake Luciani > Priority: Trivial > Labels: performance > Fix For: 2.1 beta2 > > Attachments: 7128.txt, Screen Shot 2014-04-30 at 11.07.22 PM.png > > > AbstractRowResolver uses a NBHM for each read request. > Profiler flagged this as a bottleneck since the init() call creates a AtomicReferenceFieldUpdater which is stored in a synchronized collection. > A NBHS is most certainly overkill for such a short lived object. And turns out switching it to a CHS in my tests yields a ~5-10% read boost. -- This message was sent by Atlassian JIRA (v6.2#6252)