1x4, 2x2 and 4x1 at 4 CPU and 2 GiB of API, workers equal to CPUs, 32 pool connections and 128 balancer slots in every layout, three repeats from 600 to 6 830 rps. All three keep up with the offered load up to 4 560 rps; the peaks are 5 375 rps for 1x4 (5 332..5 384), 4 964 for 2x2 (4 894..5 104) and 4 724 for 4x1 (4 686..4 794). At the peak the API uses 95 % of its four CPUs in every layout, PostgreSQL 82..89 % of its two, the balancer 40 % of one, and about half of the 32 database connections wait for the lock on a chat row. Smaller replicas cost more: at 3 040 rps the API burns 215 % CPU as 1x4, 243 % as 2x2 and about 280 % as 4x1, and p95 at 4 560 rps grows from 9 to 69 and 150 ms. The first attempt was aborted when a neighbour's image build froze the Docker API; its summary is kept under aborted/. Twelve steps of the rerun were rejected as disturbed and repeated. A config's SLO capacity now needs a majority of saturated repeats, since a median is robust to one disturbed repeat and "any repeat" is not. Series B starts at 450 rps per CPU. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
32 lines
7.0 KiB
CSV
32 lines
7.0 KiB
CSV
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
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,600,1,2026-10-28T20:32:53,7.7,0,0,False,18001,600.03,600.03,0,0,1.17,1.77,2.7,1.79,1.65,48.13,17.42,6.03,1.47,11.35,228.5,106.0,56.3,16,0.27,2,15.62,0.12,0,0,0,0.15,2,0,0,1.24
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,600,2,2026-10-28T20:33:39,17.1,19498,0,False,18001,600.03,600.03,0,0,1.16,1.68,2.19,1.7,1.58,43.74,16.87,5.72,1.21,10.51,228.8,113.8,54.8,16,0.19,1,15.22,0.15,0,0,0,0.04,2,0,0,1.24
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,600,3,2026-10-28T20:34:26,26.1,38541,0,False,18001,600.03,600.03,0,0,1.25,1.82,2.85,1.85,1.68,47.98,17.99,6.1,1.39,11.25,229.2,125.6,54.3,17,0.27,1,15.19,0.12,0,0,0,0.04,2,0,0,1.27
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,900,1,2026-10-28T20:35:13,35.3,57452,0,False,27001,900.03,900.03,0,0,1.11,1.87,3.53,1.9,1.72,62.22,24.13,8.59,2.04,14.06,241.1,170.8,75.2,24,0.38,3,17.42,0.31,0,0,0.04,0.15,10,0,0,1.17
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,900,2,2026-10-28T20:35:59,49.1,85933,0,False,27001,900.03,900.03,0,0,1.11,1.8,2.74,1.83,1.66,63.58,24.02,8.62,1.99,14.5,241.2,183.9,80.1,24,0.37,2,22.48,0.19,0,0,0.04,0.07,3,0,0,1.14
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,900,3,2026-10-28T20:36:46,62.8,114985,0,False,27000,900.0,900.0,0,0,1.1,1.77,2.66,1.8,1.62,64.18,24.08,8.52,1.8,13.84,250.0,192.9,75.0,22,0.41,2,20.19,0.3,0,0,0.04,0.07,2,0,0,1.07
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,1350,1,2026-10-28T20:37:33,76.6,144166,0,False,40500,1350.0,1350.0,0,0,1.33,1.95,2.82,1.99,1.8,98.49,38.8,11.98,2.79,20.03,269.4,233.2,104.5,27,0.41,2,25.67,0.37,0,0,0.04,0.19,3,0,0,1.4
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,1350,2,2026-10-28T20:38:20,97.1,187106,0,False,40501,1350.03,1350.03,0,0,1.31,1.88,2.65,1.92,1.72,96.46,39.12,12.09,2.64,20.25,300.6,262.5,104.4,28,0.77,3,26.69,0.19,0,0,0.27,0.38,4,0,0,1.48
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,1350,3,2026-10-28T20:39:07,117.7,230708,0,False,40501,1350.03,1350.03,0,0,1.32,1.96,3.0,2.0,1.78,97.06,40.61,12.08,2.68,20.4,328.4,276.1,106.9,28,0.65,3,24,0.31,0,0,0.08,0.15,4,0,0,1.55
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,2020,1,2026-10-28T20:39:53,138.1,274628,0,False,60600,2020.0,2020.0,0,0,1.46,2.24,3.28,2.29,2.03,144.96,59.6,17.16,3.75,29.55,319.8,328.5,151.2,31,1.15,4,28.7,0.74,0,0,0.33,0.3,6,0,0,1.62
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,2020,2,2026-10-28T20:40:40,168.8,338501,0,False,60599,2019.97,2019.97,0,0,1.45,2.27,3.87,2.32,2.06,144.24,61.2,17.18,3.8,29.61,320.6,368.4,161.4,32,0.96,4,29.7,0.59,0,0,0.19,0.41,6,0,0,1.72
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,2020,3,2026-10-28T20:41:27,199.5,403293,0,False,60601,2020.03,2020.03,0,0,1.42,2.18,3.21,2.21,2.0,147.07,59.79,16.89,3.67,28.92,321.3,402.2,150.0,32,1,4,29.56,0.67,0,0,0.3,0.26,6,0,0,1.55
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,3040,1,2026-10-28T20:42:15,230.5,467785,0,False,91199,3039.97,3039.97,0,0,1.65,3.12,11.1,3.21,2.68,216.38,89.17,24.9,5.15,44.38,337.3,432.7,220.8,32,1.85,7,27.26,2.19,0.07,2,0.56,0.41,10,0,0,1.83
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,3040,2,2026-10-28T20:43:02,276.6,564001,0,False,91201,3040.03,3040.03,0,0,1.62,2.77,4.68,2.83,2.48,212.33,87.14,24.58,4.97,43.8,325.2,433.0,222.7,32,2.04,8,27.3,2.04,0.04,1,0.52,0.41,10,0,0,1.73
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,3040,3,2026-10-28T20:43:49,323.0,662716,0,False,91201,3040.03,3040.03,0,0,1.79,3.35,11.17,3.47,2.88,227.92,99.73,26.15,5.73,47.88,325.4,435.6,218.8,32,1.3,7,27.85,2.41,0.11,2,0.22,0.22,12,0,0,1.9
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,4560,1,2026-10-28T20:44:36,369.3,759302,0,False,136797,4559.9,4559.9,0,0,2.86,30.15,61.08,29.26,34.16,330.49,149.31,35.8,8.15,63.88,343.9,435.3,332.9,32,11.04,23,15.41,5.41,8.15,22,1.3,0.56,243,115,9,5.63
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,4560,2,2026-10-28T20:45:23,439.3,905106,0,False,136801,4560.03,4560.03,0,0,2.49,9.02,40.4,9.47,6.34,315.14,139.97,34.29,7.57,62.81,337.5,437.9,326.2,32,6.33,30,20.22,5.33,3.63,20,1.19,0.52,42,0,0,3.07
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,4560,3,2026-10-28T20:46:10,509.1,1051346,0,True,134626,4487.53,4487.53,0,2178,2.73,159.51,246.45,157.57,164.87,314.24,140.1,35.35,7.53,65.13,346.7,447.7,462.2,32,7.67,32,18.7,5.41,5.07,23,0.96,0.63,840,712,200,8.24
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,6830,1,2026-10-28T20:46:57,578.0,1193381,0,True,157820,5260.67,5260.67,0,47079,183.43,239.29,278.01,233.15,257.31,378.44,175.3,41.54,9.28,79.32,363.7,448.6,666.1,32,20.78,32,5.85,5.37,16.78,25,2.11,0.59,1000,872,226,24.9
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,6830,2,2026-10-28T20:47:44,658.6,1365166,0,True,157807,5260.23,5260.23,0,47095,182.29,245.54,279.46,240.15,263.05,382.05,173.57,41.87,9.19,75.8,363.8,448.5,658.1,32,21.58,29,4.65,5.77,17.27,21,2.08,0.73,999,871,215,24.21
|
|
base,1x4,1,4.0,2048,4,8,128,7-10,6830,3,2026-10-28T20:48:32,739.7,1533572,0,True,160016,5333.87,5333.87,0,44882,182.76,225.57,263.53,219.57,245.74,377.01,175.99,42.03,9.36,74.32,365.0,491.1,659.3,32,19.12,31,6.92,5.96,15.69,21,1,0.42,1000,872,181,24.21
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,600,1,2026-10-28T20:49:36,7.7,0,0,False,18001,600.03,600.03,0,0,1.3,1.84,2.67,1.85,1.74,51.25,19.0,6.11,1.67,11.66,172.8,95.3,55.3,13,0.19,1,12.35,0.23,0,0,0,0.15,2,0,0,1.34
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,600,2,2026-10-28T20:50:23,17.0,19520,0,False,18001,600.03,600.03,0,0,1.28,2.36,5.88,2.47,2.01,54.71,18.53,6.09,1.56,12.01,162.9,152.3,56.2,26,0.38,3,20,0.04,0,0,0.08,0.19,3,0,0,1.55
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,600,3,2026-10-28T20:51:09,26.2,38442,0,False,18001,600.03,600.03,0,0,1.23,1.76,2.39,1.78,1.66,51.42,17.95,5.72,1.37,11.3,178.1,180.9,62.9,32,0.22,1,31.07,0.19,0,0,0,0.07,3,0,0,1.28
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,900,1,2026-10-28T20:51:56,35.4,57533,0,False,26910,897.0,897.0,0,91,1.46,3.24,106.48,3.28,3.0,0.0,0.0,0.0,0.0,0.0,0,0,0,0,0.0,0,0.0,0.0,0.0,0,0.0,0.0,0,0,0,0.0
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,900,2,2026-10-28T21:07:41,48.9,86102,0,False,27000,900.0,900.0,0,0,1.3,1.96,3.33,1.99,1.84,77.56,26.11,8.64,1.85,15.17,192.1,208.6,75.0,32,0.48,2,26.96,0.22,0,0,0.04,0.11,9,0,0,1.4
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,900,3,2026-10-28T21:08:28,62.5,115563,0,False,26844,894.8,894.8,0,157,1.28,2.16,193.15,2.22,1.96,92.14,43.55,11.51,3.47,23.79,190.6,230.8,75.5,32,0.46,8,22.04,0.27,0.08,2,0.12,0.12,95,0,16,6.2
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,1350,1,2026-10-28T21:09:21,76.1,144027,0,True,32149,1071.63,1071.63,0,8352,1.52,876.93,1119.35,849.88,956.45,410.71,157.07,38.52,10.67,64.59,213.9,238.5,328.3,32,17.29,25,8,6.71,13.86,19,0.57,0.43,540,412,704,182.7
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,1350,2,2026-10-28T21:25:05,90.9,175331,0,False,40501,1350.03,1350.03,0,0,1.33,1.97,3.16,2.01,1.82,111.98,41.49,12.39,2.99,21.75,214.1,259.2,104.2,31,0.67,2,28.48,0.7,0,0,0.04,0.26,3,0,0,1.59
|
|
base,2x2,2,2.0,1024,2,8,64,7-10,1350,3,2026-10-28T21:25:52,111.5,218198,0,False,40499,1349.97,1349.97,0,0,1.34,1.95,3.33,1.97,1.83,0.0,0.0,0.0,0.0,0.0,0,0,0,0,0.0,0,0.0,0.0,0.0,0,0.0,0.0,0,0,0,0.0
|