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
|
||||
##
|
||||
## vm.args: +A Number
|
||||
node.async_threads = 32
|
||||
## node.async_threads = 4
|
||||
|
||||
## Sets the maximum number of simultaneously existing processes for this
|
||||
## system if a Number is passed as value.
|
||||
|
|
13
etc/vm.args
13
etc/vm.args
|
@ -1,6 +1,6 @@
|
|||
##############################
|
||||
# Erlang VM Args
|
||||
##############################
|
||||
######################################################################
|
||||
## Erlang VM Args
|
||||
######################################################################
|
||||
|
||||
## NOTE:
|
||||
##
|
||||
|
@ -52,7 +52,8 @@
|
|||
+spp true
|
||||
|
||||
## 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.
|
||||
#+hms 233
|
||||
|
@ -93,3 +94,7 @@
|
|||
|
||||
## Sets the mapping of warning messages for error_logger
|
||||
#+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
|
||||
{mapping, "node.async_threads", "vm_args.+A", [
|
||||
{default, 64},
|
||||
{datatype, integer},
|
||||
{validators, ["range:0-1024"]}
|
||||
]}.
|
||||
|
|
Loading…
Reference in New Issue