Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC1A410C17 for ; Sat, 20 Dec 2014 01:41:13 +0000 (UTC) Received: (qmail 44010 invoked by uid 500); 20 Dec 2014 01:41:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 43956 invoked by uid 500); 20 Dec 2014 01:41:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 43885 invoked by uid 99); 20 Dec 2014 01:41:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Dec 2014 01:41:13 +0000 Date: Sat, 20 Dec 2014 01:41:13 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12463) MemstoreLAB reduce #objects created 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/HBASE-12463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-12463: ----------------------------------- Resolution: Won't Fix Status: Resolved (was: Patch Available) ThreadLocal being bit costly I think no need to go with this now. > MemstoreLAB reduce #objects created > ----------------------------------- > > Key: HBASE-12463 > URL: https://issues.apache.org/jira/browse/HBASE-12463 > Project: HBase > Issue Type: Improvement > Components: Performance > Affects Versions: 0.99.0 > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Fix For: 2.0.0, 1.1.0 > > Attachments: HBASE-12463.patch > > > By default Memstore uses MSLAB. For each of the Cell added to memstore, we will allocate area in MSLAB and return the area in BR wrapper. So each time a new BR object is created. Instead of this we can have ThreadLocal level BR instance and each time when allocate() API return the BR, we can set the byte[], offset, length on this ThreadLocal level BR instance. So totally only those many objects as the threads count (max handler count) -- This message was sent by Atlassian JIRA (v6.3.4#6332)