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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793224079idleClientClientRead16200
31793224081activeIOWalSync1200
41793224081idleClientClientRead15200
51793224082idleClientClientRead16200
61793224083idleClientClientRead16200
71793224084active1200
81793224084idleClientClientRead10200
91793224084idle in transactionClientClientRead5200
101793224085idleClientClientRead16200
111793224086idleClientClientRead14200
121793224088idleClientClientRead13200
131793224088idle in transactionClientClientRead1200
141793224089idleClientClientRead13200
151793224090activeIOWalSync1200
161793224090idleClientClientRead15200
171793224091idleClientClientRead15200
181793224091idle in transactionClientClientRead1200
191793224092idleClientClientRead16200
201793224093active1200
211793224093activeIOWalSync1200
221793224093activeLWLockWALWrite1200
231793224093idleClientClientRead12200
241793224094idleClientClientRead15200
251793224095idle1200
261793224095idleClientClientRead15200
271793224097activeIOWalSync1200
281793224097idleClientClientRead13200
291793224097idle in transactionClientClientRead2200
301793224098active1200
311793224098activeIOWalSync1200
321793224098idleClientClientRead12200
331793224098idle in transactionClientClientRead1200
341793224099idleClientClientRead14200
351793224100idleClientClientRead16200
361793224101activeClientClientRead1200
371793224101idle1200
381793224101idleClientClientRead14200
391793224102active1200
401793224102activeIOWalSync1200
411793224102activeLWLockWALWrite1200
421793224102idleClientClientRead12200
431793224102idle in transactionClientClientRead1200
441793224103idleClientClientRead16200
451793224104activeClientClientRead1200
461793224104idleClientClientRead15200
471793224106activeClientClientRead1200
481793224106idleClientClientRead14200
491793224107idle1200
501793224107idleClientClientRead14200
511793224108idleClientClientRead12200
521793224108idle in transactionClientClientRead2200
531793224109idleClientClientRead13200
541793224109idle in transaction1200
551793224110activeIOWalSync1200
561793224110idleClientClientRead11200
571793224110idle in transactionClientClientRead3200
581793224111activeIOWalSync1200
591793224111activeLWLockWALWrite2200
601793224111idleClientClientRead13200
611793224112active1200
621793224112idleClientClientRead13200
631793224112idle in transactionClientClientRead2200
641793224114idleClientClientRead15200
651793224114idle in transactionClientClientRead1200
661793224115idleClientClientRead14200
671793224115idle in transactionClientClientRead2200
681793224116activeClientClientRead1200
691793224116idle1200
701793224116idleClientClientRead14200
711793224117activeTimeoutSpinDelay1200
721793224117idleClientClientRead12200
731793224117idle in transaction1200
741793224117idle in transactionClientClientRead1200
751793224118activeClientClientRead1200
761793224118activeIOWalSync1200
771793224118idleClientClientRead13200
781793224119idleClientClientRead15200
791793224120idleClientClientRead16200