Files
mtusi2026lab3/evidence/track1/series-a/base-4x1_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.0 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793222260idleClientClientRead31200
31793222261idleClientClientRead31200
41793222261idle in transaction1200
51793222262activeIOWalSync1200
61793222262activeLWLockWALWrite1200
71793222262idleClientClientRead29200
81793222262idle in transactionClientClientRead1200
91793222263idleClientClientRead30200
101793222263idle in transaction1200
111793222264activeClientClientRead1200
121793222264activeIOWalSync1200
131793222264activeLocktransactionid8200
141793222264activeLocktuple4200
151793222264idleClientClientRead10200
161793222264idle in transactionClientClientRead8200
171793222265active1200
181793222265idleClientClientRead30200
191793222266active1200
201793222266activeIOWalSync1200
211793222266idleClientClientRead28200
221793222266idle in transactionClientClientRead1200
231793222268idleClientClientRead31200
241793222269active1200
251793222269idleClientClientRead28200
261793222269idle in transaction1200
271793222269idle in transactionClientClientRead1200
281793222270activeIOWalSync1200
291793222270activeLWLockWALWrite2200
301793222270idleClientClientRead28200
311793222270idle in transactionClientClientRead1200
321793222271idle1200
331793222271idleClientClientRead29200
341793222271idle in transaction1200
351793222271idle in transactionClientClientRead1200
361793222272activeIOWalSync1200
371793222272activeLWLockWALWrite3200
381793222272idleClientClientRead26200
391793222272idle in transaction2200
401793222273active1200
411793222273activeIOWalSync1200
421793222273idleClientClientRead30200
431793222274activeClientClientRead1200
441793222274idleClientClientRead31200
451793222276active1200
461793222276idleClientClientRead29200
471793222276idle in transactionClientClientRead1200
481793222277activeIOWalSync1200
491793222277activeLWLockWALWrite3200
501793222277idleClientClientRead27200
511793222278active1200
521793222278idleClientClientRead29200
531793222278idle in transactionClientClientRead1200
541793222279idleClientClientRead31200
551793222280active1200
561793222280idleClientClientRead29200
571793222280idle in transaction1200
581793222280idle in transactionClientClientRead1200
591793222281idleClientClientRead32200
601793222282idleClientClientRead32200
611793222283idleClientClientRead32200
621793222285idleClientClientRead32200
631793222286idle1200
641793222286idleClientClientRead30200
651793222286idle in transactionClientClientRead1200
661793222287activeClientClientRead1200
671793222287idleClientClientRead29200
681793222287idle in transaction1200
691793222287idle in transactionClientClientRead1200
701793222288active2200
711793222288idleClientClientRead30200
721793222289activeClientClientRead1200
731793222289idleClientClientRead30200
741793222289idle in transactionClientClientRead1200
751793222290activeClientClientRead1200
761793222290activeLocktransactionid6200
771793222290activeLocktuple2200
781793222290idleClientClientRead14200
791793222290idle in transaction1200
801793222290idle in transactionClientClientRead8200
811793222291activeIOWalSync1200
821793222291idle1200
831793222291idleClientClientRead28200
841793222291idle in transactionClientClientRead2200
851793222293idle1200
861793222293idleClientClientRead31200
871793222294idleClientClientRead30200
881793222294idle in transaction2200
891793222295active1200
901793222295idleClientClientRead31200
911793222296active2200
921793222296idleClientClientRead30200
931793222297activeClientClientRead1200
941793222297idleClientClientRead29200
951793222297idle in transaction1200
961793222297idle in transactionClientClientRead1200
971793222298idleClientClientRead31200
981793222298idle in transaction1200
991793222299idleClientClientRead31200
1001793222299idle in transaction1200
1011793222301idleClientClientRead32200