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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216183idleClientClientRead15200
31793216184active1200
41793216184idleClientClientRead14200
51793216185active1200
61793216185idleClientClientRead13200
71793216185idle in transactionClientClientRead1200
81793216186idleClientClientRead15200
91793216187activeIOWalSync1200
101793216187idleClientClientRead14200
111793216188idleClientClientRead15200
121793216189idleClientClientRead15200
131793216191idleClientClientRead14200
141793216191idle in transactionClientClientRead1200
151793216192idleClientClientRead15200
161793216193idle1200
171793216193idleClientClientRead14200
181793216194activeClientClientRead1200
191793216194idleClientClientRead14200
201793216195idleClientClientRead15200
211793216196activeIOWalSync1200
221793216196idleClientClientRead14200
231793216197idleClientClientRead14200
241793216198activeClientClientRead1200
251793216198idleClientClientRead13200
261793216200activeClientClientRead1200
271793216200idleClientClientRead13200
281793216201idleClientClientRead11200
291793216201idle in transactionClientClientRead1200
301793216202idleClientClientRead12200
311793216203idleClientClientRead12200
321793216204idleClientClientRead12200
331793216205idle1200
341793216205idleClientClientRead11200
351793216206idleClientClientRead10200
361793216206idle in transaction1200
371793216207idleClientClientRead10200
381793216207idle in transactionClientClientRead1200
391793216208idleClientClientRead11200
401793216210active1200
411793216210idleClientClientRead10200
421793216211idleClientClientRead11200
431793216212activeClientClientRead1200
441793216212idleClientClientRead10200
451793216213idleClientClientRead11200
461793216214idleClientClientRead9200
471793216214idle in transactionClientClientRead2200
481793216215idleClientClientRead11200
491793216216idleClientClientRead11200
501793216217idleClientClientRead10200
511793216217idle in transactionIOWalSync1200
521793216219idleClientClientRead11200
531793216220idleClientClientRead10200
541793216220idle in transactionClientClientRead1200
551793216221idleClientClientRead11200
561793216222idleClientClientRead10200
571793216222idle in transactionClientClientRead1200
581793216223active1200
591793216223idleClientClientRead10200