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 9D16B10AD6 for ; Tue, 2 Dec 2014 23:59:13 +0000 (UTC) Received: (qmail 80295 invoked by uid 500); 2 Dec 2014 23:59:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80253 invoked by uid 500); 2 Dec 2014 23:59: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 80242 invoked by uid 99); 2 Dec 2014 23:59:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 23:59:13 +0000 Date: Tue, 2 Dec 2014 23:59:13 +0000 (UTC) From: "Enis Soztutar (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 ] Enis Soztutar updated HBASE-12463: ---------------------------------- Fix Version/s: (was: 0.99.2) 1.0.0 > 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: 1.0.0, 2.0.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)