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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793217612idleClientClientRead32200
31793217613activeClientClientRead1200
41793217613idleClientClientRead31200
51793217614activeLocktransactionid1200
61793217614idleClientClientRead30200
71793217614idle in transactionClientClientRead1200
81793217615activeIOWalSync1200
91793217615idleClientClientRead29200
101793217615idle in transactionClientClientRead1200
111793217615idle in transactionLWLockWALWrite1200
121793217616activeClientClientRead1200
131793217616idleClientClientRead30200
141793217616idle in transactionClientClientRead1200
151793217617activeClientClientRead1200
161793217617idleClientClientRead31200
171793217619activeIOWalSync1200
181793217619activeLWLockWALWrite3200
191793217619idleClientClientRead28200
201793217620activeIOWalSync1200
211793217620idleClientClientRead30200
221793217620idle in transactionClientClientRead1200
231793217621active1200
241793217621activeIOWalSync1200
251793217621activeLWLockWALWrite3200
261793217621idleClientClientRead27200
271793217622activeIOWalSync1200
281793217622idleClientClientRead30200
291793217622idle in transactionClientClientRead1200
301793217623activeIOWalSync1200
311793217623idleClientClientRead30200
321793217623idle in transactionClientClientRead1200
331793217624idleClientClientRead32200
341793217625idleClientClientRead32200
351793217626idleClientClientRead32200
361793217628idleClientClientRead31200
371793217628idle in transactionClientClientRead1200
381793217629idleClientClientRead32200
391793217631active1200
401793217631idleClientClientRead31200
411793217632idleClientClientRead32200
421793217633idleClientClientRead31200
431793217633idle in transactionIOWalSync1200
441793217634idleClientClientRead32200
451793217635idleClientClientRead32200
461793217636activeIOWalSync1200
471793217636idleClientClientRead31200
481793217637activeClientClientRead1200
491793217637idleClientClientRead31200
501793217639active1200
511793217639activeClientClientRead1200
521793217639activeIOWalSync1200
531793217639activeLocktransactionid7200
541793217639activeLocktuple4200
551793217639idleClientClientRead8200
561793217639idle in transactionClientClientRead10200
571793217640activeLocktransactionid6200
581793217640activeLocktuple3200
591793217640idleClientClientRead12200
601793217640idle in transaction1200
611793217640idle in transactionClientClientRead9200
621793217640idle in transactionLocktuple1200
631793217642idleClientClientRead32200
641793217643idleClientClientRead31200
651793217643idle in transaction1200
661793217644idleClientClientRead31200
671793217644idle in transactionClientClientRead1200
681793217645idleClientClientRead32200
691793217646idleClientClientRead32200
701793217648idleClientClientRead32200
711793217649activeClientClientRead1200
721793217649idleClientClientRead30200
731793217649idle in transaction1200
741793217650idleClientClientRead32200
751793217651idleClientClientRead32200
761793217652idleClientClientRead32200
771793217653idleClientClientRead31200