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
This commit is contained in:
Artyom
2026-10-29 01:37:34 +03:00
co-authored by Claude Opus 5.5
parent 296e070eba
commit dde113b4ed
131 changed files with 20158 additions and 3 deletions
@@ -0,0 +1,13 @@
ts,busy,total,cpus
1793226345,3309234,20430568,16
1793226348,3311620,20435993,16
1793226352,3314335,20441659,16
1793226356,3317121,20447335,16
1793226359,3319956,20452997,16
1793226362,3322113,20457702,16
1793226366,3324907,20463395,16
1793226370,3327786,20469107,16
1793226373,3330083,20473922,16
1793226377,3333434,20479639,16
1793226380,3336084,20485362,16
1793226384,3339000,20491131,16
1 ts busy total cpus
2 1793226345 3309234 20430568 16
3 1793226348 3311620 20435993 16
4 1793226352 3314335 20441659 16
5 1793226356 3317121 20447335 16
6 1793226359 3319956 20452997 16
7 1793226362 3322113 20457702 16
8 1793226366 3324907 20463395 16
9 1793226370 3327786 20469107 16
10 1793226373 3330083 20473922 16
11 1793226377 3333434 20479639 16
12 1793226380 3336084 20485362 16
13 1793226384 3339000 20491131 16