Files
mtusi2026lab2/evidence/track1/series-a/base-2x2_rate2020_rep3/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.2 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216650idleClientClientRead32200
31793216651activeIOWalSync1200
41793216651idleClientClientRead28200
51793216651idle in transactionClientClientRead2200
61793216651idle in transactionLWLockWALWrite1200
71793216652activeClientClientRead1200
81793216652idleClientClientRead31200
91793216654activeIOWalSync1200
101793216654activeLWLockWALWrite1200
111793216654idleClientClientRead30200
121793216655idleClientClientRead29200
131793216655idle in transaction1200
141793216655idle in transactionClientClientRead2200
151793216656idle1200
161793216656idleClientClientRead30200
171793216656idle in transactionClientClientRead1200
181793216657active2200
191793216657idleClientClientRead29200
201793216657idle in transactionClientClientRead1200
211793216658activeClientClientRead1200
221793216658activeIOWalSync1200
231793216658activeLWLockWALWrite2200
241793216658idleClientClientRead28200
251793216659activeClientClientRead1200
261793216659idleClientClientRead30200
271793216659idle in transactionClientClientRead1200
281793216660activeIOWalSync1200
291793216660activeLWLockWALWrite1200
301793216660idleClientClientRead30200
311793216661activeClientClientRead1200
321793216661activeIOWalSync1200
331793216661idleClientClientRead29200
341793216663idleClientClientRead31200
351793216664activeClientClientRead1200
361793216664activeIOWalSync1200
371793216664activeLWLockWALWrite2200
381793216664idle1200
391793216664idleClientClientRead25200
401793216665activeIOWalSync1200
411793216665activeLWLockWALWrite1200
421793216665idleClientClientRead28200
431793216666idleClientClientRead28200
441793216666idle in transactionClientClientRead1200
451793216666idle in transactionIOWalWrite1200
461793216667idleClientClientRead29200
471793216667idle in transaction1200
481793216667idle in transactionClientClientRead1200
491793216668activeIOWalSync1200
501793216668idleClientClientRead30200
511793216669activeIOWalSync1200
521793216669idleClientClientRead30200
531793216670idleClientClientRead28200
541793216670idle in transactionClientClientRead2200
551793216670idle in transactionIOWalSync1200
561793216672idleClientClientRead29200
571793216672idle in transactionClientClientRead2200
581793216673active1200
591793216673idleClientClientRead28200
601793216673idle in transactionClientClientRead2200
611793216674idleClientClientRead31200
621793216675active1200
631793216675activeIOWalSync1200
641793216675activeLWLockWALWrite1200
651793216675idleClientClientRead27200
661793216676idleClientClientRead29200
671793216676idle in transactionClientClientRead3200
681793216677activeIOWalSync1200
691793216677idleClientClientRead31200
701793216678active1200
711793216678idleClientClientRead30200
721793216679activeIOWalSync1200
731793216679idleClientClientRead29200
741793216679idle in transaction1200
751793216681activeClientClientRead1200
761793216681activeIOWalSync1200
771793216681idle1200
781793216681idleClientClientRead25200
791793216681idle in transactionClientClientRead3200
801793216682active1200
811793216682idleClientClientRead28200
821793216682idle in transactionClientClientRead1200
831793216682idle in transactionIOWalSync1200
841793216683active1200
851793216683idleClientClientRead29200
861793216683idle in transactionClientClientRead1200
871793216684idleClientClientRead30200
881793216684idle in transactionClientClientRead1200
891793216685activeClientClientRead1200
901793216685idleClientClientRead29200
911793216686idleClientClientRead27200
921793216686idle in transaction1200
931793216686idle in transactionClientClientRead1200
941793216687active1200
951793216687idleClientClientRead30200
961793216688active2200
971793216688idleClientClientRead27200
981793216688idle in transactionClientClientRead1200
991793216690activeLWLockWALWrite1200
1001793216690idle1200
1011793216690idleClientClientRead25200
1021793216690idle in transactionClientClientRead3200
1031793216691activeIOWalSync1200
1041793216691activeLWLockWALWrite3200
1051793216691idleClientClientRead26200