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 CE1681947C for ; Tue, 29 Mar 2016 05:53:25 +0000 (UTC) Received: (qmail 11054 invoked by uid 500); 29 Mar 2016 05:53:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 11004 invoked by uid 500); 29 Mar 2016 05:53:25 -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 10989 invoked by uid 99); 29 Mar 2016 05:53:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2016 05:53:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6C2DD2C14FB for ; Tue, 29 Mar 2016 05:53:25 +0000 (UTC) Date: Tue, 29 Mar 2016 05:53:25 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15555) Memory Management 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-15555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215490#comment-15215490 ] Anoop Sam John commented on HBASE-15555: ---------------------------------------- bq.+ With offheap allocations, less GC but it runs for longer? It is not like when offheap we do have longer GC pause. It is when we pool the buffer. We tried it. Right now, when write request comes, we allocate new buffer and read data into it. We read cells from it and add to memstore. We have MSLAB copy just before doing the memstore write. We change the RPC layer to avoid allocate of new buffer every time. Instead , we use BBs from the pool (BoundedByteBufferPool) and read req into it. After this change the #GCs (young GC) become half but the avg pause is increased.. So there is not much diff with net GC pause time (Observed for some 5 mns).. Every GC pause time bit more than the trunk case > Memory Management > ----------------- > > Key: HBASE-15555 > URL: https://issues.apache.org/jira/browse/HBASE-15555 > Project: HBase > Issue Type: Umbrella > Reporter: stack > Attachments: download.svg > > > Umbrella issue on memory management. One-stop shop to learn how we're doing it, tenets, and work to be done > Subtasks include: > + Map of memory allocation and recycling landscape > + Where are we allocating when we could be recycling > + MSLAB and G1GC don't go together? > + Enable MSLAB pool always? > + With offheap allocations, less GC but it runs for longer? > + Better heuristics recycling: e.g. HBASE-15525 OutOfMemory could occur when using BoundedByteBufferPool during RPC bursts > + See if can do DFSClient buffer reuse: HBASE-15506 FSDataOutputStream.write() allocates new byte buffer on each operation > What else? -- This message was sent by Atlassian JIRA (v6.3.4#6332)