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 973E1200B9C for ; Mon, 26 Sep 2016 06:25:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8ABA9160AE2; Mon, 26 Sep 2016 04:25:22 +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 F2487160ACE for ; Mon, 26 Sep 2016 06:25:21 +0200 (CEST) Received: (qmail 40054 invoked by uid 500); 26 Sep 2016 04:25:21 -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 40035 invoked by uid 99); 26 Sep 2016 04:25:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2016 04:25:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B95782C0B04 for ; Mon, 26 Sep 2016 04:25:20 +0000 (UTC) Date: Mon, 26 Sep 2016 04:25:20 +0000 (UTC) From: "binlijin (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16703) Explore object pooling of SeekerState MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 26 Sep 2016 04:25:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522005#comment-15522005 ] binlijin commented on HBASE-16703: ---------------------------------- SeekerState is org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder.SeekerState. > Explore object pooling of SeekerState > ------------------------------------- > > Key: HBASE-16703 > URL: https://issues.apache.org/jira/browse/HBASE-16703 > Project: HBase > Issue Type: Task > Reporter: Andrew Purtell > > In read workloads 35% of the allocation pressure produced by servicing RPC requests comes from SeekerState. of the DataBlockEncoder implementation currently in use, where we allocate two byte arrays of INITIAL_KEY_BUFFER_SIZE in length. There's an opportunity for object pooling of SeekerState here. Subsequent code checks if those byte arrays are sized sufficiently to handle incoming data to copy. The arrays will be resized if needed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)