Commit ca8bd536 authored by Nils Goroll's avatar Nils Goroll

improve thread_pools documentation

parent 080ce03f
...@@ -84,11 +84,14 @@ struct parspec WRK_parspec[] = { ...@@ -84,11 +84,14 @@ struct parspec WRK_parspec[] = {
"1", NULL, "1", NULL,
"Number of worker thread pools.\n" "Number of worker thread pools.\n"
"\n" "\n"
"Increasing number of worker pools decreases lock " "Increasing the number of worker pools decreases lock "
"contention.\n" "contention. Each worker pool also has a thread accepting "
"new connections, so for very high rates of incoming new "
"connections on systems with many cores, increasing the "
"worker pools may be required.\n"
"\n" "\n"
"Too many pools waste CPU and RAM resources, and more than " "Too many pools waste CPU and RAM resources, and more than one "
"one pool for each CPU is probably detrimal to performance.\n" "pool for each CPU is most likely detrimal to performance.\n"
"\n" "\n"
"Can be increased on the fly, but decreases require a " "Can be increased on the fly, but decreases require a "
"restart to take effect.", "restart to take effect.",
......
...@@ -1170,10 +1170,14 @@ PARAM( ...@@ -1170,10 +1170,14 @@ PARAM(
/* s-text */ /* s-text */
"Number of worker thread pools.\n" "Number of worker thread pools.\n"
"\n" "\n"
"Increasing number of worker pools decreases lock contention.\n" "Increasing the number of worker pools decreases lock "
"contention. Each worker pool also has a thread accepting "
"new connections, so for very high rates of incoming new "
"connections on systems with many cores, increasing the "
"worker pools may be required.\n"
"\n" "\n"
"Too many pools waste CPU and RAM resources, and more than one " "Too many pools waste CPU and RAM resources, and more than one "
"pool for each CPU is probably detrimal to performance.\n" "pool for each CPU is most likely detrimal to performance.\n"
"\n" "\n"
"Can be increased on the fly, but decreases require a restart to " "Can be increased on the fly, but decreases require a restart to "
"take effect.", "take effect.",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment