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-14020) Unsafe based optimized write in ByteBufferOutputStream
Date Fri, 03 Jul 2015 16:39:04 GMT

     [ 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)

Mime
View raw message