Files
mtusi2026lab2/evidence/track1/series-a/base-1x4_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
21793215510idleClientClientRead27200
31793215511idleClientClientRead27200
41793215512idleClientClientRead27200
51793215513idleClientClientRead26200
61793215514idleClientClientRead27200
71793215516activeIOWalSync1200
81793215516idleClientClientRead29200
91793215517active1200
101793215517idleClientClientRead28200
111793215517idle in transactionClientClientRead1200
121793215518idleClientClientRead30200
131793215519activeIOWalSync1200
141793215519activeLWLockWALWrite2200
151793215519idleClientClientRead27200
161793215520idleClientClientRead30200
171793215521idleClientClientRead29200
181793215522active1200
191793215522idleClientClientRead27200
201793215522idle in transactionClientClientRead1200
211793215523activeIOWalSync1200
221793215523activeLWLockWALWrite1200
231793215523idleClientClientRead26200
241793215523idle in transaction1200
251793215524idle1200
261793215524idleClientClientRead25200
271793215524idle in transactionClientClientRead1200
281793215526idleClientClientRead24200
291793215526idle in transactionClientClientRead2200
301793215527activeClientClientRead1200
311793215527idleClientClientRead24200
321793215527idle in transaction1200
331793215528idleClientClientRead23200
341793215528idle in transactionClientClientRead2200
351793215529idleClientClientRead25200
361793215530idleClientClientRead29200
371793215531idleClientClientRead27200
381793215531idle in transaction1200
391793215531idle in transactionClientClientRead1200
401793215532active1200
411793215532activeIOWalSync1200
421793215532idleClientClientRead27200
431793215534idleClientClientRead28200
441793215534idle in transactionClientClientRead1200
451793215535idleClientClientRead28200
461793215535idle in transactionClientClientRead1200
471793215536activeIOWalSync1200
481793215536idleClientClientRead26200
491793215536idle in transactionClientClientRead1200
501793215537activeClientClientRead1200
511793215537idleClientClientRead27200
521793215538idleClientClientRead28200
531793215539idleClientClientRead28200
541793215540idleClientClientRead27200
551793215540idle in transaction1200
561793215542idleClientClientRead28200
571793215543activeIOWalSync1200
581793215543idleClientClientRead25200
591793215543idle in transactionClientClientRead2200
601793215544idleClientClientRead27200
611793215544idle in transactionClientClientRead1200
621793215545idleClientClientRead27200
631793215545idle in transactionClientClientRead1200
641793215546idle1200
651793215546idleClientClientRead27200
661793215547idleClientClientRead27200
671793215547idle in transactionClientClientRead1200
681793215548activeClientClientRead1200
691793215548idleClientClientRead27200
701793215549activeIOWalSync1200
711793215549activeLWLockWALWrite1200
721793215549idleClientClientRead26200
731793215551idleClientClientRead28200