[
https://issues.jboss.org/browse/WFCORE-4768?page=com.atlassian.jira.plugi...
]
Ricardo Martin Camarero commented on WFCORE-4768:
-------------------------------------------------
It seems the message is confusing for some users. The current options in the CLI interface
are:
{noformat}
"io-threads" => {
"type" => INT,
"description" => "Specify the number of I/O threads to
create for the worker. If not specified, a default will be chosen, which is calculated by
cpuCount * 2",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min" => 0L,
"max" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"task-max-threads" => {
"type" => INT,
"description" => "Specify the maximum number of threads
for the worker task thread pool.If not set, default value used which is calculated by
formula cpuCount * 16,as long as MaxFileDescriptorCount jmx property allows that number,
otherwise calculation takes max into account to adjust it accordingly.",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min" => 0L,
"max" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
}
{noformat}
So we are going to change the messages (there are four messages for these two
auto-configured values):
* "XX core threads" => "XX IO threads"
* "XX task threads" => "XX max task threads"
WFLYIO001: Worker 'default' has auto-configured to 24 core
threads should be IO threads
---------------------------------------------------------------------------------------
Key: WFCORE-4768
URL:
https://issues.jboss.org/browse/WFCORE-4768
Project: WildFly Core
Issue Type: Bug
Components: IO
Affects Versions: 11.0.0.Beta3
Reporter: Ricardo Martin Camarero
Assignee: Ricardo Martin Camarero
Priority: Minor
[org.wildfly.extension.io] (ServerService Thread Pool -- 52) WFLYIO001: Worker
'default' has auto-configured to 24 core threads with 192 task threads based on
your 12 available processors
The IO subsystem by default picks values for the thread default sizes.
The '24 core threads' is actually io-threads
The '192 task threads' is the 'task-max-threads'
The task-core-threads looks like it actually defaults to 2
It would be better to change '24 core threads' to '24 IO threads' and 192
task threads' to 192 max task threads'
{code}
list-get map-put read-attribute-group
read-children-types read-resource-description write-attribute
[standalone@localhost:9990 /]
/subsystem=io:read-resource(include-runtime=true,recursive=true)
{
"outcome" => "success",
"result" => {
"buffer-pool" => {"default" => {
"buffer-size" => undefined,
"buffers-per-slice" => undefined,
"direct-buffers" => undefined
}},
"worker" => {"default" => {
"busy-task-thread-count" => 0,
"core-pool-size" => 2,
"io-thread-count" => 24,
"io-threads" => "24",
"max-pool-size" => 192,
"queue-size" => 0,
"shutdown-requested" => false,
"stack-size" => "0",
"task-core-threads" => "2",
"task-keepalive" => "60000",
"task-max-threads" => "192",
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)