Доработать инструменты экспериментов: чередовать повторы, останавливать лестницу на первой проваленной ступени, задавать maxconn и CPU базы в сериях, записывать замер скорости хоста и контроль шума, сократить комментарии

This commit is contained in:
2026-11-04 12:39:04 +03:00
parent ce47c138e4
commit baa5995938
24 changed files with 253 additions and 240 deletions
+4 -6
View File
@@ -67,17 +67,15 @@ logs:
instances:
sh scripts/instances.sh
# Replaces every API replica with one built from the current sources, without
# downtime; restore a replica stopped by stop-one with `docker compose start api`.
# Replaces every API replica without downtime; all of them must be running.
rollout:
sh scripts/rollout.sh
# Track 1, the cost of scaling: one series on fresh stands, then the charts.
# RATES is required, e.g. make bench SERIES=scripts/bench/series/B.conf RATES=200,400,800
# Track 1. Every run starts from empty volumes, so the stand's data is lost.
# make bench SERIES="scripts/bench/series/A.conf scripts/bench/series/B.conf" RATES=400,800,1200
SERIES ?= scripts/bench/series/A.conf
REPEATS ?= 3
bench:
sh scripts/bench/run-series.sh $(SERIES) $(REPEATS)
sh scripts/bench/run-series.sh $(SERIES)
# Needs matplotlib from requirements-bench.txt: make plot PYTHON=<venv python>.
plot: