You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2016/12/21 05:05:58 UTC

[jira] [Updated] (HBASE-17353) Cache famLen in OffheapKeyValue

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

ramkrishna.s.vasudevan updated HBASE-17353:
-------------------------------------------
    Attachment: OffheapKV famLen cost.png

> Cache famLen in OffheapKeyValue
> -------------------------------
>
>                 Key: HBASE-17353
>                 URL: https://issues.apache.org/jira/browse/HBASE-17353
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: OffheapKV famLen cost.png
>
>
> WE need to discuss here. Already we had a TODO here. But this comes again after offheap memstore is committed in trunk. 
> Attaching a screenshot to show the impact. True that these changes won't have a direct impact on the final perf but at micro level they would have. 
> In case of KeyValue it is just retrieving a byte from the byte[] (o(1) access).
> But here we need to access the memory to retrive that one byte thought it is Unsafe. 



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