Files
mtusi2026lab2/evidence/track1/series-a/base-1x4_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.0 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793215416idleClientClientRead22200
31793215418idleClientClientRead26200
41793215419idleClientClientRead26200
51793215420idleClientClientRead25200
61793215421idleClientClientRead23200
71793215421idle in transactionClientClientRead1200
81793215422idleClientClientRead23200
91793215422idle in transaction1200
101793215423active1200
111793215423idleClientClientRead23200
121793215424idleClientClientRead24200
131793215426activeIOWalSync1200
141793215426idle1200
151793215426idleClientClientRead21200
161793215426idle in transactionClientClientRead1200
171793215427idleClientClientRead28200
181793215427idle in transaction1200
191793215428activeIOWalSync1200
201793215428activeLWLockWALWrite2200
211793215428idleClientClientRead27200
221793215429idleClientClientRead29200
231793215429idle in transactionIOWalSync1200
241793215430activeIOWalSync1200
251793215430activeLWLockWALWrite2200
261793215430idleClientClientRead27200
271793215431idleClientClientRead27200
281793215431idle in transactionClientClientRead2200
291793215432idleClientClientRead28200
301793215432idle in transactionClientClientRead1200
311793215434idleClientClientRead29200
321793215435idleClientClientRead29200
331793215436idleClientClientRead28200
341793215436idle in transaction1200
351793215437idleClientClientRead28200
361793215437idle in transactionClientClientRead1200
371793215438idleClientClientRead28200
381793215438idle in transactionClientClientRead1200
391793215439idleClientClientRead27200
401793215439idle in transactionClientClientRead2200
411793215440idleClientClientRead29200
421793215441idleClientClientRead29200
431793215441idle in transactionClientClientRead1200
441793215443idleClientClientRead30200
451793215444idleClientClientRead28200
461793215444idle in transactionClientClientRead2200
471793215445active1200
481793215445idleClientClientRead29200
491793215446idleClientClientRead29200
501793215446idle in transactionClientClientRead1200
511793215447active1200
521793215447idleClientClientRead29200
531793215448active1200
541793215448idleClientClientRead29200
551793215449activeClientClientRead1200
561793215449idleClientClientRead28200
571793215449idle in transaction1200
581793215451activeIOWalSync1200
591793215451idleClientClientRead29200
601793215452idle1200
611793215452idleClientClientRead27200
621793215452idle in transactionClientClientRead2200
631793215453idle1200
641793215453idleClientClientRead27200
651793215453idle in transactionClientClientRead2200
661793215454idleClientClientRead29200
671793215454idle in transactionClientClientRead1200
681793215455idleClientClientRead29200
691793215455idle in transactionClientClientRead1200
701793215456activeClientClientRead1200
711793215456activeIOWalSync1200
721793215456idleClientClientRead27200
731793215457idleClientClientRead30200