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

Chung-En Lee reassigned HDDS-17886:
-----------------------------------

    Assignee: Chung-En Lee

> XceiverServerGrpc sizes its event loop group from 
> ThreadPoolExecutor#getPoolSize, which is 0 at construction
> ------------------------------------------------------------------------------------------------------------
>
>                 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
>
> 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.
> Switching to {{getCorePoolSize()}} would restore the HDDS-5962 sizing, but it 
> would also shrink the group on most datanodes compared to current master 
> (e.g. 12 disks with the default 10 threads per volume on a 48-core host: 96 → 
> 12 threads). HDDS-10908 found {{poolSize / 10}} too small, so the intended 
> size should be decided together with HDDS-10908.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to