[
https://issues.apache.org/jira/browse/HDDS-17886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chung-En Lee updated HDDS-17886:
--------------------------------
Summary: XceiverServerGrpc event loop size ignores read thread config
(was: XceiverServerGrpc event loop group always uses Netty default size)
> XceiverServerGrpc event loop size ignores read thread config
> ------------------------------------------------------------
>
> Key: HDDS-17886
> URL: https://issues.apache.org/jira/browse/HDDS-17886
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Datanode
> Reporter: Chung-En Lee
> Assignee: Chung-En Lee
> Priority: Major
> Labels: pull-request-available
>
> HDDS-11627 changed the event loop group size in {{XceiverServerGrpc}} from
> {{poolSize / 10}} to {{readExecutors.getPoolSize() / 10}}.
> {{ThreadPoolExecutor#getPoolSize()}} returns the number of live threads,
> which is 0 for the new executor passed in by {{OzoneContainer}}. Netty treats
> 0 as "use the default", so the group always gets 2 × available processors
> threads, and {{hdds.datanode.read.chunk.threads.per.volume}} no longer
> affects it.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]