Files
mtusi2026lab2/evidence/track1/series-b/base-2x1_rate900_rep3/pg_activity.csv
T
ArtyomandClaude Opus 5.5 3bdc8fad23 Record the growth series of track 1
One to eight replicas of 1 CPU, 512 MiB and one worker each, three
repeats per rate; the 4x1 point comes from series A. Peak successful
RPS: 1 720 for one replica, 2 936 for two, 4 724 for four and only
4 260 for eight, lower than four. Up to two replicas the API is the
limit (101 % and 201 % of its CPU). At eight replicas the API uses 473
of its 800 % and the balancer 40 % of a core, while PostgreSQL is at
178 of 200 %, 47.5 of the 64 pool connections wait for a chat row lock
and the balancer queue holds 744 requests. The locking SELECT ... FOR
UPDATE of the chat takes 14.2 ms on average, 97 % of all statement
time of the step, and about 7 connections sit idle in transaction:
the lock holders wait for the application between round trips.

A universal scalability law fit over 1, 2, 4 and 8 CPUs gives
sigma 0.014 and kappa 0.038, a peak near five replicas and a decline
after it. No step of this series was rejected as disturbed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-29 01:05:39 +03:00

2.1 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793224033idleClientClientRead16200
31793224034idleClientClientRead16200
41793224035idleClientClientRead15200
51793224035idle in transactionClientClientRead1200
61793224036idleClientClientRead16200
71793224037idleClientClientRead16200
81793224038idleClientClientRead16200
91793224040idleClientClientRead16200
101793224041active1200
111793224041idleClientClientRead15200
121793224042idleClientClientRead16200
131793224043idleClientClientRead16200
141793224044idleClientClientRead16200
151793224045idleClientClientRead16200
161793224046idleClientClientRead16200
171793224048idleClientClientRead16200
181793224049idleClientClientRead16200
191793224050idleClientClientRead16200
201793224051idleClientClientRead16200
211793224052idleClientClientRead15200
221793224052idle in transactionClientClientRead1200
231793224053idleClientClientRead15200
241793224053idle in transactionClientClientRead1200
251793224054idleClientClientRead16200
261793224055active1200
271793224055idleClientClientRead14200
281793224055idle in transactionClientClientRead1200
291793224057idle1200
301793224057idleClientClientRead15200
311793224058idle1200
321793224058idleClientClientRead15200
331793224059idleClientClientRead15200
341793224059idle in transaction1200
351793224060active1200
361793224060idleClientClientRead15200
371793224061idleClientClientRead16200
381793224062idle1200
391793224062idleClientClientRead15200
401793224063idleClientClientRead16200
411793224065idleClientClientRead16200
421793224066idleClientClientRead16200
431793224067idleClientClientRead15200
441793224067idle in transactionClientClientRead1200
451793224068active1200
461793224068idleClientClientRead15200
471793224069idleClientClientRead15200
481793224070idleClientClientRead15200
491793224071idleClientClientRead15200
501793224072activeIOWalSync1200
511793224072idle1200
521793224072idleClientClientRead13200
531793224074idleClientClientRead16200