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 CB86819BDF for ; Sat, 19 Mar 2016 20:44:33 +0000 (UTC) Received: (qmail 65133 invoked by uid 500); 19 Mar 2016 20:44:33 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 65074 invoked by uid 500); 19 Mar 2016 20:44:33 -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 65061 invoked by uid 99); 19 Mar 2016 20:44:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Mar 2016 20:44:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6A3B02C14FB for ; Sat, 19 Mar 2016 20:44:33 +0000 (UTC) Date: Sat, 19 Mar 2016 20:44:33 +0000 (UTC) From: "Vladimir Rodionov (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15491) Reuse byte buffers in AsyncRpcClient 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-15491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Rodionov updated HBASE-15491: -------------------------------------- Issue Type: Improvement (was: Bug) > Reuse byte buffers in AsyncRpcClient > ------------------------------------ > > Key: HBASE-15491 > URL: https://issues.apache.org/jira/browse/HBASE-15491 > Project: HBase > Issue Type: Improvement > Components: Client > Affects Versions: 2.0.0 > Reporter: Vladimir Rodionov > Assignee: Vladimir Rodionov > Fix For: 2.0.0 > > Attachments: HBASE-15491-v1.patch > > > IPCUtil.buildCellBlock is used by both server and client. Server provides BoundedByteBufferPool for buffers reuse, client code does not do that. This results in additional memory pressure on a client side, because buffers are allocated on every call to IPCUtil.buildCellBlock. > My own local tests (with patch) show approximately 8-10% reduction in object allocation rate on a client side (with HBASE-15479 as well). -- This message was sent by Atlassian JIRA (v6.3.4#6332)