Files
mtusi2026lab2/evidence/track1/series-b/base-2x1_rate1350_rep2/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

3.1 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793224126idleClientClientRead16200
31793224127idleClientClientRead16200
41793224128idleClientClientRead15200
51793224128idle in transactionClientClientRead1200
61793224130active1200
71793224130idleClientClientRead14200
81793224130idle in transactionClientClientRead1200
91793224131active1200
101793224131idleClientClientRead15200
111793224132idleClientClientRead14200
121793224132idle in transactionClientClientRead2200
131793224133activeClientClientRead1200
141793224133idleClientClientRead14200
151793224133idle in transactionClientClientRead1200
161793224134activeIOWalSync1200
171793224134activeLWLockWALWrite1200
181793224134idle1200
191793224134idleClientClientRead13200
201793224135idleClientClientRead16200
211793224136activeIOWalSync1200
221793224136activeLWLockWALWrite1200
231793224136idleClientClientRead14200
241793224138active2200
251793224138activeIOWalSync1200
261793224138idleClientClientRead12200
271793224138idle in transactionClientClientRead1200
281793224139idleClientClientRead16200
291793224140idleClientClientRead16200
301793224141idleClientClientRead16200
311793224142activeClientClientRead1200
321793224142activeIOWalSync1200
331793224142idleClientClientRead14200
341793224143activeIOWalSync1200
351793224143activeLWLockWALWrite2200
361793224143idleClientClientRead12200
371793224144idleClientClientRead16200
381793224146idleClientClientRead15200
391793224146idle in transaction1200
401793224147activeLocktransactionid1200
411793224147activeLocktuple1200
421793224147idleClientClientRead5200
431793224147idle in transactionClientClientRead9200
441793224148activeIOWalSync1200
451793224148activeLWLockWALWrite1200
461793224148idleClientClientRead13200
471793224148idle in transactionClientClientRead1200
481793224149idleClientClientRead16200
491793224150idleClientClientRead14200
501793224150idle in transactionClientClientRead1200
511793224151activeClientClientRead1200
521793224151idle1200
531793224151idleClientClientRead13200
541793224151idle in transactionClientClientRead1200
551793224152idleClientClientRead16200
561793224153idle1200
571793224153idleClientClientRead15200
581793224155idleClientClientRead15200
591793224155idle in transaction1200
601793224156activeIOWalSync1200
611793224156idleClientClientRead15200
621793224157idleClientClientRead14200
631793224157idle in transactionClientClientRead2200
641793224158activeIOWalSync1200
651793224158activeLWLockWALWrite1200
661793224158idleClientClientRead14200
671793224159idleClientClientRead15200
681793224159idle in transaction1200
691793224160idleClientClientRead15200
701793224160idle in transactionClientClientRead1200
711793224161idleClientClientRead16200
721793224163active1200
731793224163idleClientClientRead15200
741793224164idleClientClientRead16200
751793224165idleClientClientRead15200
761793224165idle in transactionClientClientRead1200
771793224166idleClientClientRead16200
781793224167idleClientClientRead16200