Files
mtusi2026labs/evidence/track1/series-a/base-2x2_rate600_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

2.2 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216136idleClientClientRead4200
31793216137idleClientClientRead13200
41793216138idleClientClientRead12200
51793216138idle in transactionClientClientRead1200
61793216139activeIOWalSync1200
71793216139idleClientClientRead12200
81793216140activeClientClientRead1200
91793216140idleClientClientRead14200
101793216142idleClientClientRead15200
111793216143idleClientClientRead15200
121793216144idleClientClientRead14200
131793216144idle in transactionClientClientRead1200
141793216145activeIOWalSync1200
151793216145idleClientClientRead14200
161793216146idleClientClientRead15200
171793216147idleClientClientRead15200
181793216148idleClientClientRead15200
191793216149activeIOWalSync1200
201793216149activeLWLockWALWrite1200
211793216149idleClientClientRead13200
221793216150idleClientClientRead15200
231793216152idleClientClientRead15200
241793216153idleClientClientRead15200
251793216154idleClientClientRead15200
261793216155idle1200
271793216155idleClientClientRead14200
281793216156idleClientClientRead15200
291793216157idleClientClientRead15200
301793216158idleClientClientRead14200
311793216158idle in transactionClientClientRead1200
321793216159idleClientClientRead14200
331793216159idle in transactionClientClientRead1200
341793216161idleClientClientRead15200
351793216162idleClientClientRead14200
361793216162idle in transaction1200
371793216163idleClientClientRead15200
381793216164idleClientClientRead14200
391793216164idle in transactionClientClientRead1200
401793216165idleClientClientRead14200
411793216165idle in transactionClientClientRead1200
421793216166active1200
431793216166idleClientClientRead14200
441793216167idleClientClientRead14200
451793216167idle in transactionClientClientRead1200
461793216168idleClientClientRead15200
471793216170activeIOWalSync1200
481793216170idleClientClientRead14200
491793216171idleClientClientRead15200
501793216172idleClientClientRead15200
511793216173idleClientClientRead15200
521793216174idleClientClientRead15200
531793216175idleClientClientRead15200
541793216176idleClientClientRead15200