[ 
https://issues.apache.org/jira/browse/HBASE-17917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984546#comment-15984546
 ] 

Duo Zhang commented on HBASE-17917:
-----------------------------------

The result is optimistic.

The commands are the same with above.

One Thread Test
PREAD    : ~220s
STREAM : ~187s
DEFAULT: ~187s

Ten Theads Test
PREAD    : ~32s
STREAM : ~27s
DEFAULT: ~27s

Notice that I've removed the streamLock in HFileReaderImpl as we will always 
create a new reader for stream read now, so the result of 10 threads test for 
STREAM is also much better.

I guess you will like this, sir [~stack].


> Use pread by default for all user scan
> --------------------------------------
>
>                 Key: HBASE-17917
>                 URL: https://issues.apache.org/jira/browse/HBASE-17917
>             Project: HBase
>          Issue Type: Sub-task
>          Components: scan
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17917.patch, HBASE-17917-v1.patch
>
>
> As said in the parent issue. We need some benchmark here first.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to