Tuning the number of threads in async thread pool (#3193)
This commit is contained in:
parent
2b3003b323
commit
a71486cac7
|
@ -211,7 +211,7 @@ node.data_dir = {{ platform_data_dir }}
|
||||||
## Value: 0-1024
|
## Value: 0-1024
|
||||||
##
|
##
|
||||||
## vm.args: +A Number
|
## vm.args: +A Number
|
||||||
node.async_threads = 32
|
## node.async_threads = 4
|
||||||
|
|
||||||
## Sets the maximum number of simultaneously existing processes for this
|
## Sets the maximum number of simultaneously existing processes for this
|
||||||
## system if a Number is passed as value.
|
## system if a Number is passed as value.
|
||||||
|
|
15
etc/vm.args
15
etc/vm.args
|
@ -1,6 +1,6 @@
|
||||||
##############################
|
######################################################################
|
||||||
# Erlang VM Args
|
## Erlang VM Args
|
||||||
##############################
|
######################################################################
|
||||||
|
|
||||||
## NOTE:
|
## NOTE:
|
||||||
##
|
##
|
||||||
|
@ -52,7 +52,8 @@
|
||||||
+spp true
|
+spp true
|
||||||
|
|
||||||
## Sets the number of threads in async thread pool. Valid range is 0-1024.
|
## Sets the number of threads in async thread pool. Valid range is 0-1024.
|
||||||
#+A 8
|
## Increase the parameter if there are many simultaneous file I/O operations.
|
||||||
|
+A 4
|
||||||
|
|
||||||
## Sets the default heap size of processes to the size Size.
|
## Sets the default heap size of processes to the size Size.
|
||||||
#+hms 233
|
#+hms 233
|
||||||
|
@ -92,4 +93,8 @@
|
||||||
#+sct L0-3c0-3p0N0:L4-7c0-3p1N1
|
#+sct L0-3c0-3p0N0:L4-7c0-3p1N1
|
||||||
|
|
||||||
## Sets the mapping of warning messages for error_logger
|
## Sets the mapping of warning messages for error_logger
|
||||||
#+W w
|
#+W w
|
||||||
|
|
||||||
|
## Specifies how long time (in milliseconds) to spend shutting down the system.
|
||||||
|
## See: http://erlang.org/doc/man/erl.html
|
||||||
|
#-shutdown_time 15000
|
||||||
|
|
|
@ -235,7 +235,6 @@ end}.
|
||||||
|
|
||||||
%% @doc More information at: http://erlang.org/doc/man/erl.html
|
%% @doc More information at: http://erlang.org/doc/man/erl.html
|
||||||
{mapping, "node.async_threads", "vm_args.+A", [
|
{mapping, "node.async_threads", "vm_args.+A", [
|
||||||
{default, 64},
|
|
||||||
{datatype, integer},
|
{datatype, integer},
|
||||||
{validators, ["range:0-1024"]}
|
{validators, ["range:0-1024"]}
|
||||||
]}.
|
]}.
|
||||||
|
|
Loading…
Reference in New Issue