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

2.6 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223358idleClientClientRead8200
31793223359idleClientClientRead8200
41793223360idleClientClientRead8200
51793223362activeIOWalSync1200
61793223362activeLWLockWALWrite2200
71793223362idleClientClientRead4200
81793223363idleClientClientRead8200
91793223364idleClientClientRead8200
101793223365active2200
111793223365idleClientClientRead6200
121793223366idleClientClientRead3200
131793223366idle in transactionClientClientRead5200
141793223367idleClientClientRead8200
151793223368activeIOWalSync1200
161793223368idleClientClientRead5200
171793223369idleClientClientRead8200
181793223371idleClientClientRead8200
191793223372activeClientClientRead1200
201793223372idleClientClientRead6200
211793223372idle in transaction1200
221793223373idleClientClientRead8200
231793223374active1200
241793223374idleClientClientRead6200
251793223374idle in transactionClientClientRead1200
261793223375idleClientClientRead8200
271793223376activeIOWalSync1200
281793223376idleClientClientRead6200
291793223376idle in transaction1200
301793223377activeIOWalSync1200
311793223377idleClientClientRead6200
321793223377idle in transaction1200
331793223379active1200
341793223379idleClientClientRead7200
351793223380idleClientClientRead8200
361793223381idleClientClientRead8200
371793223382activeLocktransactionid1200
381793223382idleClientClientRead4200
391793223382idle in transactionClientClientRead3200
401793223383idleClientClientRead8200
411793223384idleClientClientRead7200
421793223384idle in transactionClientClientRead1200
431793223385idleClientClientRead8200
441793223386idleClientClientRead7200
451793223386idle in transactionClientClientRead1200
461793223388activeClientClientRead1200
471793223388idleClientClientRead7200
481793223389activeClientClientRead1200
491793223389idleClientClientRead7200
501793223390activeClientClientRead1200
511793223390activeIOWalSync1200
521793223390idleClientClientRead6200
531793223391active1200
541793223391idleClientClientRead7200
551793223392idleClientClientRead6200
561793223392idle in transaction1200
571793223392idle in transactionClientClientRead1200
581793223393idleClientClientRead8200
591793223394idleClientClientRead8200
601793223396idleClientClientRead8200
611793223397idleClientClientRead7200
621793223397idle in transaction1200
631793223398idleClientClientRead4200
641793223398idle in transactionClientClientRead4200
651793223399idleClientClientRead8200