Files
mtusi2026lab3/evidence/track1/series-b/base-1x1_rate450_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.0 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223171idleClientClientRead7200
31793223173idleClientClientRead7200
41793223174idleClientClientRead7200
51793223175idleClientClientRead7200
61793223176idleClientClientRead7200
71793223177idleClientClientRead7200
81793223178active1200
91793223178idleClientClientRead6200
101793223179idleClientClientRead7200
111793223180idleClientClientRead7200
121793223182idleClientClientRead7200
131793223183idleClientClientRead8200
141793223184idleClientClientRead8200
151793223185idleClientClientRead8200
161793223186active1200
171793223186idleClientClientRead7200
181793223187idleClientClientRead8200
191793223188idleClientClientRead8200
201793223189idleClientClientRead8200
211793223191activeIOWalSync1200
221793223191idleClientClientRead7200
231793223192idleClientClientRead8200
241793223193idleClientClientRead6200
251793223193idle in transactionClientClientRead1200
261793223193idle in transactionIOWalSync1200
271793223194idleClientClientRead8200
281793223195idleClientClientRead8200
291793223196idleClientClientRead8200
301793223197idleClientClientRead8200
311793223198idleClientClientRead8200
321793223200idleClientClientRead8200
331793223201idleClientClientRead8200
341793223202idleClientClientRead8200
351793223203idleClientClientRead8200
361793223204activeIOWalSync1200
371793223204idleClientClientRead5200
381793223204idle in transactionClientClientRead2200
391793223205activeIOWalSync1200
401793223205idleClientClientRead7200
411793223206activeIOWalSync1200
421793223206idleClientClientRead7200
431793223207active1200
441793223207activeIOWalSync1200
451793223207idleClientClientRead6200
461793223209idleClientClientRead8200
471793223210idleClientClientRead8200
481793223211idleClientClientRead8200
491793223212activeIOWalSync1200
501793223212activeLWLockWALWrite1200
511793223212idleClientClientRead6200