forked from AkkomaGang/akkoma
Disable busy waits in the default OTP vm.args configuration.
This vastly reduces idle CPU usage, which should generally be beneficial for most small-to-medium sized instances. Additionally update the documentation to specify how to override the vm.args file for OTP installs
This commit is contained in:
parent
755c75d8a4
commit
7a0e27a746
2 changed files with 12 additions and 1 deletions
|
|
@ -9,3 +9,9 @@
|
|||
|
||||
## Tweak GC to run more often
|
||||
##-env ERL_FULLSWEEP_AFTER 10
|
||||
|
||||
## 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue