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

Vikas Vishwakarma commented on HBASE-17877:
-------------------------------------------

thanks for pointing that out [~Apache9], I did one more iteration by making the 
byte 43 also random , that reduces the overall throughput but the trend is 
similar although downscaled. Also had another issue  that the size for the 64 
byte array was not set correctly, fixed that too. I haven't used BlackHole to 
consume the results though .. 

|----|HBase|----|----|Hadoop|----|----|%diff|----|----|
|byte array diff index|min|mean|max|min|mean|max|min|mean|max|
|4|18942.652|18973.949|18987.352|19763.044|19891.738|19920.7|4|5|5|
|8|18442.078|18705.334|18774.54|19239.098|19867.222|19882.932|4|6|6|
|16|17947.642|18305.516|18328.247|18689.068|18728.62|18736.506|4|2|2|
|20|18131.127|18227.991|18255.977|16191.106|16344.762|16371.75|-11|-10|-10|
|32|17836.654|17992.312|18011.39|18104.608|18156.329|18163.441|2|1|1|
|50|17092.018|17136.187|17145.662|16188.646|16253.307|16266.726|-5|-5|-5|
|64|15619.9|16171.297|16871.696|16931.176|17045.861|17072.514|8|5|1|
|100|14598.426|14635.332|14644.213|12997.744|13160.004|13220.913|-11|-10|-10|
|128|13787.756|13823.701|13848.585|13971.965|14012.841|14038.761|1|1|1|
|200|11489.823|11539.769|11556.094|11354.532|11477.838|11497.657|-1|-1|-1|
|256|9488.517|10212.983|10238.57|10237.903|10296.764|10301.186|8|1|1|
|512|6611.667|6641.862|6645.826|8535.101|8615.486|8653.864|29|30|30|
|1024|3933.345|3939.653|3940.835|4881.189|4965.591|4972.502|24|26|26|
|2048|2057.51|2177.584|2191.693|3168.817|3188.902|3192.435|54|46|46|
|4096|1124.412|1146.459|1151.985|1617.375|1659.386|1903.191|44|45|65|
|8192|510.079|515.797|516.433|555.235|559.029|559.622|9|8|8|
|16384|268.525|270.674|271.184|502.553|503.674|504.833|87|86|86|

> Replace/improve HBase's byte[] comparator
> -----------------------------------------
>
>                 Key: HBASE-17877
>                 URL: https://issues.apache.org/jira/browse/HBASE-17877
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Vikas Vishwakarma
>         Attachments: 17877-1.2.patch, 17877-v2-1.3.patch, 
> ByteComparatorJiraHBASE-17877.pdf
>
>
> [~vik.karma] did some extensive tests and found that Hadoop's version is 
> faster - dramatically faster in some cases.
> Patch forthcoming.



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

Reply via email to