summaryrefslogtreecommitdiff
path: root/doc/node.1
diff options
context:
space:
mode:
authorTom Gallacher <tomgallacher23@gmail.com>2015-12-18 12:24:56 +0000
committerJames M Snell <jasnell@gmail.com>2016-03-22 07:55:53 -0700
commit03e07d32ace26259abdea059bd3b263cef3c55eb (patch)
tree18f009cba6fedb17623aae423dc32a8912aa37a4 /doc/node.1
parent8baaa25aec5a052c32d63f1f7f77bbd0e4a78796 (diff)
downloadandroid-node-v8-03e07d32ace26259abdea059bd3b263cef3c55eb.tar.gz
android-node-v8-03e07d32ace26259abdea059bd3b263cef3c55eb.tar.bz2
android-node-v8-03e07d32ace26259abdea059bd3b263cef3c55eb.zip
src: override v8 thread defaults using cli options
Based on the conversation in #4243 this implements a way to increase and decrease the size of the thread pool used in v8. Currently v8 restricts the thread pool size to `kMaxThreadPoolSize` which at this commit is (4). So it is only possible to decrease the thread pool size at the time of this commit. However with changes upstream this could change at a later date. If set to 0 then v8 would choose an appropriate size of the thread pool based on the number of online processors. PR-URL: https://github.com/nodejs/node/pull/4344 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/node.1')
-rw-r--r--doc/node.18
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/node.1 b/doc/node.1
index 05ecfc47d8..7785ef4fe4 100644
--- a/doc/node.1
+++ b/doc/node.1
@@ -100,6 +100,13 @@ Process v8 profiler output generated using the v8 option \fB\-\-prof\fR
Print v8 command line options.
.TP
+.BR \-\-v8\-pool\-size =\fInum\fR
+Set v8's thread pool size which will be used to allocate background jobs.
+If set to 0 then v8 will choose an appropriate size of the thread pool based
+on the number of online processors. If the value provided is larger than v8's
+max then the largest value will be chosen.
+
+.TP
.BR \-\-tls\-cipher\-list =\fIlist\fR
Specify an alternative default TLS cipher list. (Requires Node.js to be built with crypto support. (Default))
@@ -115,7 +122,6 @@ Force FIPS-compliant crypto on startup. (Cannot be disabled from script code.) (
.BR \-\-icu\-data\-dir =\fIfile\fR
Specify ICU data load path. (overrides \fBNODE_ICU_DATA\fR)
-
.SH ENVIRONMENT VARIABLES
.TP