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

Duo Zhang commented on HBASE-26590:
-----------------------------------

{quote}
Update, put the fix into a test which does real Table#get(), and still shows 
there is performance regression, so this is not the only cause. Debugging.
{quote}

I guess for a real workload the meta entris will soon be cached at client side 
so it will not effect the performance too much.

Have you considered the balancer? Is it possible that for 2.4.x, the balancer 
will keep moving regions and cause lots of cache misses, such as the client 
side meta location cache, and also the block cache at server side.

Thanks.

> Hbase-client Meta lookup performance regression between hbase-1 and hbase-2
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-26590
>                 URL: https://issues.apache.org/jira/browse/HBASE-26590
>             Project: HBase
>          Issue Type: Improvement
>          Components: meta
>    Affects Versions: 2.4.0, 2.5.0, 2.3.7, 2.6.0
>            Reporter: Huaxiang Sun
>            Assignee: Huaxiang Sun
>            Priority: Major
>
> One of our users complained higher latency after application upgrades from 
> hbase-1.2 client (CDH-5.16.2) to hbase-2.4.5 client with meta replica Load 
> Balance mode during app restart. I reproduced the regression by a test for 
> meta lookup. 
> At my test cluster, there are 160k regions for the test table, so there are 
> 160k entries in meta region. Used one thread to do 1 million meta lookup 
> against the meta region server.
>  
> ||Version ||Meta Replica Load Balance Enabled||Time               ||
> ||2.4.5-with-fixed||Yes||336458ms||
> ||2.4.5-with-fixed||No||333253ms||
> ||2.4.5||Yes||469980ms||
> ||2.4.5||No||470515ms||
> |      *cdh-5.16.2*|                                *No* |  *323412ms*|
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to