forked from mtusi2026/mtusi2026lab3
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
2.8 KiB
2.8 KiB
| 1 | series | variant | config | rates | capacity_rate | capacity_ok_rps | capacity_p95_ms | capacity_p99_ms | peak_rate | peak_ok_rps | peak_ok_min | peak_ok_max | peak_p95_ms | peak_failed_ratio | peak_dropped | cpu_api | cpu_api_limit | cpu_postgres | cpu_lb | cpu_k6 | pg_active_avg | pg_lock_avg | pg_idle_tx_avg | pg_idle_avg | pool_total | pg_backends_max | lb_qcur_max |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | compare | before | 8x1 | 3600 5400 8100 | 3600 | 3595.5 | 64.47 | 121.74 | 5400 | 4251.9 | 4053.57 | 4395.83 | 295.93 | 0.0 | 34444.0 | 474.76 | 800 | 177.86 | 40.67 | 75.16 | 49.96 | 46.65 | 7.04 | 6.73 | 64 | 64.0 | 744.0 |
| 3 | compare | after | 8x1 | 3600 5400 8100 | 3600 | 3600.07 | 3.7 | 12.62 | 5400 | 4894.23 | 4494.23 | 5103.67 | 246.02 | 0.0 | 15174.0 | 478.56 | 800 | 178.68 | 45.91 | 75.67 | 57.23 | 46.38 | 0.0 | 6.77 | 64 | 64.0 | 743.0 |
| 4 | control-cpus | pinned | 4x1 | 4560 6830 | 4560 | 4559.97 | 32.06 | 64.94 | 6830 | 5928.37 | 5893.7 | 5949.57 | 213.03 | 0.0 | 27050.0 | 404.78 | 400 | 154.63 | 46.49 | 87.82 | 15.78 | 8.52 | 0.0 | 16.22 | 32 | 32.0 | 872.0 |
| 5 | control-cpus | pinned | 8x0.5 | 4560 6830 | 4560 | 4560.03 | 60.78 | 108.72 | 6830 | 5524.77 | 5481.9 | 5583.37 | 232.4 | 0.0 | 39161.0 | 404.93 | 400 | 151.67 | 42.45 | 81.1 | 14.11 | 8.3 | 0.0 | 49.89 | 64 | 64.0 | 744.0 |
| 6 | control-pool | pool4 | 8x1 | 5400 | 5400 | 5358.03 | 179.23 | 209.38 | 5400 | 5358.03 | 5315.8 | 5394.17 | 179.23 | 0.0 | 1260.0 | 517.14 | 800 | 162.67 | 49.34 | 92.45 | 23.96 | 14.65 | 0.0 | 8.04 | 32 | 32.0 | 739.0 |
| 7 | control-pool | pool8 | 8x1 | 5400 | 5400 | 4676.77 | 3748.93 | 4966.13 | 272.99 | 0.0 | 21699.0 | 470.86 | 800 | 169.55 | 44.88 | 76.31 | 57.85 | 47.04 | 0.0 | 6.15 | 64 | 64.0 | 744.0 | ||||
| 8 | control-pool | pool16 | 8x1 | 5400 | 5400 | 3788.9 | 2290.77 | 4076.57 | 354.88 | 2e-05 | 48332.0 | 372.07 | 800 | 180.44 | 37.19 | 64.79 | 118.12 | 102.26 | 0.0 | 9.92 | 128 | 128.0 | 744.0 | ||||
| 9 | control-pool | maxconn16 | 8x1 | 5400 | 5400 | 4526.13 | 3775.8 | 4917.47 | 258.17 | 0.0 | 26217.0 | 424.3 | 800 | 176.79 | 41.21 | 77.61 | 57.96 | 47.27 | 0.0 | 6.04 | 64 | 64.0 | 872.0 | ||||
| 10 | control-pool | maxconn64 | 8x1 | 5400 | 5400 | 4525.3 | 4004.53 | 4908.23 | 298.61 | 0.0 | 26242.0 | 441.99 | 800 | 177.63 | 42.31 | 76.03 | 57.69 | 46.81 | 0.0 | 6.31 | 64 | 64.0 | 487.0 | ||||
| 11 | series-a | base | 4x1 | 600 900 1350 2020 3040 4560 6830 | 4560 | 4525.23 | 150.28 | 195.8 | 6830 | 4723.67 | 4685.7 | 4794.17 | 254.94 | 0.0 | 63186.0 | 380.86 | 400 | 163.82 | 39.5 | 71.24 | 18.12 | 15.35 | 6.81 | 6.27 | 32 | 32.0 | 872.0 |
| 12 | series-a | base | 2x2 | 600 900 1350 2020 3040 4560 6830 | 4560 | 4553.57 | 68.8 | 115.62 | 6830 | 4964.13 | 4893.8 | 5103.7 | 253.24 | 0.0 | 55978.0 | 378.58 | 400 | 173.09 | 41.25 | 76.1 | 19.27 | 16.0 | 6.93 | 6.38 | 32 | 32.0 | 872.0 |
| 13 | series-a | base | 1x4 | 600 900 1350 2020 3040 4560 6830 | 4560 | 4559.87 | 9.32 | 38.81 | 6830 | 5375.13 | 5332.13 | 5383.9 | 225.42 | 0.0 | 43645.0 | 377.52 | 400 | 177.68 | 41.5 | 76.07 | 19.46 | 15.74 | 6.19 | 6.48 | 32 | 32.0 | 871.0 |
| 14 | series-b | base | 1x1 | 450 680 1010 1520 2280 3420 | 1520 | 1516.93 | 93.16 | 128.96 | 3420 | 1719.57 | 1674.03 | 1722.2 | 706.11 | 0.0 | 51015.0 | 101.57 | 100 | 47.27 | 12.91 | 27.32 | 1.04 | 0.23 | 3.37 | 3.7 | 8 | 8.0 | 968.0 |
| 15 | series-b | base | 2x1 | 900 1350 2020 3040 4560 | 2020 | 2019.87 | 46.61 | 83.49 | 4560 | 2935.7 | 2867.83 | 2998.07 | 424.71 | 0.0 | 48731.0 | 200.56 | 200 | 93.62 | 23.41 | 45.1 | 4.42 | 2.35 | 6.3 | 5.81 | 16 | 16.0 | 936.0 |
| 16 | series-b | base | 8x1 | 3600 5400 8100 | 3600 | 3600.03 | 38.93 | 99.29 | 5400 | 4260.13 | 4216.63 | 4423.8 | 292.0 | 0.0 | 34197.0 | 473.48 | 800 | 177.62 | 39.65 | 71.33 | 51.5 | 47.46 | 6.81 | 6.0 | 64 | 64.0 | 744.0 |