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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793222119idleClientClientRead31200
31793222120activeIOWalSync1200
41793222120idleClientClientRead30200
51793222122idleClientClientRead31200
61793222123idleClientClientRead29200
71793222123idle in transaction1200
81793222124activeIOWalSync1200
91793222124idleClientClientRead31200
101793222125active1200
111793222125idleClientClientRead31200
121793222126idleClientClientRead30200
131793222126idle in transaction1200
141793222126idle in transactionClientClientRead1200
151793222127idleClientClientRead30200
161793222127idle in transaction1200
171793222127idle in transactionClientClientRead1200
181793222128idleClientClientRead32200
191793222129active1200
201793222129idleClientClientRead29200
211793222129idle in transaction1200
221793222129idle in transactionClientClientRead1200
231793222131idleClientClientRead32200
241793222132active1200
251793222132idleClientClientRead30200
261793222132idle in transactionClientClientRead1200
271793222133active1200
281793222133idleClientClientRead31200
291793222134active1200
301793222134idleClientClientRead31200
311793222135activeIOWalSync1200
321793222135idleClientClientRead30200
331793222135idle in transactionClientClientRead1200
341793222136idleClientClientRead32200
351793222137idleClientClientRead31200
361793222137idle in transactionClientClientRead1200
371793222139idleClientClientRead31200
381793222139idle in transaction1200
391793222140active1200
401793222140idleClientClientRead30200
411793222140idle in transactionClientClientRead1200
421793222141activeClientClientRead1200
431793222141idleClientClientRead31200
441793222142idleClientClientRead32200
451793222143active1200
461793222143idleClientClientRead31200
471793222144active1200
481793222144activeIOWalSync1200
491793222144idleClientClientRead26200
501793222144idle in transactionClientClientRead4200
511793222145idleClientClientRead32200
521793222146activeClientClientRead1200
531793222146activeLWLockWALWrite1200
541793222146idleClientClientRead28200
551793222146idle in transactionClientClientRead2200
561793222148activeClientClientRead1200
571793222148activeIOWalSync1200
581793222148activeLWLockWALWrite1200
591793222148idleClientClientRead28200
601793222148idle in transaction1200
611793222149idleClientClientRead31200
621793222149idle in transaction1200
631793222150active1200
641793222150idleClientClientRead29200
651793222150idle in transactionClientClientRead2200
661793222151activeIOWalSync1200
671793222151activeLWLockWALWrite3200
681793222151idleClientClientRead28200
691793222152activeClientClientRead1200
701793222152idleClientClientRead30200
711793222153idleClientClientRead30200
721793222153idle in transactionClientClientRead1200
731793222154active1200
741793222154idle1200
751793222154idleClientClientRead28200
761793222154idle in transactionClientClientRead1200
771793222156activeClientClientRead1200
781793222156idleClientClientRead30200
791793222157activeClientClientRead1200
801793222157idleClientClientRead30200
811793222158activeIOWalSync1200
821793222158idleClientClientRead28200
831793222158idle in transactionClientClientRead1200
841793222158idle in transactionLWLockWALWrite1200
851793222159active1200
861793222159idleClientClientRead30200
871793222160idleClientClientRead31200