hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12463) MemstoreLAB reduce #objects created
Date Sat, 20 Dec 2014 01:41:13 GMT

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

Anoop Sam John updated HBASE-12463:
-----------------------------------
    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

ThreadLocal being bit costly I think no need to go with this now.

> MemstoreLAB reduce #objects created
> -----------------------------------
>
>                 Key: HBASE-12463
>                 URL: https://issues.apache.org/jira/browse/HBASE-12463
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 0.99.0
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: HBASE-12463.patch
>
>
> By default Memstore uses MSLAB. For each of the Cell added to memstore, we will allocate
area in MSLAB and return the area in BR wrapper. So each time a new BR object is created.
Instead of this we can have ThreadLocal level BR instance and each time when allocate() API
return the BR, we can set the byte[], offset, length on this ThreadLocal level BR instance.
So totally only those many objects as the threads count (max handler count)



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

Mime
View raw message