You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Damien Gasparina (JIRA)" <ji...@apache.org> on 2018/07/03 08:22:00 UTC

[jira] [Updated] (KAFKA-7129) Dynamic default value for number of thread configuration

     [ https://issues.apache.org/jira/browse/KAFKA-7129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Damien Gasparina updated KAFKA-7129:
------------------------------------
    Description: 
There are properties in the broker to change the number of thread of a component (e.g. _num.replica.fetchers_ or _num.network.threads_). After discussing with [~astubbs], it seems that the default values are optimized for an 8 CPU machine and might not be optimized for larger machine (e.g. 48 cores). 

For those larger machine, an admin need to tune them to be able to use all resources of the host.

Having dynamic default value (e.g. _num.replica.fetchers_ = _ceil(number of core / 8)_, etc..._) instead of static (e.g. _num.replica.fetchers =1_) could be a more efficient strategy to have default values optimized for different kind of deployment.

  was:
There are properties in the broker to change the number of thread of a component (e.g. _num.replica.fetchers_ or _num.network.threads_). After discussing with [~astubbs], it seems that the default values are optimized for an 8 CPU machine and might not be optimized for larger machine (e.g. 48 cores). 

For those larger machine, an admin need to tune them to be able to use all resources of the host.

Having dynamic default value (e.g. _num.replica.fetchers = ceil(number of core / 8), etc...) instead of static (e.g. _num.replica.fetchers =1) could be a more efficient strategy to have default values optimized for different kind of deployment.


> Dynamic default value for number of thread configuration
> --------------------------------------------------------
>
>                 Key: KAFKA-7129
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7129
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>            Reporter: Damien Gasparina
>            Priority: Minor
>
> There are properties in the broker to change the number of thread of a component (e.g. _num.replica.fetchers_ or _num.network.threads_). After discussing with [~astubbs], it seems that the default values are optimized for an 8 CPU machine and might not be optimized for larger machine (e.g. 48 cores). 
> For those larger machine, an admin need to tune them to be able to use all resources of the host.
> Having dynamic default value (e.g. _num.replica.fetchers_ = _ceil(number of core / 8)_, etc..._) instead of static (e.g. _num.replica.fetchers =1_) could be a more efficient strategy to have default values optimized for different kind of deployment.



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