This commit is contained in:
@@ -17,7 +17,7 @@ defmodule PolicyService.Application do
|
|||||||
PolicyServiceWeb.Telemetry,
|
PolicyServiceWeb.Telemetry,
|
||||||
PolicyService.Repo,
|
PolicyService.Repo,
|
||||||
{DNSCluster, query: Application.get_env(:policy_service, :dns_cluster_query) || :ignore},
|
{DNSCluster, query: Application.get_env(:policy_service, :dns_cluster_query) || :ignore},
|
||||||
{Phoenix.PubSub, name: PolicyService.PubSub},
|
{Phoenix.PubSub, name: PolicyService.PubSub, pool_size: 1},
|
||||||
PolicyServiceWeb.Endpoint
|
PolicyServiceWeb.Endpoint
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
45
rel/vm.args.eex
Normal file
45
rel/vm.args.eex
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
## --- memory optimisation (embedded/low-RAM targets) ---
|
||||||
|
|
||||||
|
## address-order best-fit for all allocators
|
||||||
|
+MBas aobf
|
||||||
|
+MHas aobf
|
||||||
|
+MPas aobf
|
||||||
|
+MDas aobf
|
||||||
|
+MFas aobf
|
||||||
|
|
||||||
|
## disable carrier utilization limit
|
||||||
|
+MBacul 0
|
||||||
|
+MHacul 0
|
||||||
|
|
||||||
|
## smaller carrier sizes
|
||||||
|
+MBsmbcs 64
|
||||||
|
+MBlmbcs 128
|
||||||
|
+MHsmbcs 64
|
||||||
|
+MHlmbcs 128
|
||||||
|
|
||||||
|
## smaller main carrier
|
||||||
|
+MMscs 20
|
||||||
|
|
||||||
|
## --- scheduler tuning ---
|
||||||
|
|
||||||
|
+S 1:1
|
||||||
|
+SDcpu 1:1
|
||||||
|
+SDio 1
|
||||||
|
|
||||||
|
## --- resource limits ---
|
||||||
|
|
||||||
|
+t 100000
|
||||||
|
+P 50000
|
||||||
|
+Q 8192
|
||||||
|
|
||||||
|
## --- general ---
|
||||||
|
|
||||||
|
+c false
|
||||||
|
+sbwt none
|
||||||
|
+sbwtdcpu none
|
||||||
|
+sbwtdio none
|
||||||
|
+swt very_low
|
||||||
|
+swtdcpu very_low
|
||||||
|
+swtdio very_low
|
||||||
|
+secio false
|
||||||
|
+K true
|
||||||
Reference in New Issue
Block a user