You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Vladimir Rodionov (JIRA)" <ji...@apache.org> on 2016/04/15 22:58:25 UTC

[jira] [Updated] (HBASE-15543) HFileScannerImpl.getCell() allocates cell object on every call

     [ https://issues.apache.org/jira/browse/HBASE-15543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Rodionov updated HBASE-15543:
--------------------------------------
    Attachment: HBASE-15544-v1.patch

experimental patch. Only for compaction threads. The optimization should work for any scanner with caching disabled, but make it easy usable for general case is not that easy (hate additional config options)

This shows some 20% reduction in memory allocation speed during compactions. Combined with HBASE-15509 it will give 40-45% reduction.

> HFileScannerImpl.getCell() allocates cell object on every call
> --------------------------------------------------------------
>
>                 Key: HBASE-15543
>                 URL: https://issues.apache.org/jira/browse/HBASE-15543
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>         Attachments: HBASE-15544-v1.patch
>
>
> This accounts for 28% of memory allocation in compaction thread.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)