commit: e1296737a69703535a3688f2dd205821f0e9d073
parent d2eb4992e254c1cdc27033742de1958f02757df1
Author: Mark Felder <feld@feld.me>
Date: Sun, 22 Sep 2024 15:19:05 -0400
Disable busywaits in releases
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/changelog.d/release-tuning.change b/changelog.d/release-tuning.change
@@ -0,0 +1 @@
+Tuning for release builds to lower CPU usage.
diff --git a/rel/vm.args.eex b/rel/vm.args.eex
@@ -9,3 +9,8 @@
## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10
+
+# Disable wasteful busywait.
++sbwt none
++sbwtdcpu none
++sbwtdio none