Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
ca8bd536
Commit
ca8bd536
authored
Sep 09, 2016
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve thread_pools documentation
parent
080ce03f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
mgt_pool.c
bin/varnishd/mgt/mgt_pool.c
+7
-4
params.h
include/tbl/params.h
+6
-2
No files found.
bin/varnishd/mgt/mgt_pool.c
View file @
ca8bd536
...
@@ -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 probab
ly detrimal to performance.
\n
"
"
pool for each CPU is most like
ly 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."
,
...
...
include/tbl/params.h
View file @
ca8bd536
...
@@ -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
probab
ly detrimal to performance.\n"
"pool for each CPU is
most like
ly 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.",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment