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
+14
View File
@@ -0,0 +1,14 @@
variant,config,replicas,cpus,memory_mb,workers,pool,maxconn,api_cpuset,rate,repeat,started,db_mb,messages,k6_exit,saturated,requests,rps,ok_rps,failed_ratio,dropped_iterations,p50_ms,p95_ms,p99_ms,p95_post_ms,p95_get_ms,cpu_api,cpu_postgres,cpu_lb,cpu_valkey,cpu_k6,mem_api_mb,mem_postgres_mb,mem_k6_mb,pg_backends_max,pg_active_avg,pg_active_max,pg_idle_avg,pg_idle_tx_avg,pg_lock_avg,pg_lock_max,pg_lwlock_avg,pg_io_avg,lb_scur_max,lb_qcur_max,lb_qtime_max_ms,lb_rtime_avg_ms,cpu_vm,cpu_other,gap_s,wall_s,disturbed
before,8x1,8,1.0,512,1,8,32,7-14,5400,1,2026-10-29T01:08:19,63.1,114820,0,True,120655,4021.83,4021.83,0,41346,241.13,314.82,365.9,309.38,327.08,448.76,170.23,37.87,9.37,68.0,135.4,406.9,652.7,64,51.08,64,6.15,6.77,47.35,55,2.19,0.54,1000,744,222,63.93,912.3,178.1,5.3,41.9,True
before,8x1,8,1.0,512,1,8,32,7-14,8100,1,2026-10-29T01:10:09,189.2,380276,0,True,116215,3873.83,3873.83,0,126784,245.19,366.0,435.24,360.44,384.96,479.65,172.32,37.89,9.47,64.31,124.9,537.5,650.7,65,53.65,64,3.27,7.08,49.96,54,2.15,0.65,1000,744,298,68.38,876.2,112.6,4.0,42.3,True
before,8x1,8,1.0,512,1,8,32,7-14,8100,1,2026-10-29T01:11:44,248.4,505653,0,True,120356,4011.87,4011.87,0,122646,239.58,331.65,384.45,326.35,346.34,464.55,179.05,39.49,9.98,62.85,130.2,558.1,654.5,64,50.5,60,6.73,6.77,46.85,56,1.96,0.69,1000,744,259,64.48,892.0,136.1,5.3,41.8,True
after,8x1,8,1.0,512,1,8,32,7-14,5400,1,2026-10-29T01:14:32,424.6,876643,0,True,135134,4504.47,4504.47,0,26863,216.42,269.34,303.64,264.29,279.29,440.87,172.45,42.07,10.37,77.88,136.3,581.6,663.3,64,58,63,6,0,46.88,52,8.88,0.81,1000,744,190,57.38,867.5,123.9,4.0,41.9,True
after,8x1,8,1.0,512,1,8,32,7-14,5400,1,2026-10-29T01:15:35,492.0,1021705,0,True,136380,4546.0,4546.0,0,25621,213.29,268.93,308.62,264.75,279.11,435.99,175.92,42.2,10.31,70.81,134.6,585.9,667.1,64,57.58,63,6.42,0,47.23,52,8.23,0.81,1000,744,185,56.31,840.6,105.4,4.0,41.8,True
after,8x1,8,1.0,512,1,8,32,7-14,5400,1,2026-10-29T01:16:39,561.8,1168492,0,True,129468,4315.6,4315.6,0,32533,225.35,282.39,318.83,276.95,294.54,447.28,180.08,43.59,10.97,80.02,137.0,602.6,651.9,64,56.54,64,7.46,0,46.38,54,7.92,0.88,1000,744,187,58.97,874.9,113.0,4.0,41.9,True
after,8x1,8,1.0,512,1,8,32,7-14,5400,1,2026-10-29T01:17:42,627.2,1307671,0,True,134827,4494.23,4494.23,0,27174,215.94,273.17,308.57,267.68,286.63,449.0,174.71,42.33,10.94,75.22,136.0,589.2,667.0,64,57.23,64,6.77,0,46.38,54,8.62,0.73,999,743,187,56.97,857.6,105.4,4.0,41.8,True
after,8x1,8,1.0,512,1,8,32,7-14,8100,1,2026-10-29T01:18:45,695.4,1452210,0,True,132694,4423.13,4423.13,0,110308,221.16,276.2,311.83,270.97,287.61,416.92,176.41,41.87,10.23,72.36,124.7,572.6,676.9,64,55.58,64,8.42,0,45.62,54,7.85,0.77,1000,744,196,58.17,823.2,105.4,4.0,41.9,True
after,8x1,8,1.0,512,1,8,32,7-14,8100,1,2026-10-29T01:19:48,761.9,1592749,0,True,125143,4171.43,4171.43,0,117859,224.43,363.17,434.93,356.83,388.18,436.67,168.37,42.46,10.42,77.84,136.2,579.2,665.8,64,57.6,64,6.4,0,46.8,54,8.64,0.88,1000,744,318,62.17,884.2,148.4,4.0,41.9,True
after,8x1,8,1.0,512,1,8,32,7-14,8100,1,2026-10-29T01:21:22,824.7,1726293,0,True,132024,4400.8,4400.8,0,110978,221.11,287.63,328.95,281.94,299.45,444.47,172.82,43.12,10.92,76.39,137.2,583.6,670.2,64,58.19,64,5.77,0,47.81,54,7.88,0.96,1000,744,237,59.14,892.4,144.7,4.0,41.8,True
after,8x1,8,1.0,512,1,8,32,7-14,8100,1,2026-10-29T01:22:36,893.8,1870885,0,True,138550,4618.33,4618.33,0,104453,209.16,274.92,333.61,268.9,287.72,439.06,169.06,42.6,10.71,78.58,131.2,598.3,666.2,64,57.81,63,6.19,0,46.31,52,9.15,0.85,1000,744,197,54.41,876.1,136.1,4.0,41.9,True
before,8x1,8,1.0,512,1,8,32,7-14,3600,2,2026-10-29T01:23:50,963.6,2019823,0,False,107978,3599.27,3599.27,0,23,2.78,55.84,106.31,54.09,67.41,461.55,144.99,35.15,9.41,62.41,120.9,598.2,334.4,64,18.88,54,40.27,4.85,15.73,52,1.38,0.54,254,0,0,7.48,853.3,139.8,4.0,41.9,True
before,8x1,8,1.0,512,1,8,32,7-14,3600,2,2026-10-29T01:24:53,1017.7,2133488,0,False,107722,3590.73,3590.73,0,281,2.82,88.35,146.58,83.7,111.63,461.98,147.31,36.95,9.67,67.95,132.2,611.7,291.6,64,14.15,54,44.81,5.04,10.88,48,1.31,0.62,418,162,46,11.28,825.6,101.7,5.3,41.6,True
1 variant config replicas cpus memory_mb workers pool maxconn api_cpuset rate repeat started db_mb messages k6_exit saturated requests rps ok_rps failed_ratio dropped_iterations p50_ms p95_ms p99_ms p95_post_ms p95_get_ms cpu_api cpu_postgres cpu_lb cpu_valkey cpu_k6 mem_api_mb mem_postgres_mb mem_k6_mb pg_backends_max pg_active_avg pg_active_max pg_idle_avg pg_idle_tx_avg pg_lock_avg pg_lock_max pg_lwlock_avg pg_io_avg lb_scur_max lb_qcur_max lb_qtime_max_ms lb_rtime_avg_ms cpu_vm cpu_other gap_s wall_s disturbed
2 before 8x1 8 1.0 512 1 8 32 7-14 5400 1 2026-10-29T01:08:19 63.1 114820 0 True 120655 4021.83 4021.83 0 41346 241.13 314.82 365.9 309.38 327.08 448.76 170.23 37.87 9.37 68.0 135.4 406.9 652.7 64 51.08 64 6.15 6.77 47.35 55 2.19 0.54 1000 744 222 63.93 912.3 178.1 5.3 41.9 True
3 before 8x1 8 1.0 512 1 8 32 7-14 8100 1 2026-10-29T01:10:09 189.2 380276 0 True 116215 3873.83 3873.83 0 126784 245.19 366.0 435.24 360.44 384.96 479.65 172.32 37.89 9.47 64.31 124.9 537.5 650.7 65 53.65 64 3.27 7.08 49.96 54 2.15 0.65 1000 744 298 68.38 876.2 112.6 4.0 42.3 True
4 before 8x1 8 1.0 512 1 8 32 7-14 8100 1 2026-10-29T01:11:44 248.4 505653 0 True 120356 4011.87 4011.87 0 122646 239.58 331.65 384.45 326.35 346.34 464.55 179.05 39.49 9.98 62.85 130.2 558.1 654.5 64 50.5 60 6.73 6.77 46.85 56 1.96 0.69 1000 744 259 64.48 892.0 136.1 5.3 41.8 True
5 after 8x1 8 1.0 512 1 8 32 7-14 5400 1 2026-10-29T01:14:32 424.6 876643 0 True 135134 4504.47 4504.47 0 26863 216.42 269.34 303.64 264.29 279.29 440.87 172.45 42.07 10.37 77.88 136.3 581.6 663.3 64 58 63 6 0 46.88 52 8.88 0.81 1000 744 190 57.38 867.5 123.9 4.0 41.9 True
6 after 8x1 8 1.0 512 1 8 32 7-14 5400 1 2026-10-29T01:15:35 492.0 1021705 0 True 136380 4546.0 4546.0 0 25621 213.29 268.93 308.62 264.75 279.11 435.99 175.92 42.2 10.31 70.81 134.6 585.9 667.1 64 57.58 63 6.42 0 47.23 52 8.23 0.81 1000 744 185 56.31 840.6 105.4 4.0 41.8 True
7 after 8x1 8 1.0 512 1 8 32 7-14 5400 1 2026-10-29T01:16:39 561.8 1168492 0 True 129468 4315.6 4315.6 0 32533 225.35 282.39 318.83 276.95 294.54 447.28 180.08 43.59 10.97 80.02 137.0 602.6 651.9 64 56.54 64 7.46 0 46.38 54 7.92 0.88 1000 744 187 58.97 874.9 113.0 4.0 41.9 True
8 after 8x1 8 1.0 512 1 8 32 7-14 5400 1 2026-10-29T01:17:42 627.2 1307671 0 True 134827 4494.23 4494.23 0 27174 215.94 273.17 308.57 267.68 286.63 449.0 174.71 42.33 10.94 75.22 136.0 589.2 667.0 64 57.23 64 6.77 0 46.38 54 8.62 0.73 999 743 187 56.97 857.6 105.4 4.0 41.8 True
9 after 8x1 8 1.0 512 1 8 32 7-14 8100 1 2026-10-29T01:18:45 695.4 1452210 0 True 132694 4423.13 4423.13 0 110308 221.16 276.2 311.83 270.97 287.61 416.92 176.41 41.87 10.23 72.36 124.7 572.6 676.9 64 55.58 64 8.42 0 45.62 54 7.85 0.77 1000 744 196 58.17 823.2 105.4 4.0 41.9 True
10 after 8x1 8 1.0 512 1 8 32 7-14 8100 1 2026-10-29T01:19:48 761.9 1592749 0 True 125143 4171.43 4171.43 0 117859 224.43 363.17 434.93 356.83 388.18 436.67 168.37 42.46 10.42 77.84 136.2 579.2 665.8 64 57.6 64 6.4 0 46.8 54 8.64 0.88 1000 744 318 62.17 884.2 148.4 4.0 41.9 True
11 after 8x1 8 1.0 512 1 8 32 7-14 8100 1 2026-10-29T01:21:22 824.7 1726293 0 True 132024 4400.8 4400.8 0 110978 221.11 287.63 328.95 281.94 299.45 444.47 172.82 43.12 10.92 76.39 137.2 583.6 670.2 64 58.19 64 5.77 0 47.81 54 7.88 0.96 1000 744 237 59.14 892.4 144.7 4.0 41.8 True
12 after 8x1 8 1.0 512 1 8 32 7-14 8100 1 2026-10-29T01:22:36 893.8 1870885 0 True 138550 4618.33 4618.33 0 104453 209.16 274.92 333.61 268.9 287.72 439.06 169.06 42.6 10.71 78.58 131.2 598.3 666.2 64 57.81 63 6.19 0 46.31 52 9.15 0.85 1000 744 197 54.41 876.1 136.1 4.0 41.9 True
13 before 8x1 8 1.0 512 1 8 32 7-14 3600 2 2026-10-29T01:23:50 963.6 2019823 0 False 107978 3599.27 3599.27 0 23 2.78 55.84 106.31 54.09 67.41 461.55 144.99 35.15 9.41 62.41 120.9 598.2 334.4 64 18.88 54 40.27 4.85 15.73 52 1.38 0.54 254 0 0 7.48 853.3 139.8 4.0 41.9 True
14 before 8x1 8 1.0 512 1 8 32 7-14 3600 2 2026-10-29T01:24:53 1017.7 2133488 0 False 107722 3590.73 3590.73 0 281 2.82 88.35 146.58 83.7 111.63 461.98 147.31 36.95 9.67 67.95 132.2 611.7 291.6 64 14.15 54 44.81 5.04 10.88 48 1.31 0.62 418 162 46 11.28 825.6 101.7 5.3 41.6 True