Files
mtusi2026lab3/evidence/track1/compare/after-8x1_rate3600_rep2/pg_activity.csv
T
ArtyomandClaude Opus 5.5 dde113b4ed Record the before and after comparison of track 1
8x1 with the image of edc091d (before) and the one-statement write
(after), alternating per repeat, three repeats at 3 600, 5 400 and
8 100 rps. At 3 600 rps, below the knee, p95 falls from 64.5 ms
(35.7..142.5) to 3.7 ms (2.8..5.4) and p99 from 122 to 13 ms; the API
spends 391 instead of 457 % CPU and PostgreSQL 102 instead of 137 %;
connections waiting for a chat lock drop from 12.8 to 0.15 and none is
idle in transaction any more. Past the knee the peak rises from 4 252
(4 054..4 396) to 4 894 rps (4 494..5 104), +15 %, and at 8 100 rps
from 4 104 to 4 841 (+18 %); the ranges do not overlap. Saturated, the
lock holders now wait for the WAL flush (LWLock WALWrite) instead of
the application.

The switch to the after image for the third repeat failed in compose
while another lab was running tests on the shared VM, so that repeat
was run alone with --first-repeat 3 on the same database; apply now
retries compose up twice and prints its stderr. Two after rows were
still marked disturbed after three reruns and are kept; they are the
lower ones.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-29 01:37:34 +03:00

5.0 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793226497idleClientClientRead8200
31793226498active1200
41793226498activeClientClientRead3200
51793226498activeIOWalSync1200
61793226498activeLWLockWALWrite9200
71793226498activeLocktransactionid36200
81793226498activeLocktuple9200
91793226498idleClientClientRead5200
101793226499active2200
111793226499activeIOWalSync1200
121793226499idle1200
131793226499idleClientClientRead60200
141793226500active2200
151793226500idle1200
161793226500idleClientClientRead61200
171793226501activeClientClientRead1200
181793226501activeIOWalSync1200
191793226501activeLWLockWALWrite1200
201793226501idleClientClientRead61200
211793226503activeIOWalSync1200
221793226503activeLWLockWALWrite3200
231793226503idleClientClientRead60200
241793226504activeClientClientRead1200
251793226504activeIOWalSync1200
261793226504activeLWLockWALWrite5200
271793226504idleClientClientRead57200
281793226505activeIOWalSync1200
291793226505activeLWLockWALWrite4200
301793226505idleClientClientRead59200
311793226506activeClientClientRead1200
321793226506activeIOWalSync1200
331793226506activeLWLockWALWrite3200
341793226506idle1200
351793226506idleClientClientRead58200
361793226507activeIOWalSync1200
371793226507activeLWLockWALWrite2200
381793226507idle3200
391793226507idleClientClientRead58200
401793226508active2200
411793226508activeIOWalSync1200
421793226508activeLWLockWALWrite1200
431793226508idle1200
441793226508idleClientClientRead59200
451793226509active1200
461793226509activeIOWalSync1200
471793226509idle1200
481793226509idleClientClientRead61200
491793226511active1200
501793226511activeIOWalSync1200
511793226511idleClientClientRead62200
521793226512active3200
531793226512idleClientClientRead61200
541793226513activeClientClientRead1200
551793226513activeIOWalSync1200
561793226513activeLWLockWALWrite1200
571793226513idleClientClientRead61200
581793226514active1200
591793226514activeIOWalSync1200
601793226514activeLWLockWALWrite2200
611793226514idleClientClientRead60200
621793226515activeClientClientRead1200
631793226515activeLWLockWALWrite1200
641793226515idleClientClientRead62200
651793226516activeIOWalSync1200
661793226516activeTimeoutSpinDelay2200
671793226516idle2200
681793226516idleClientClientRead57200
691793226516idleLWLockWALWrite2200
701793226517activeClientClientRead1200
711793226517idleClientClientRead63200
721793226519active1200
731793226519activeLWLockWALWrite2200
741793226519idle2200
751793226519idleClientClientRead59200
761793226520active1200
771793226520activeIOWalSync1200
781793226520activeLWLockWALWrite5200
791793226520idleClientClientRead57200
801793226521active1200
811793226521activeIOWalSync1200
821793226521idleClientClientRead62200
831793226522activeIOWalSync1200
841793226522activeLWLockWALWrite6200
851793226522activeLocktransactionid1200
861793226522idleClientClientRead56200
871793226523active2200
881793226523activeIOWalSync1200
891793226523idleClientClientRead61200
901793226524activeClientClientRead1200
911793226524activeIOWalSync1200
921793226524activeLWLockWALWrite4200
931793226524idle2200
941793226524idleClientClientRead55200
951793226524idleLWLockWALWrite1200
961793226525activeClientClientRead1200
971793226525activeIOWalSync1200
981793226525activeLWLockWALInsert1200
991793226525activeLWLockWALWrite4200
1001793226525idleClientClientRead57200
1011793226527activeIOWalSync1200
1021793226527idle1200
1031793226527idleClientClientRead62200
1041793226528active2200
1051793226528activeIOWalSync1200
1061793226528activeLWLockWALWrite1200
1071793226528idle1200
1081793226528idleClientClientRead59200
1091793226529activeIOWalSync1200
1101793226529activeLWLockWALWrite2200
1111793226529idle1200
1121793226529idleClientClientRead60200
1131793226530activeIOWalSync1200
1141793226530activeLWLockWALWrite4200
1151793226530idle1200
1161793226530idleClientClientRead58200
1171793226531activeIOWalSync1200
1181793226531activeLWLockWALWrite3200
1191793226531idleClientClientRead60200
1201793226532active1200
1211793226532activeIOWalSync1200
1221793226532idle1200
1231793226532idleClientClientRead61200
1241793226533activeIOWalSync1200
1251793226533activeLWLockWALWrite2200
1261793226533idleClientClientRead61200
1271793226535activeIOWalSync1200
1281793226535activeLWLockWALWrite1200
1291793226535idleClientClientRead62200
1301793226536active2200
1311793226536activeIOWalSync1200
1321793226536activeLWLockWALWrite3200
1331793226536idleClientClientRead58200
1341793226537active1200
1351793226537activeIOWalSync1200
1361793226537activeLWLockWALWrite3200
1371793226537activeLocktransactionid2200
1381793226537activeLocktuple1200
1391793226537idle1200
1401793226537idleClientClientRead55200
1411793226538idleClientClientRead64200