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

3.5 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793224173idleClientClientRead16200
31793224174activeClientClientRead1200
41793224174idleClientClientRead15200
51793224175activeClientClientRead1200
61793224175activeIOWalSync1200
71793224175idleClientClientRead14200
81793224176active1200
91793224176idleClientClientRead15200
101793224178activeClientClientRead1200
111793224178activeIOWalSync1200
121793224178activeLWLockWALWrite1200
131793224178idle1200
141793224178idleClientClientRead12200
151793224179activeIOWalSync1200
161793224179idleClientClientRead14200
171793224179idle in transaction1200
181793224180idleClientClientRead15200
191793224180idle in transactionClientClientRead1200
201793224181active2200
211793224181idleClientClientRead10200
221793224181idle in transactionClientClientRead4200
231793224182activeIOWalSync1200
241793224182idleClientClientRead15200
251793224183active1200
261793224183activeIOWalSync1200
271793224183idleClientClientRead13200
281793224183idle in transactionClientClientRead1200
291793224184idleClientClientRead15200
301793224184idle in transaction1200
311793224186idleClientClientRead16200
321793224187idleClientClientRead16200
331793224188active1200
341793224188activeClientClientRead1200
351793224188idleClientClientRead13200
361793224189activeIOWalSync1200
371793224189idleClientClientRead15200
381793224190activeIOWalSync1200
391793224190idleClientClientRead14200
401793224191active1200
411793224191idleClientClientRead14200
421793224191idle in transactionClientClientRead1200
431793224192activeClientClientRead1200
441793224192idle1200
451793224192idleClientClientRead14200
461793224193activeIOWalSync1200
471793224193activeLWLockWALWrite1200
481793224193idleClientClientRead13200
491793224193idle in transaction1200
501793224195idleClientClientRead15200
511793224195idle in transactionClientClientRead1200
521793224196active1200
531793224196activeIOWalSync1200
541793224196idleClientClientRead14200
551793224197active1200
561793224197activeIOWalSync1200
571793224197idleClientClientRead13200
581793224197idle in transactionClientClientRead1200
591793224198idleClientClientRead16200
601793224199idleClientClientRead16200
611793224200idleClientClientRead15200
621793224200idle in transactionClientClientRead1200
631793224201idleClientClientRead16200
641793224203activeIOWalSync1200
651793224203idle1200
661793224203idleClientClientRead14200
671793224204active1200
681793224204activeIOWalSync1200
691793224204activeLWLockWALWrite1200
701793224204idleClientClientRead13200
711793224205active1200
721793224205idleClientClientRead15200
731793224206idle1200
741793224206idleClientClientRead14200
751793224207activeClientClientRead1200
761793224207idleClientClientRead12200
771793224207idle in transaction1200
781793224207idle in transactionClientClientRead1200
791793224208idle1200
801793224208idleClientClientRead14200
811793224209activeClientClientRead1200
821793224209idleClientClientRead15200
831793224211idleClientClientRead13200
841793224211idle in transactionClientClientRead2200
851793224211idle in transactionIOWalWrite1200
861793224212activeClientClientRead1200
871793224212idle1200
881793224212idleClientClientRead14200
891793224213activeIOWalSync1200
901793224213idleClientClientRead15200
911793224214idleClientClientRead16200