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

2.6 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223986idleClientClientRead16200
31793223987activeIOWalSync1200
41793223987idleClientClientRead15200
51793223988activeIOWalSync1200
61793223988activeLWLockWALWrite1200
71793223988idleClientClientRead14200
81793223989idleClientClientRead15200
91793223989idle in transaction1200
101793223991activeIOWalSync1200
111793223991idleClientClientRead15200
121793223992activeClientClientRead1200
131793223992idleClientClientRead15200
141793223993idleClientClientRead15200
151793223993idle in transactionClientClientRead1200
161793223994idleClientClientRead15200
171793223994idle in transactionClientClientRead1200
181793223995idleClientClientRead15200
191793223995idle in transactionClientClientRead1200
201793223996idleClientClientRead16200
211793223997idleClientClientRead13200
221793223997idle in transactionClientClientRead3200
231793223999activeIOWalSync1200
241793223999idleClientClientRead14200
251793223999idle in transactionClientClientRead1200
261793224000idleClientClientRead15200
271793224000idle in transaction1200
281793224001activeIOWalSync1200
291793224001idleClientClientRead11200
301793224001idle in transactionClientClientRead4200
311793224002idleClientClientRead16200
321793224003activeIOWalSync1200
331793224003idleClientClientRead15200
341793224004idleClientClientRead16200
351793224005idleClientClientRead16200
361793224006idleClientClientRead16200
371793224008idleClientClientRead16200
381793224009idleClientClientRead16200
391793224010active1200
401793224010idleClientClientRead14200
411793224010idle in transactionClientClientRead1200
421793224011idleClientClientRead16200
431793224012idleClientClientRead16200
441793224013idleClientClientRead16200
451793224014idleClientClientRead16200
461793224016active1200
471793224016idleClientClientRead15200
481793224017activeIOWalSync1200
491793224017idleClientClientRead15200
501793224018activeClientClientRead1200
511793224018idleClientClientRead15200
521793224019activeIOWalSync1200
531793224019activeLWLockWALWrite1200
541793224019idleClientClientRead13200
551793224019idle in transactionLWLockWALWrite1200
561793224020idleClientClientRead15200
571793224020idle in transactionClientClientRead1200
581793224021idleClientClientRead15200
591793224021idle in transaction1200
601793224022idleClientClientRead16200
611793224023idleClientClientRead16200
621793224025idleClientClientRead16200
631793224026idleClientClientRead16200
641793224027idleClientClientRead16200