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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793215557idleClientClientRead28200
31793215558active1200
41793215558activeClientClientRead1200
51793215558idleClientClientRead28200
61793215558idle in transactionClientClientRead2200
71793215559idle1200
81793215559idleClientClientRead30200
91793215559idle in transactionClientClientRead1200
101793215560activeIOWalSync1200
111793215560idleClientClientRead30200
121793215560idle in transactionClientClientRead1200
131793215561idleClientClientRead31200
141793215561idle in transactionClientClientRead1200
151793215562activeIOWalSync1200
161793215562activeLWLockWALWrite2200
171793215562idleClientClientRead28200
181793215562idle in transactionClientClientRead1200
191793215563idleClientClientRead32200
201793215565idleClientClientRead32200
211793215566idleClientClientRead31200
221793215566idle in transactionClientClientRead1200
231793215567idleClientClientRead29200
241793215568idleClientClientRead32200
251793215569activeIOWalSync1200
261793215569activeLWLockWALWrite4200
271793215569idleClientClientRead27200
281793215570activeClientClientRead1200
291793215570activeIOWalSync1200
301793215570activeLWLockWALWrite1200
311793215570idleClientClientRead28200
321793215570idle in transaction1200
331793215571active1200
341793215571idleClientClientRead31200
351793215572idleClientClientRead32200
361793215574idleClientClientRead30200
371793215574idle in transactionClientClientRead2200
381793215575active1200
391793215575idleClientClientRead30200
401793215575idle in transactionClientClientRead1200
411793215576idleClientClientRead32200
421793215577idleClientClientRead31200
431793215577idle in transactionClientClientRead1200
441793215578active1200
451793215578activeClientClientRead2200
461793215578activeLWLockWALWrite2200
471793215578idleClientClientRead27200
481793215579active1200
491793215579activeIOWalSync1200
501793215579idleClientClientRead29200
511793215579idle in transactionClientClientRead1200
521793215580active1200
531793215580activeIOWalSync1200
541793215580idleClientClientRead27200
551793215580idle in transactionClientClientRead1200
561793215582idleClientClientRead29200
571793215582idle in transactionClientClientRead1200
581793215583idleClientClientRead30200
591793215584idleClientClientRead31200
601793215585idleClientClientRead31200
611793215586active1200
621793215586idleClientClientRead28200
631793215586idle in transactionClientClientRead2200
641793215587activeIOWalSync1200
651793215587idleClientClientRead30200
661793215588activeClientClientRead1200
671793215588activeIOWalSync1200
681793215588activeLWLockWALWrite2200
691793215588idleClientClientRead26200
701793215588idle in transactionLWLockWALWrite1200
711793215589idleClientClientRead30200
721793215589idle in transactionClientClientRead1200
731793215591activeIOWalSync1200
741793215591activeLWLockWALWrite1200
751793215591idleClientClientRead29200
761793215592active1200
771793215592idleClientClientRead30200
781793215593idle1200
791793215593idleClientClientRead29200
801793215593idle in transaction1200
811793215594activeClientClientRead1200
821793215594idleClientClientRead30200
831793215594idle in transactionIOWalSync1200
841793215595active1200
851793215595activeIOWalSync1200
861793215595activeLWLockWALWrite1200
871793215595idleClientClientRead28200
881793215595idle in transactionClientClientRead1200
891793215596active1200
901793215596activeClientClientRead1200
911793215596activeIOWalSync1200
921793215596activeLWLockWALWrite1200
931793215596idleClientClientRead28200
941793215597idleClientClientRead32200