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

Duo Zhang commented on HBASE-22564:
-----------------------------------

OK, tried multi put
{noformat}
./bin/hbase pe --nomapred --presplit=10 --autoFlush=true --multiPut=100 
--rows=1000000 randomWrite 10 &>test_write.log < /dev/null &
{noformat}

master
{noformat}
2019-06-13 15:35:07,037 INFO  [main] hbase.PerformanceEvaluation: 
[RandomWriteTest] Summary of timings (ms): [39576, 38874, 39181, 38928, 39234, 
39165, 39423, 39356, 39240, 39249]
2019-06-13 15:35:07,047 INFO  [main] hbase.PerformanceEvaluation: 
[RandomWriteTest duration ]   Min: 38874ms    Max: 39576ms    Avg: 39222ms
2019-06-13 15:35:07,047 INFO  [main] hbase.PerformanceEvaluation: [ Avg latency 
(us)]   3472
2019-06-13 15:35:07,047 INFO  [main] hbase.PerformanceEvaluation: [ Avg 
TPS/QPS]        254962   row per second
{noformat}

HBASE-21512
{noformat}
2019-06-13 15:36:47,018 INFO  [main] hbase.PerformanceEvaluation: 
[RandomWriteTest] Summary of timings (ms): [37016, 36973, 37040, 37176, 37189, 
36650, 36994, 37319, 37240, 36923]
2019-06-13 15:36:47,028 INFO  [main] hbase.PerformanceEvaluation: 
[RandomWriteTest duration ]   Min: 36650ms    Max: 37319ms    Avg: 37052ms
2019-06-13 15:36:47,028 INFO  [main] hbase.PerformanceEvaluation: [ Avg latency 
(us)]   3320
2019-06-13 15:36:47,028 INFO  [main] hbase.PerformanceEvaluation: [ Avg 
TPS/QPS]        269897   row per second
{noformat}

The new implementation is a bit better, which means the new implementation for 
batch call is not worse than the old AsyncProcess. So I think the problem here 
is only in the new BufferedMutator or the AsyncBufferedMutator implementation. 
Let me dig...

> Compare performance number with old sync client implementation
> --------------------------------------------------------------
>
>                 Key: HBASE-22564
>                 URL: https://issues.apache.org/jira/browse/HBASE-22564
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to