Record the control runs of track 1

make track1-control on b1c80ee: 8x1 at 5400 rps with a pool of 4, 8 and
16 connections per worker and an LB maxconn of 16, 32 and 64 per
replica, then 4x1 against 8x0.5 on the same CPUs 7-10, three repeats
with the variants interleaved.

The first placement attempt is kept in aborted/ only as a summary: four
4x1 runs had the write command at 7-34 ms instead of 0.2-0.6 ms, waiting
on WalSync, which the CPU based rejection does not see. The rerun right
after it is the one in control-cpus. The full output of the two failed
compose up attempts names the cause of the flaky switch: all replicas
are recreated at once and lb turns unhealthy without a ready server.

Plots and capacity.md now include both control series.

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-30 04:45:55 +03:00
co-authored by Claude Opus 5.5
parent a67bc6526a
commit f4833c40c0
201 changed files with 29441 additions and 0 deletions
@@ -0,0 +1,13 @@
run,calls,mean_ms,query
pinned-4x1_rate4560_rep1,41607,6.992,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-4x1_rate4560_rep2,56591,12.075,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-4x1_rate4560_rep3,20823,33.842,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-4x1_rate6830_rep1,81558,7.923,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-4x1_rate6830_rep2,149548,1.973,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-4x1_rate6830_rep3,101351,0.807,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-8x0.5_rate4560_rep1,78069,0.789,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-8x0.5_rate4560_rep2,145889,0.474,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-8x0.5_rate4560_rep3,145905,0.498,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-8x0.5_rate6830_rep1,176003,0.922,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-8x0.5_rate6830_rep2,175141,1.205,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
pinned-8x0.5_rate6830_rep3,174684,1.106,"WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last"
1 run calls mean_ms query
2 pinned-4x1_rate4560_rep1 41607 6.992 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
3 pinned-4x1_rate4560_rep2 56591 12.075 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
4 pinned-4x1_rate4560_rep3 20823 33.842 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
5 pinned-4x1_rate6830_rep1 81558 7.923 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
6 pinned-4x1_rate6830_rep2 149548 1.973 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
7 pinned-4x1_rate6830_rep3 101351 0.807 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
8 pinned-8x0.5_rate4560_rep1 78069 0.789 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
9 pinned-8x0.5_rate4560_rep2 145889 0.474 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
10 pinned-8x0.5_rate4560_rep3 145905 0.498 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
11 pinned-8x0.5_rate6830_rep1 176003 0.922 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
12 pinned-8x0.5_rate6830_rep2 175141 1.205 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
13 pinned-8x0.5_rate6830_rep3 174684 1.106 WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last
@@ -0,0 +1,13 @@
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
pinned,4x1,4,1.0,512,1,8,32,7-10,4560,1,2026-10-30T04:21:19,7.7,0,0,True,106074,3535.8,3535.8,0,30727,54.12,447.09,571.29,440.72,466.82,312.93,127.11,39.26,10.37,67.95,135.7,227.6,496.4,32,16.75,31,15.25,0,9.96,21,4.96,0.79,1000,872,510,35.25,641.0,83.4,4.0,42.0,False
pinned,4x1,4,1.0,512,1,8,32,7-10,4560,2,2026-10-30T04:22:07,65.9,121841,0,True,45588,1519.6,1519.6,0,91208,549.81,1409.66,1801.33,1399.77,1447.64,184.26,82.98,22.95,7.42,41.34,123.7,264.8,652.2,32,25.35,32,6.65,0,16.6,23,7.2,0.95,1000,872,1462,99.15,434.1,95.2,5.0,43.2,False
pinned,4x1,4,1.0,512,1,8,32,7-10,4560,3,2026-10-30T04:23:00,92.2,177314,0,True,19581,652.7,652.7,0,117237,1577.4,2397.28,2573.53,2376.5,2481.08,164.78,72.74,19.89,6.01,24.21,135.9,275.2,610.2,32,27.38,32,4.62,0,17.81,22,7.88,0.94,1421,1293,1946,211.46,288.9,1.3,5.9,47.0,False
pinned,4x1,4,1.0,512,1,8,32,7-10,6830,1,2026-10-30T04:23:52,102.1,198768,0,True,80322,2677.4,2677.4,0,124580,368.34,560.51,632.16,554.64,581.89,264.55,113.32,33.47,9.22,57.12,123.9,320.1,645.4,32,24.45,31,7.55,0,15.41,20,7.59,0.91,1000,872,521,49.18,551.2,73.5,4.0,43.7,False
pinned,4x1,4,1.0,512,1,8,32,7-10,6830,2,2026-10-30T04:24:42,140.4,279557,0,True,162229,5407.63,5407.63,0,42670,171.23,254.18,294.21,250.86,266.85,395.12,152.76,49.62,12.58,86.42,136.4,396.7,678.3,32,13.38,28,18.62,0,6.58,18,4.69,0.69,1000,872,247,24.43,758.9,62.4,4.0,43.2,False
pinned,4x1,4,1.0,512,1,8,32,7-10,6830,3,2026-10-30T04:25:29,210.9,429556,0,True,174101,5803.37,5803.37,0,30803,165.68,216.42,257.33,214.16,223.35,401.09,156.24,46.34,11.83,85.66,134.1,442.0,679.1,32,17.15,29,14.85,0,9.85,19,5.37,0.7,998,870,200,22.24,775.2,74.0,4.5,41.8,False
pinned,8x0.5,8,0.5,512,1,8,32,7-10,4560,1,2026-10-30T04:26:28,7.7,0,0,False,136540,4551.33,4551.33,0,261,4.05,106.91,148.4,103.66,118.67,394.96,126.17,39.3,9.66,71.46,130.6,345.7,399.8,64,15.33,59,48.67,0,9.26,49,4.07,0.85,527,271,53,15.4,699.7,58.2,4.7,41.8,False
pinned,8x0.5,8,0.5,512,1,8,32,7-10,4560,2,2026-10-30T04:27:15,78.0,145958,0,False,136802,4560.07,4560.07,0,0,3.72,61.43,105.51,58.57,71.79,393.18,124.41,38.33,9.29,67.39,131.1,435.2,345.7,64,10.96,40,53.04,0,5.33,30,3.89,0.7,236,0,2,10.93,700.1,67.5,4.0,41.6,False
pinned,8x0.5,8,0.5,512,1,8,32,7-10,4560,3,2026-10-30T04:28:02,147.4,290307,0,False,136749,4558.3,4558.3,0,54,3.94,89.11,128.1,85.93,101.79,395.96,122.05,37.93,9.08,67.92,131.0,517.4,342.9,64,9.41,52,54.59,0,4.78,43,3.19,0.63,426,170,21,12.79,702.8,69.9,4.0,41.7,False
pinned,8x0.5,8,0.5,512,1,8,32,7-10,6830,1,2026-10-30T04:28:50,217.0,436947,0,True,165301,5510.03,5510.03,0,39601,174.46,245.01,311.49,240.04,259.93,407.61,148.44,44.44,10.64,82.96,122.4,568.3,667.9,64,17.38,35,46.62,0,9.19,19,4.96,0.81,1000,744,227,47,768.4,74.3,4.1,41.8,False
pinned,8x0.5,8,0.5,512,1,8,32,7-10,6830,2,2026-10-30T04:29:37,300.7,612586,0,True,163901,5463.37,5463.37,0,41001,175.55,255.13,310.86,251.11,269.11,410.04,147.7,43.18,10.5,82.53,134.5,569.9,654.9,64,20.42,63,43.58,0,13.38,53,4.65,0.77,1000,744,174,48.48,766.2,72.2,4.4,42.0,False
pinned,8x0.5,8,0.5,512,1,8,32,7-10,6830,3,2026-10-30T04:30:24,385.1,788336,0,True,163181,5439.37,5439.37,0,41721,176.3,252.11,306.26,248.06,268.37,407.97,160.15,44.72,10.34,83.14,134.7,573.2,673.5,64,18.44,64,45.56,0,11.41,54,5.11,0.81,1000,744,169,48.03,775.1,68.8,4.0,41.9,False
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 pinned 4x1 4 1.0 512 1 8 32 7-10 4560 1 2026-10-30T04:21:19 7.7 0 0 True 106074 3535.8 3535.8 0 30727 54.12 447.09 571.29 440.72 466.82 312.93 127.11 39.26 10.37 67.95 135.7 227.6 496.4 32 16.75 31 15.25 0 9.96 21 4.96 0.79 1000 872 510 35.25 641.0 83.4 4.0 42.0 False
3 pinned 4x1 4 1.0 512 1 8 32 7-10 4560 2 2026-10-30T04:22:07 65.9 121841 0 True 45588 1519.6 1519.6 0 91208 549.81 1409.66 1801.33 1399.77 1447.64 184.26 82.98 22.95 7.42 41.34 123.7 264.8 652.2 32 25.35 32 6.65 0 16.6 23 7.2 0.95 1000 872 1462 99.15 434.1 95.2 5.0 43.2 False
4 pinned 4x1 4 1.0 512 1 8 32 7-10 4560 3 2026-10-30T04:23:00 92.2 177314 0 True 19581 652.7 652.7 0 117237 1577.4 2397.28 2573.53 2376.5 2481.08 164.78 72.74 19.89 6.01 24.21 135.9 275.2 610.2 32 27.38 32 4.62 0 17.81 22 7.88 0.94 1421 1293 1946 211.46 288.9 1.3 5.9 47.0 False
5 pinned 4x1 4 1.0 512 1 8 32 7-10 6830 1 2026-10-30T04:23:52 102.1 198768 0 True 80322 2677.4 2677.4 0 124580 368.34 560.51 632.16 554.64 581.89 264.55 113.32 33.47 9.22 57.12 123.9 320.1 645.4 32 24.45 31 7.55 0 15.41 20 7.59 0.91 1000 872 521 49.18 551.2 73.5 4.0 43.7 False
6 pinned 4x1 4 1.0 512 1 8 32 7-10 6830 2 2026-10-30T04:24:42 140.4 279557 0 True 162229 5407.63 5407.63 0 42670 171.23 254.18 294.21 250.86 266.85 395.12 152.76 49.62 12.58 86.42 136.4 396.7 678.3 32 13.38 28 18.62 0 6.58 18 4.69 0.69 1000 872 247 24.43 758.9 62.4 4.0 43.2 False
7 pinned 4x1 4 1.0 512 1 8 32 7-10 6830 3 2026-10-30T04:25:29 210.9 429556 0 True 174101 5803.37 5803.37 0 30803 165.68 216.42 257.33 214.16 223.35 401.09 156.24 46.34 11.83 85.66 134.1 442.0 679.1 32 17.15 29 14.85 0 9.85 19 5.37 0.7 998 870 200 22.24 775.2 74.0 4.5 41.8 False
8 pinned 8x0.5 8 0.5 512 1 8 32 7-10 4560 1 2026-10-30T04:26:28 7.7 0 0 False 136540 4551.33 4551.33 0 261 4.05 106.91 148.4 103.66 118.67 394.96 126.17 39.3 9.66 71.46 130.6 345.7 399.8 64 15.33 59 48.67 0 9.26 49 4.07 0.85 527 271 53 15.4 699.7 58.2 4.7 41.8 False
9 pinned 8x0.5 8 0.5 512 1 8 32 7-10 4560 2 2026-10-30T04:27:15 78.0 145958 0 False 136802 4560.07 4560.07 0 0 3.72 61.43 105.51 58.57 71.79 393.18 124.41 38.33 9.29 67.39 131.1 435.2 345.7 64 10.96 40 53.04 0 5.33 30 3.89 0.7 236 0 2 10.93 700.1 67.5 4.0 41.6 False
10 pinned 8x0.5 8 0.5 512 1 8 32 7-10 4560 3 2026-10-30T04:28:02 147.4 290307 0 False 136749 4558.3 4558.3 0 54 3.94 89.11 128.1 85.93 101.79 395.96 122.05 37.93 9.08 67.92 131.0 517.4 342.9 64 9.41 52 54.59 0 4.78 43 3.19 0.63 426 170 21 12.79 702.8 69.9 4.0 41.7 False
11 pinned 8x0.5 8 0.5 512 1 8 32 7-10 6830 1 2026-10-30T04:28:50 217.0 436947 0 True 165301 5510.03 5510.03 0 39601 174.46 245.01 311.49 240.04 259.93 407.61 148.44 44.44 10.64 82.96 122.4 568.3 667.9 64 17.38 35 46.62 0 9.19 19 4.96 0.81 1000 744 227 47 768.4 74.3 4.1 41.8 False
12 pinned 8x0.5 8 0.5 512 1 8 32 7-10 6830 2 2026-10-30T04:29:37 300.7 612586 0 True 163901 5463.37 5463.37 0 41001 175.55 255.13 310.86 251.11 269.11 410.04 147.7 43.18 10.5 82.53 134.5 569.9 654.9 64 20.42 63 43.58 0 13.38 53 4.65 0.77 1000 744 174 48.48 766.2 72.2 4.4 42.0 False
13 pinned 8x0.5 8 0.5 512 1 8 32 7-10 6830 3 2026-10-30T04:30:24 385.1 788336 0 True 163181 5439.37 5439.37 0 41721 176.3 252.11 306.26 248.06 268.37 407.97 160.15 44.72 10.34 83.14 134.7 573.2 673.5 64 18.44 64 45.56 0 11.41 54 5.11 0.81 1000 744 169 48.03 775.1 68.8 4.0 41.9 False