2022-06-14 16:41:25 +00:00
|
|
|
## Customize flags given to the VM: http://erlang.org/doc/man/erl.html
|
|
|
|
## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here
|
|
|
|
|
|
|
|
## Number of dirty schedulers doing IO work (file, sockets, etc)
|
|
|
|
##+SDio 5
|
|
|
|
|
|
|
|
## Increase number of concurrent ports/sockets
|
|
|
|
##+Q 65536
|
|
|
|
|
|
|
|
## Tweak GC to run more often
|
|
|
|
##-env ERL_FULLSWEEP_AFTER 10
|
2024-02-17 12:21:56 +00:00
|
|
|
|
|
|
|
## Disable busy waits; vastly reduces CPU usage while idle
|
|
|
|
## See https://docs.akkoma.dev/stable/configuration/optimisation/optimizing_beam/#virtual-machine-andor-few-cpu-cores
|
|
|
|
+sbwt none
|
|
|
|
+sbwtdcpu none
|
|
|
|
+sbwtdio none
|