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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216416idleClientClientRead18200
31793216417idleClientClientRead25200
41793216418idleClientClientRead25200
51793216419active1200
61793216419activeIOWalSync1200
71793216419activeLWLockWALWrite9200
81793216419activeLocktransactionid10200
91793216419activeLocktuple5200
101793216419idleClientClientRead2200
111793216421activeIOWalSync1200
121793216421activeLWLockWALWrite1200
131793216421idleClientClientRead30200
141793216422active1200
151793216422idleClientClientRead30200
161793216422idle in transactionClientClientRead1200
171793216423idleClientClientRead32200
181793216424activeIOWalSync1200
191793216424activeLWLockWALWrite1200
201793216424idleClientClientRead30200
211793216425idleClientClientRead32200
221793216426idleClientClientRead31200
231793216426idle in transactionClientClientRead1200
241793216427active1200
251793216427activeIOWalSync1200
261793216427idleClientClientRead30200
271793216428idleClientClientRead32200
281793216430idleClientClientRead32200
291793216431activeClientClientRead1200
301793216431idleClientClientRead31200
311793216432active1200
321793216432idleClientClientRead31200
331793216433activeIOWalSync1200
341793216433idleClientClientRead30200
351793216433idle in transactionClientClientRead1200
361793216434idleClientClientRead30200
371793216434idle in transactionClientClientRead1200
381793216435idleClientClientRead29200
391793216435idle in transactionClientClientRead1200
401793216436active1200
411793216436idleClientClientRead28200
421793216437activeClientClientRead1200
431793216437activeIOWalSync1200
441793216437idleClientClientRead27200
451793216439activeIOWalSync1200
461793216439idleClientClientRead27200
471793216439idle in transaction1200
481793216440idleClientClientRead27200
491793216440idle in transactionClientClientRead2200
501793216441active1200
511793216441idle1200
521793216441idleClientClientRead27200
531793216442activeClientClientRead1200
541793216442idleClientClientRead27200
551793216442idle in transactionClientClientRead1200
561793216443idleClientClientRead28200
571793216443idle in transactionClientClientRead1200
581793216444active1200
591793216444activeIOWalSync1200
601793216444idleClientClientRead25200
611793216444idle in transactionClientClientRead2200
621793216445idle1200
631793216445idleClientClientRead28200
641793216446idleClientClientRead29200
651793216448idle1200
661793216448idleClientClientRead28200
671793216449activeClientClientRead1200
681793216449activeIOWalSync1200
691793216449activeLWLockWALWrite1200
701793216449idleClientClientRead26200
711793216450idleClientClientRead27200
721793216450idle in transactionClientClientRead2200
731793216451idleClientClientRead28200
741793216451idle in transaction1200
751793216452active1200
761793216452idleClientClientRead28200
771793216453idleClientClientRead28200
781793216454idleClientClientRead27200
791793216454idle in transactionClientClientRead1200
801793216455active1200
811793216455activeIOWalSync1200
821793216455activeLWLockWALWrite1200
831793216455idleClientClientRead27200
841793216455idle in transactionClientClientRead1200
851793216457idleClientClientRead29200
861793216457idle in transaction1200
871793216457idle in transactionClientClientRead1200