You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2015/07/03 18:39:04 UTC

[jira] [Updated] (HBASE-14020) Unsafe based optimized write in ByteBufferOutputStream

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

Anoop Sam John updated HBASE-14020:
-----------------------------------
    Attachment: HBASE-14020.patch

Tested the patch with PE tool.
./hbase org.apache.hadoop.hbase.PerformanceEvaluation --nomapred --addColumns=false --rows=100 scanRange10000 20

I can see 4.2% better performance.

Did not test JMH micro benchmark which will be much more IMO.

> Unsafe based optimized write in ByteBufferOutputStream
> ------------------------------------------------------
>
>                 Key: HBASE-14020
>                 URL: https://issues.apache.org/jira/browse/HBASE-14020
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Scanners
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14020.patch
>
>
> We use this class to build the cellblock at RPC layer. The write operation is doing puts to java ByteBuffer which is having lot of overhead. Instead we can do Unsafe based copy to buffer operation.



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