[
https://issues.apache.org/jira/browse/HBASE-12977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307077#comment-14307077
]
Matteo Bertozzi commented on HBASE-12977:
-----------------------------------------
{quote}let's say handlerCount =10 ,handler factor=0.4 which produce
numCallQueues to 4, so we distribute 10 handlers to 4 callQueues.
with this patch we'll normalize handlerCount to 12.{quote}
that's not what the patch is doing
handlerCount = 10
callQueuesHandlersFactor = 0.4
numCallQueues = handlerCount * callQueuesHandlersFactor
handlerPerQueue = 1 / callQueuesHandlersFactor
handlerCount = numCallQueues * handlerPerQueue
handlerCount is 10 and not 12
> normalize handlerCount to keep handlers distributed evenly among callQueues
> ----------------------------------------------------------------------------
>
> Key: HBASE-12977
> URL: https://issues.apache.org/jira/browse/HBASE-12977
> Project: HBase
> Issue Type: Improvement
> Reporter: hongyu bi
> Assignee: hongyu bi
> Priority: Minor
> Attachments: HBASE-12977-v0.patch
>
>
> If enable multi callQueues , handlers may not be distributed evenly among
> multi queues, which mean the queue's capacity is not the same. Should we make
> handler's distribution even?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)