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

3.0 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216510idleClientClientRead27200
31793216511idleClientClientRead29200
41793216512idleClientClientRead29200
51793216513idleClientClientRead29200
61793216513idle in transaction1200
71793216514idleClientClientRead30200
81793216515activeIOWalSync1200
91793216515idleClientClientRead29200
101793216516activeClientClientRead1200
111793216516idle1200
121793216516idleClientClientRead27200
131793216518idleClientClientRead29200
141793216519idleClientClientRead29200
151793216520idleClientClientRead29200
161793216521activeIOWalSync1200
171793216521activeLWLockWALWrite1200
181793216521idleClientClientRead28200
191793216522idleClientClientRead29200
201793216522idle in transaction1200
211793216523active1200
221793216523activeIOWalSync1200
231793216523idleClientClientRead26200
241793216523idle in transactionClientClientRead1200
251793216524activeClientClientRead1200
261793216524idleClientClientRead28200
271793216524idle in transaction1200
281793216525idleClientClientRead30200
291793216527activeIOWalSync1200
301793216527idleClientClientRead29200
311793216528active1200
321793216528activeIOWalSync1200
331793216528activeLWLockWALWrite2200
341793216528idleClientClientRead27200
351793216529idleClientClientRead31200
361793216530active1200
371793216530idleClientClientRead30200
381793216531idleClientClientRead31200
391793216532idleClientClientRead30200
401793216533idleClientClientRead30200
411793216535activeIOWalSync1200
421793216535activeLWLockWALWrite1200
431793216535idleClientClientRead27200
441793216535idle in transactionClientClientRead1200
451793216536activeIOWalSync1200
461793216536idleClientClientRead28200
471793216536idle in transactionClientClientRead1200
481793216537active1200
491793216537idleClientClientRead29200
501793216538activeClientClientRead1200
511793216538idleClientClientRead27200
521793216538idle in transactionClientClientRead2200
531793216539activeIOWalSync1200
541793216539idleClientClientRead28200
551793216539idle in transactionClientClientRead1200
561793216540idleClientClientRead29200
571793216541idleClientClientRead28200
581793216541idle in transactionClientClientRead1200
591793216542idleClientClientRead29200
601793216544activeClientClientRead1200
611793216544activeIOWalSync1200
621793216544activeLWLockWALWrite1200
631793216544idleClientClientRead27200
641793216545active1200
651793216545idleClientClientRead28200
661793216545idle in transactionClientClientRead1200
671793216546idleClientClientRead28200
681793216546idle in transaction1200
691793216546idle in transactionClientClientRead1200
701793216547idleClientClientRead30200
711793216548active1200
721793216548activeClientClientRead1200
731793216548idleClientClientRead28200
741793216549activeIOWalSync1200
751793216549activeLWLockWALWrite1200
761793216549idleClientClientRead28200
771793216550idleClientClientRead30200