aboutsummaryrefslogtreecommitdiff
path: root/scripts/test_scripts/hub/perf_configs/hub.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test_scripts/hub/perf_configs/hub.lua')
-rw-r--r--scripts/test_scripts/hub/perf_configs/hub.lua11
1 files changed, 3 insertions, 8 deletions
diff --git a/scripts/test_scripts/hub/perf_configs/hub.lua b/scripts/test_scripts/hub/perf_configs/hub.lua
index f3cf3e697..ff9ab582e 100644
--- a/scripts/test_scripts/hub/perf_configs/hub.lua
+++ b/scripts/test_scripts/hub/perf_configs/hub.lua
@@ -12,19 +12,14 @@ hub = {
disklimitpercent = 90, -- default: 0 (disabled)
},
corelimit = 4, -- default: 0 (auto)
- provisionthreads = 8, -- default: auto
+ -- provisionthreads / spawnthreads / hub.hydration.threads left unset: defaults
+ -- (clamp(cpu/8,4,12) / clamp(cpu/8,4,16) / clamp(cpu/8,4,12)) are tuned from
+ -- 1000-module sweep at 128 vCPU + 30ms latency. Override here only to A/B test.
-- NOTE: hub.instance.config (path to instance lua) is overridden via
-- --hub-instance-config on the CLI. If left here, it would be resolved
-- relative to the hub's CWD at spawn time (NOT this file's dir).
},
- hydration = {
- -- Match production's per-module download pool size. Without this, the
- -- default auto-picks hardware_concurrency/4 which on --corelimit=128
- -- would be 32. Prod logs consistently show "16 threads" in Download phase.
- threads = 16,
- },
-
watchdog = {
cycleintervalms = 5000, -- default: 3000. slower cycle, 1000 instances to scan
cycleprocessingbudgetms = 1000, -- default: 500. more budget per cycle for larger instance count