Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C4A94200B0F for ; Fri, 3 Jun 2016 06:28:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C3541160A54; Fri, 3 Jun 2016 04:28:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3B927160A51 for ; Fri, 3 Jun 2016 06:28:00 +0200 (CEST) Received: (qmail 53910 invoked by uid 500); 3 Jun 2016 04:27:59 -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 53887 invoked by uid 99); 3 Jun 2016 04:27:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2016 04:27:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 393A42C1F5C for ; Fri, 3 Jun 2016 04:27:59 +0000 (UTC) Date: Fri, 3 Jun 2016 04:27:59 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15950) We are grossly overestimating the memstore size MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 03 Jun 2016 04:28:01 -0000 [ https://issues.apache.org/jira/browse/HBASE-15950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15313549#comment-15313549 ] Anoop Sam John commented on HBASE-15950: ---------------------------------------- When memstore cells are in MSLAB, ya we may not need to consider the size of Array (this is 16 bytes per cell).. But we may need to consider the size of the actual cell bytes length. > We are grossly overestimating the memstore size > ----------------------------------------------- > > Key: HBASE-15950 > URL: https://issues.apache.org/jira/browse/HBASE-15950 > Project: HBase > Issue Type: Bug > Reporter: Enis Soztutar > Fix For: 2.0.0 > > Attachments: Screen Shot 2016-06-02 at 8.48.27 PM.png > > > While testing something else, I was loading a region with a lot of data. Writing 30M cells in 1M rows, with 1 byte values. > The memstore size turned out to be estimated as 4.5GB, while with the JFR profiling I can see that we are using 2.8GB for all the objects in the memstore (KV + KV byte[] + CSLM.Node + CSLM.Index). > This obviously means that there is room in the write cache that we are not effectively using. -- This message was sent by Atlassian JIRA (v6.3.4#6332)