Files
mtusi2026lab3/evidence/track1/series-a/base-4x1_rate1350_rep1/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

3.2 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793218948idleClientClientRead32200
31793218949idleClientClientRead32200
41793218950idle1200
51793218950idleClientClientRead31200
61793218951idleClientClientRead32200
71793218952active1200
81793218952idleClientClientRead31200
91793218953active2200
101793218953activeIOWalSync1200
111793218953activeLWLockWALWrite1200
121793218953idleClientClientRead28200
131793218955idleClientClientRead31200
141793218955idle in transactionClientClientRead1200
151793218956activeIOWalSync1200
161793218956idleClientClientRead30200
171793218956idle in transaction1200
181793218957activeClientClientRead1200
191793218957idle1200
201793218957idleClientClientRead30200
211793218958idleClientClientRead32200
221793218959idleClientClientRead31200
231793218959idle in transactionClientClientRead1200
241793218960idleClientClientRead32200
251793218961idleClientClientRead29200
261793218961idle in transaction1200
271793218961idle in transactionClientClientRead2200
281793218963activeIOWalSync1200
291793218963activeLWLockWALWrite1200
301793218963idleClientClientRead30200
311793218964active1200
321793218964activeIOWalSync1200
331793218964idleClientClientRead29200
341793218965idleClientClientRead30200
351793218965idle in transactionClientClientRead1200
361793218966idleClientClientRead32200
371793218967active1200
381793218967idleClientClientRead31200
391793218968idleClientClientRead32200
401793218969idleClientClientRead31200
411793218970idleClientClientRead31200
421793218970idle in transaction1200
431793218972activeClientClientRead1200
441793218972idleClientClientRead30200
451793218972idle in transactionClientClientRead1200
461793218973activeIOWalSync1200
471793218973idleClientClientRead31200
481793218974activeIOWalSync1200
491793218974activeLWLockWALWrite2200
501793218974idleClientClientRead29200
511793218975activeIOWalSync1200
521793218975activeLWLockWALWrite2200
531793218975idleClientClientRead29200
541793218976idleClientClientRead31200
551793218976idle in transaction1200
561793218977activeClientClientRead1200
571793218977idleClientClientRead30200
581793218978activeIOWalSync1200
591793218978activeLWLockWALWrite1200
601793218978idleClientClientRead29200
611793218979idleClientClientRead30200
621793218979idle in transactionClientClientRead1200
631793218981activeLocktransactionid2200
641793218981idleClientClientRead26200
651793218981idle in transactionClientClientRead3200
661793218982active1200
671793218982activeIOWalSync1200
681793218982idleClientClientRead29200
691793218983active1200
701793218983idleClientClientRead28200
711793218983idle in transaction1200
721793218983idle in transactionClientClientRead1200
731793218984idleClientClientRead31200
741793218985active1200
751793218985idleClientClientRead30200
761793218986idleClientClientRead32200
771793218987activeIOWalSync1200
781793218987idleClientClientRead30200
791793218987idle in transactionLWLockWALWrite1200
801793218988activeClientClientRead1200
811793218988idleClientClientRead31200
821793218990idleClientClientRead32200