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

2.9 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793217565idleClientClientRead20200
31793217566activeClientClientRead1200
41793217566idleClientClientRead21200
51793217567idleClientClientRead22200
61793217568idleClientClientRead23200
71793217568idle in transaction1200
81793217569activeIOWalSync1200
91793217569idleClientClientRead22200
101793217569idle in transactionClientClientRead1200
111793217571active1200
121793217571idleClientClientRead22200
131793217571idle in transactionClientClientRead1200
141793217572idleClientClientRead24200
151793217573idleClientClientRead23200
161793217573idle in transactionClientClientRead1200
171793217574active1200
181793217574activeIOWalSync1200
191793217574idleClientClientRead20200
201793217574idle in transactionClientClientRead2200
211793217575idleClientClientRead24200
221793217576idle1200
231793217576idleClientClientRead23200
241793217577idleClientClientRead24200
251793217578active1200
261793217578idleClientClientRead22200
271793217578idle in transactionClientClientRead1200
281793217579idle1200
291793217579idleClientClientRead20200
301793217579idle in transactionClientClientRead3200
311793217581activeLWLockWALWrite1200
321793217581idleClientClientRead22200
331793217581idle in transactionClientClientRead1200
341793217582active1200
351793217582idleClientClientRead22200
361793217582idle in transactionClientClientRead1200
371793217583idleClientClientRead24200
381793217584active1200
391793217584idleClientClientRead22200
401793217584idle in transaction1200
411793217585idleClientClientRead23200
421793217586active1200
431793217586activeIOWalSync1200
441793217586idleClientClientRead21200
451793217587idle1200
461793217587idleClientClientRead31200
471793217589idleClientClientRead32200
481793217590idleClientClientRead32200
491793217591idleClientClientRead32200
501793217592idleClientClientRead32200
511793217593idleClientClientRead32200
521793217594idleClientClientRead32200
531793217595idleClientClientRead32200
541793217596active1200
551793217596idleClientClientRead31200
561793217598idleClientClientRead31200
571793217599idleClientClientRead31200
581793217600activeClientClientRead1200
591793217600idleClientClientRead28200
601793217600idle in transactionClientClientRead2200
611793217601activeIOWalSync1200
621793217601activeLWLockWALWrite1200
631793217601idleClientClientRead27200
641793217601idle in transaction1200
651793217601idle in transactionClientClientRead1200
661793217602idleClientClientRead31200
671793217602idle in transaction1200
681793217603idleClientClientRead32200
691793217604activeClientClientRead1200
701793217604idleClientClientRead30200
711793217604idle in transaction1200
721793217605idleClientClientRead32200