[
https://issues.jboss.org/browse/WFCORE-1000?page=com.atlassian.jira.plugi...
]
Jason Greene updated WFCORE-1000:
---------------------------------
Description: On Linux, Runtime.getRuntime().availableProcessors() always returns the
host CPU count regardless of the process' cpuset affinity. This effectively means
usage of cgroups (e.g. using docker) and numactl will lead to oversized thread pools.
While this issue should be fixed in the JVM, we should workaround the problem by reading
/proc.
Take into account cpuset masks on Linux when using cpu count for
sizing pools
-----------------------------------------------------------------------------
Key: WFCORE-1000
URL:
https://issues.jboss.org/browse/WFCORE-1000
Project: WildFly Core
Issue Type: Feature Request
Components: Server
Reporter: Jason Greene
Assignee: Jason Greene
Fix For: 2.0.0.CR4
On Linux, Runtime.getRuntime().availableProcessors() always returns the host CPU count
regardless of the process' cpuset affinity. This effectively means usage of cgroups
(e.g. using docker) and numactl will lead to oversized thread pools. While this issue
should be fixed in the JVM, we should workaround the problem by reading /proc.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)