diff options
author | Nick Vatamaniuc <vatamane@gmail.com> | 2022-06-30 15:41:33 -0400 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2022-07-01 10:31:02 -0400 |
commit | 2c351d62cc4a0c2bc478f7552318d390e8ddd790 (patch) | |
tree | 3eb1fd33919426020b5fd5f7c66f8135ffdb8efc /rel/overlay | |
parent | c605e04582e713120bde664b9ce51241ba9ff2e9 (diff) | |
download | couchdb-2c351d62cc4a0c2bc478f7552318d390e8ddd790.tar.gz |
Update vm.args for Erlang 23+
* file IO is using dirty IO schedulers and not the async IO thread pool
* `-smp enable` does nothing, it's always enalbed
* kernel polling is always enabled
```
% erl +SDio 16
Erlang/OTP 23 [erts-11.2.2.13] [source] [64-bit] [smp:12:12] [ds:12:12:16] [async-threads:1]
> erlang:system_info(kernel_poll).
true
> erlang:system_info(dirty_io_schedulers).
16
``
Diffstat (limited to 'rel/overlay')
-rw-r--r-- | rel/overlay/etc/vm.args | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/rel/overlay/etc/vm.args b/rel/overlay/etc/vm.args index 3ade5cbe5..cf75ff609 100644 --- a/rel/overlay/etc/vm.args +++ b/rel/overlay/etc/vm.args @@ -48,18 +48,13 @@ -kernel error_logger silent -sasl sasl_error_logger false -# Use kernel poll functionality if supported by emulator -+K true - -# Start a pool of asynchronous IO threads -+A 16 +# Increase the pool of dirty IO schedulers from 10 to 16 +# Dirty IO schedulers are used for file IO. ++SDio 16 # Comment this line out to enable the interactive Erlang shell on startup +Bd -noinput -# Force use of the smp scheduler, fixes #1296 --smp enable - # Set maximum SSL session lifetime to reap terminated replication readers -ssl session_lifetime 300 |