hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hongyu bi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12977) normalize handlerCount to keep handlers distributed evenly among callQueues
Date Thu, 05 Feb 2015 11:23:34 GMT

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

hongyu bi commented on HBASE-12977:
-----------------------------------

thanks [~mbertozzi] for review.
what i mean is that  if handlerCount is a prime number or else with handler factor enabled,
rpc handlers won't be distributed evenly among callQueues.
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.
IMO, the handler factor option is not that obvious to tune for administrator .
Thanks.

> 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)

Mime
View raw message