Files
mtusi2026lab2/evidence/track1/series-a/base-1x4_rate2020_rep2/pg_activity.csv
T
ArtyomandClaude Opus 5.5 be19abf364 Record the fixed budget series of track 1
1x4, 2x2 and 4x1 at 4 CPU and 2 GiB of API, workers equal to CPUs,
32 pool connections and 128 balancer slots in every layout, three
repeats from 600 to 6 830 rps. All three keep up with the offered
load up to 4 560 rps; the peaks are 5 375 rps for 1x4 (5 332..5 384),
4 964 for 2x2 (4 894..5 104) and 4 724 for 4x1 (4 686..4 794). At the
peak the API uses 95 % of its four CPUs in every layout, PostgreSQL
82..89 % of its two, the balancer 40 % of one, and about half of the
32 database connections wait for the lock on a chat row.

Smaller replicas cost more: at 3 040 rps the API burns 215 % CPU as
1x4, 243 % as 2x2 and about 280 % as 4x1, and p95 at 4 560 rps grows
from 9 to 69 and 150 ms.

The first attempt was aborted when a neighbour's image build froze the
Docker API; its summary is kept under aborted/. Twelve steps of the
rerun were rejected as disturbed and repeated. A config's SLO capacity
now needs a majority of saturated repeats, since a median is robust to
one disturbed repeat and "any repeat" is not. Series B starts at 450
rps per CPU.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-29 00:31:43 +03:00

4.1 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793215603idleClientClientRead32200
31793215605idleClientClientRead32200
41793215606activeIOWalSync1200
51793215606activeLWLockWALWrite1200
61793215606idleClientClientRead28200
71793215607idleClientClientRead29200
81793215607idle in transactionClientClientRead1200
91793215608activeIOWalSync1200
101793215608idleClientClientRead28200
111793215608idle in transactionClientClientRead1200
121793215609active1200
131793215609idleClientClientRead28200
141793215609idle in transactionClientClientRead1200
151793215610activeIOWalSync1200
161793215610idleClientClientRead28200
171793215610idle in transaction1200
181793215611idleClientClientRead30200
191793215611idle in transactionClientClientRead1200
201793215613idleClientClientRead31200
211793215614activeClientClientRead1200
221793215614activeIOWalSync1200
231793215614idleClientClientRead29200
241793215615active1200
251793215615activeClientClientRead1200
261793215615activeIOWalSync1200
271793215615idleClientClientRead26200
281793215615idle in transactionClientClientRead2200
291793215616activeIOWalSync1200
301793215616activeLWLockWALWrite1200
311793215616idleClientClientRead28200
321793215617idle1200
331793215617idleClientClientRead26200
341793215617idle in transactionClientClientRead1200
351793215617idle in transactionIOWalSync1200
361793215618idleClientClientRead27200
371793215618idle in transaction1200
381793215618idle in transactionClientClientRead1200
391793215619activeIOWalSync1200
401793215619idle1200
411793215619idleClientClientRead27200
421793215620active1200
431793215620idleClientClientRead28200
441793215622idleClientClientRead27200
451793215622idle in transaction1200
461793215622idle in transactionClientClientRead2200
471793215623activeClientClientRead1200
481793215623idleClientClientRead29200
491793215624activeIOWalSync1200
501793215624idle1200
511793215624idleClientClientRead27200
521793215624idle in transactionClientClientRead1200
531793215625active1200
541793215625idleClientClientRead28200
551793215625idle in transactionClientClientRead1200
561793215626idleClientClientRead27200
571793215626idle in transaction1200
581793215626idle in transactionClientClientRead1200
591793215627active1200
601793215627idleClientClientRead26200
611793215627idle in transaction1200
621793215627idle in transactionClientClientRead1200
631793215628activeIOWalSync1200
641793215628activeLWLockWALWrite3200
651793215628idleClientClientRead26200
661793215630activeClientClientRead1200
671793215630idleClientClientRead28200
681793215630idle in transactionClientClientRead1200
691793215631activeClientClientRead1200
701793215631idle1200
711793215631idleClientClientRead28200
721793215632idleClientClientRead32200
731793215633activeIOWalSync1200
741793215633idle1200
751793215633idleClientClientRead29200
761793215633idle in transactionClientClientRead1200
771793215634activeClientClientRead1200
781793215634idle1200
791793215634idleClientClientRead29200
801793215634idle in transactionClientClientRead1200
811793215635activeClientClientRead1200
821793215635idle1200
831793215635idleClientClientRead30200
841793215636activeIOWalSync1200
851793215636idleClientClientRead30200
861793215636idle in transactionClientClientRead1200
871793215637idleClientClientRead31200
881793215639idleClientClientRead31200
891793215640activeIOWalSync1200
901793215640idleClientClientRead28200
911793215640idle in transactionClientClientRead2200
921793215641activeIOWalInitSync1200
931793215641activeLWLockWALWrite8200
941793215641activeLocktransactionid5200
951793215641idleClientClientRead17200
961793215642active1200
971793215642activeIOWalSync1200
981793215642activeLWLockWALWrite1200
991793215642idleClientClientRead29200
1001793215643idleClientClientRead31200
1011793215643idle in transactionClientClientRead1200
1021793215644idleClientClientRead32200