Skip to content

Commit

Permalink
feat: tweak some VM arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
paulswartz committed Oct 2, 2023
1 parent e521099 commit 9fd66cb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/health/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ config :health,
Health.Checkers.Ports
]

config :health, Health.Checkers.Ports, max_ports: 1000
config :health, Health.Checkers.Ports, max_ports: 13000
14 changes: 13 additions & 1 deletion rel/vm.args.eex
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,23 @@
##+SDio 5

## Increase number of concurrent ports/sockets
##+Q 65536
+Q 65536

## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10

-heart

-smp auto

## Enable kernel poll
+K true

## Aysnc threads
+A 128

## Something about scheduling
## https://stressgrid.com/blog/beam_cpu_usage/
+sbwt none
+sbwtdcpu none
+sbwtdio none

0 comments on commit 9fd66cb

Please sign in to comment.