Files
mtusi2026lab2/evidence/track1/series-b/summary.csv
T
ArtyomandClaude Opus 5.5 3bdc8fad23 Record the growth series of track 1
One to eight replicas of 1 CPU, 512 MiB and one worker each, three
repeats per rate; the 4x1 point comes from series A. Peak successful
RPS: 1 720 for one replica, 2 936 for two, 4 724 for four and only
4 260 for eight, lower than four. Up to two replicas the API is the
limit (101 % and 201 % of its CPU). At eight replicas the API uses 473
of its 800 % and the balancer 40 % of a core, while PostgreSQL is at
178 of 200 %, 47.5 of the 64 pool connections wait for a chat row lock
and the balancer queue holds 744 requests. The locking SELECT ... FOR
UPDATE of the chat takes 14.2 ms on average, 97 % of all statement
time of the step, and about 7 connections sit idle in transaction:
the lock holders wait for the application between round trips.

A universal scalability law fit over 1, 2, 4 and 8 CPUs gives
sigma 0.014 and kappa 0.038, a peak near five replicas and a decline
after it. No step of this series was rejected as disturbed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-29 01:05:39 +03:00

44 lines
11 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,cpu_vm,cpu_other,gap_s,wall_s,disturbed
base,1x1,1,1.0,512,1,8,32,7,450,1,2026-10-29T00:31:29,7.7,0,0,False,13501,450.03,450.03,0,0,1.14,2.12,6.15,2.15,2.02,34.7,12.87,4.29,1.33,8.96,115.6,76.3,45.7,8,0.12,1,7.73,0.15,0,0,0,0.08,1,0,0,1.21,66.4,4.2,4.0,41.3,False
base,1x1,1,1.0,512,1,8,32,7,450,2,2026-10-29T00:32:15,14.7,14606,0,False,13501,450.03,450.03,0,0,1.1,1.97,5.08,2.02,1.77,35.11,12.82,4.2,1.16,8.9,128.4,83.8,44.1,8,0.07,1,7.67,0.07,0,0,0,0,1,0,0,1.21,62.3,0.1,4.0,41.3,False
base,1x1,1,1.0,512,1,8,32,7,450,3,2026-10-29T00:33:02,21.5,28708,0,False,13502,450.07,450.07,0,0,1.25,2.99,9.4,3.2,2.35,38.8,14.47,4.8,1.45,9.83,116.6,92.6,43.8,8,0.33,2,7.52,0.15,0,0,0.04,0.26,2,0,0,1.66,77.3,8.0,5.7,41.4,False
base,1x1,1,1.0,512,1,8,32,7,680,1,2026-10-29T00:33:49,28.3,43109,0,False,20401,680.03,680.03,0,0,1.19,3.19,13.76,3.33,2.62,47.45,18.96,5.95,1.53,12.21,129.1,102.7,58.6,8,0.19,1,7.19,0.31,0,0,0,0.08,11,0,0,1.52,99.3,13.2,5.4,41.2,False
base,1x1,1,1.0,512,1,8,32,7,680,2,2026-10-29T00:34:36,38.7,64692,0,False,20401,680.03,680.03,0,0,1.3,3.49,7.43,3.54,3.26,52.4,20.73,6.68,2.03,13.41,116.9,114.7,59.0,8,0.27,2,7.38,0.31,0,0,0.04,0.08,6,0,0,1.68,106.7,11.5,4.0,41.2,False
base,1x1,1,1.0,512,1,8,32,7,680,3,2026-10-29T00:35:22,48.9,86503,0,False,20401,680.03,680.03,0,0,1.17,2.6,7.1,2.69,2.34,48.99,18.41,5.88,1.57,11.9,116.8,126.5,59.4,8,0.26,2,7.59,0.15,0,0,0.04,0.15,5,0,0,1.28,92.9,6.2,4.0,41.3,False
base,1x1,1,1.0,512,1,8,32,7,1010,1,2026-10-29T00:36:09,59.2,108647,0,False,30300,1010.0,1010.0,0,0,1.32,22.57,69.87,20.65,33.74,65.09,27.1,8.35,2.25,16.8,119.7,142.4,81.5,8,0.42,2,6.96,0.62,0.04,1,0,0.12,61,29,9,3,134.4,14.8,5.4,41.2,False
base,1x1,1,1.0,512,1,8,32,7,1010,2,2026-10-29T00:36:56,74.5,140712,0,False,30301,1010.03,1010.03,0,0,1.3,17.01,60.09,16.69,19.44,66.58,26.21,8.16,2.02,16.56,120.0,159.3,83.5,8,0.5,3,6.73,0.73,0,0,0.08,0.19,49,17,9,3.04,132.7,13.2,5.3,41.5,False
base,1x1,1,1.0,512,1,8,32,7,1010,3,2026-10-29T00:37:42,89.9,172880,0,False,30300,1010.0,1010.0,0,0,1.31,9.91,56.64,9.64,12.0,68.7,28.27,8.23,2.2,16.08,129.8,176.2,81.4,8,0.26,3,7.04,0.67,0,0,0.11,0.07,10,0,4,2.48,133.9,10.4,5.9,41.2,False
base,1x1,1,1.0,512,1,8,32,7,1520,1,2026-10-29T00:38:29,105.1,205690,0,False,45550,1518.33,1518.33,0,51,2.06,79.57,112.2,77.65,85.53,91.27,44.2,11.92,2.82,23.74,136.3,200.9,133.6,8,0.7,3,6.07,1.22,0,0,0.07,0.3,163,131,34,5.1,190.3,16.4,5.6,41.2,False
base,1x1,1,1.0,512,1,8,32,7,1520,2,2026-10-29T00:39:16,128.2,253856,0,False,45504,1516.8,1516.8,0,97,2.18,105.07,134.48,103.97,110.26,91.25,40.79,11.62,2.7,23.24,136.8,226.1,139.8,8,1,4,5.23,1.73,0.04,1,0.27,0.35,185,153,59,5.96,189.1,19.5,5.4,41.3,False
base,1x1,1,1.0,512,1,8,32,7,1520,3,2026-10-29T00:40:03,151.0,302410,0,False,45508,1516.93,1516.93,0,93,2.12,93.16,128.96,91.92,99.77,89.0,44.08,12.15,2.94,24.22,127.6,252.8,150.8,8,0.69,4,5.65,1.65,0.08,1,0.15,0.15,177,145,54,6.5,187.3,14.9,4.0,41.3,False
base,1x1,1,1.0,512,1,8,32,7,2280,1,2026-10-29T00:40:49,173.9,350988,0,True,49385,1646.17,1646.17,0,19017,536.48,671.94,696.56,671.38,677.27,101.02,50.2,13.55,3.59,24.28,129.9,278.1,589.4,8,1.15,4,3.52,3.33,0.26,2,0.11,0.15,912,880,627,19.24,207.6,15.0,4.0,41.8,False
base,1x1,1,1.0,512,1,8,32,7,2280,2,2026-10-29T00:41:37,199.1,404475,0,True,51381,1712.7,1712.7,0,17018,517.68,651.61,681.43,650.62,656.28,101.91,50.61,13.33,3.23,24.75,129.9,303.9,573.3,8,0.54,3,3.77,3.69,0.08,1,0,0.15,912,880,602,18.76,208.0,14.2,5.0,41.8,False
base,1x1,1,1.0,512,1,8,32,7,2280,3,2026-10-29T00:42:24,225.5,460519,0,True,50790,1693.0,1693.0,0,17611,520.9,645.36,664.38,644.42,651.14,101.44,49.53,13.84,3.16,26.41,129.8,336.1,587.1,8,1.15,6,3.69,3.15,0.15,1,0.23,0.38,912,880,603,19.03,217.2,22.8,4.0,41.8,False
base,1x1,1,1.0,512,1,8,32,7,3420,1,2026-10-29T00:43:11,251.3,514899,0,True,50221,1674.03,1674.03,0,52380,582.33,728.12,752.03,727.43,732.9,99.69,52.34,13.38,3.27,25.53,129.8,343.8,633.2,8,1.31,4,3.04,3.65,0.19,1,0.12,0.38,1000,968,677,18.9,217.4,23.2,4.0,42.0,False
base,1x1,1,1.0,512,1,8,32,7,3420,2,2026-10-29T00:43:58,276.7,569191,0,True,51587,1719.57,1719.57,0,51015,566.89,706.11,724.46,705.16,711.99,101.57,47.27,12.91,3.25,27.32,129.9,343.2,639.7,8,0.93,4,3.7,3.37,0.33,2,0,0.19,1000,968,665,18.45,203.3,11.0,4.0,41.9,False
base,1x1,1,1.0,512,1,8,32,7,3420,3,2026-10-29T00:44:46,303.0,624884,0,True,51666,1722.2,1722.2,0,50939,565.57,695.47,712.24,694.79,701.69,101.66,46.27,12.82,3.35,28.27,130.0,343.8,631.6,8,1.04,8,3.81,3.15,0.23,3,0.27,0.27,1000,968,654,18.34,203.2,10.8,4.0,41.9,False
base,2x1,2,1.0,512,1,8,32,7-8,900,1,2026-10-29T00:45:49,7.7,0,0,False,27000,900.0,900.0,0,0,1.27,2.01,6.94,2.06,1.81,71.04,26.02,7.43,2.13,14.16,115.8,112.3,75.3,16,0.33,1,15.19,0.48,0,0,0,0.15,3,0,0,1.48,143.0,22.2,4.0,42.4,False
base,2x1,2,1.0,512,1,8,32,7-8,900,2,2026-10-29T00:46:37,21.7,29300,0,False,27001,900.03,900.03,0,0,1.28,2.02,6.42,2.05,1.86,74.26,26.23,8.02,2.14,14.96,116.1,128.8,77.1,16,0.35,2,15.27,0.38,0,0,0.08,0.19,2,0,0,1.34,149.8,24.2,4.0,41.3,False
base,2x1,2,1.0,512,1,8,32,7-8,900,3,2026-10-29T00:47:24,35.3,57923,0,False,27001,900.03,900.03,0,0,1.27,2.15,7.98,2.19,1.94,72.85,27.67,8.12,2.1,15.11,116.1,144.9,75.3,16,0.15,1,15.5,0.19,0,0,0,0.04,3,0,0,1.5,151.3,25.5,4.0,41.3,False
base,2x1,2,1.0,512,1,8,32,7-8,1350,1,2026-10-29T00:48:10,49.1,86735,0,False,40499,1349.97,1349.97,0,0,1.31,4.09,21.68,4.31,3.48,104.39,38.14,11.27,2.69,21.02,117.3,162.7,106.3,16,0.78,3,14,0.67,0,0,0.15,0.26,11,0,0,2.07,198.9,21.4,5.8,41.3,False
base,2x1,2,1.0,512,1,8,32,7-8,1350,2,2026-10-29T00:48:57,69.9,129951,0,False,40502,1350.07,1350.07,0,0,1.3,3.77,28.43,3.83,3.52,106.54,38.71,11.28,2.41,21.24,128.9,188.1,104.2,16,0.63,3,14.56,0.74,0.07,2,0.15,0.22,17,0,0,2.62,199.2,19.0,5.5,41.3,False
base,2x1,2,1.0,512,1,8,32,7-8,1350,3,2026-10-29T00:49:44,90.3,173227,0,False,40502,1350.07,1350.07,0,0,1.32,4.4,21.29,4.47,4.11,109.4,42.28,11.83,2.75,22.2,130.0,211.0,107.9,16,0.81,3,14.62,0.38,0,0,0.08,0.35,28,0,0,2.14,202.7,14.2,5.3,41.2,False
base,2x1,2,1.0,512,1,8,32,7-8,2020,1,2026-10-29T00:50:30,110.9,216671,0,False,60596,2019.87,2019.87,0,5,1.56,34.16,83.49,33.43,36.78,154.48,59.47,16.13,3.81,30.36,123.8,243.9,152.1,16,1.22,5,13.15,1.52,0.19,4,0.22,0.3,59,0,27,3.48,274.3,10.1,6.0,41.3,False
base,2x1,2,1.0,512,1,8,32,7-8,2020,2,2026-10-29T00:51:17,141.6,281465,0,False,60580,2019.33,2019.33,0,21,1.54,48.67,92.66,46.38,57.4,147.08,56.58,16.05,3.73,31.1,133.7,280.0,154.2,16,1.52,8,12.44,1.96,0.52,4,0.3,0.44,186,122,32,4.28,272.1,17.6,4.0,41.4,False
base,2x1,2,1.0,512,1,8,32,7-8,2020,3,2026-10-29T00:52:04,172.3,346428,0,False,60601,2020.03,2020.03,0,0,1.81,46.61,77.74,44.63,53.94,151.4,60.32,16.98,3.74,32.23,136.3,314.0,153.0,16,1.89,8,12,2.04,0.48,8,0.44,0.44,115,51,12,4.83,312.0,47.3,4.0,41.4,False
base,2x1,2,1.0,512,1,8,32,7-8,3040,1,2026-10-29T00:52:51,203.0,410507,0,True,88097,2936.57,2936.57,0,3104,223.07,373.04,435.16,370.57,382.19,201.4,96.19,24.04,5.49,47.16,129.8,358.2,520.7,16,4.62,16,5.54,5.85,3.31,8,0.38,0.27,1000,936,368,22.45,389.6,15.3,5.4,41.8,False
base,2x1,2,1.0,512,1,8,32,7-8,3040,2,2026-10-29T00:53:38,247.5,505894,0,True,79337,2644.57,2644.57,0,11863,345.87,511.23,611.49,508.4,523.97,202.77,89.97,23.41,5.45,42.49,130.0,373.7,537.2,16,3.78,9,5.67,6.52,2.37,4,0.48,0.41,1000,936,520,24.55,406.6,42.5,5.6,41.8,False
base,2x1,2,1.0,512,1,8,32,7-8,3040,3,2026-10-29T00:54:25,288.5,592797,0,True,84301,2810.03,2810.03,0,6898,321.15,441.6,474.63,439.21,449.81,203.45,93.49,23.41,5.19,44.33,130.0,374.5,473.4,16,4.35,16,5.96,5.69,2.31,9,1,0.58,1000,936,427,22.1,405.5,35.6,5.9,41.7,False
base,2x1,2,1.0,512,1,8,32,7-8,4560,1,2026-10-29T00:55:13,331.6,684487,0,True,88071,2935.7,2935.7,0,48731,328.83,426.22,457.65,423.96,433.71,201.71,96.67,24.49,5.28,45.1,129.9,374.4,645.5,16,4.42,14,5.81,5.77,2.35,7,0.81,0.38,1000,936,399,21.59,388.1,14.9,4.0,41.8,False
base,2x1,2,1.0,512,1,8,32,7-8,4560,2,2026-10-29T00:56:00,375.7,778676,0,True,86035,2867.83,2867.83,0,50767,339.62,424.71,454.04,423.33,432.21,200.56,93.62,23.41,5.32,48.95,130.1,374.7,649.4,16,2.96,7,6.04,7,2.04,5,0.23,0.38,1000,936,398,22.59,416.4,44.5,4.0,41.9,False
base,2x1,2,1.0,512,1,8,32,7-8,4560,3,2026-10-29T00:56:47,419.6,871428,0,True,89942,2998.07,2998.07,0,46863,320.94,411.62,447.92,409.31,419.52,199.2,91.4,23.41,5.13,38.76,130.0,379.2,639.9,16,4.59,14,5.11,6.3,2.59,9,0.89,0.44,1000,936,394,21.59,389.6,31.7,5.5,41.7,False
base,8x1,8,1.0,512,1,8,32,7-14,3600,1,2026-10-29T00:57:50,7.7,0,0,False,107979,3599.3,3599.3,0,22,2.21,38.93,99.29,39.33,36.35,438.97,131.65,33.61,8.75,58.87,132.7,332.2,316.3,64,8.88,57,51.69,3.42,5.5,51,1.31,0.54,260,4,0,5.03,722.1,50.2,4.0,41.7,False
base,8x1,8,1.0,512,1,8,32,7-14,3600,2,2026-10-29T00:58:37,63.4,115182,0,False,108004,3600.13,3600.13,0,0,2.21,56.09,104.7,54.25,70.99,429.65,134.17,33.42,8.63,57.58,130.6,397.7,260.2,64,11.46,54,48.46,4.08,9.12,51,0.88,0.46,294,38,12,8.55,730.4,67.0,4.9,41.5,False
base,8x1,8,1.0,512,1,8,32,7-14,3600,3,2026-10-29T00:59:24,118.5,229302,0,False,108001,3600.03,3600.03,0,0,2.13,9.66,49.76,11.14,4.55,439.67,130.74,33.34,8.55,56.62,132.0,465.0,258.3,64,5.81,35,54.85,3.31,3.42,29,0.81,0.62,63,0,0,3.41,717.9,49.0,5.9,41.6,False
base,8x1,8,1.0,512,1,8,32,7-14,5400,1,2026-10-29T01:00:11,173.5,345924,0,True,132714,4423.8,4423.8,0,29287,217.82,283.79,334.32,280.58,292.79,488.22,177.62,41.61,10.04,70.33,137.3,530.1,653.8,64,52.5,64,4.69,6.81,47.46,53,2.58,0.54,1000,744,193,57.86,850.2,62.4,4.9,41.8,False
base,8x1,8,1.0,512,1,8,32,7-14,5400,2,2026-10-29T01:00:59,242.1,488050,0,True,126499,4216.63,4216.63,0,35502,229.35,298.83,347.18,294.54,308.87,473.48,174.16,39.26,9.32,72.71,124.8,556.4,653.4,64,51.5,64,6,6.5,47.46,55,2.62,0.58,1000,744,236,60.86,842.3,73.4,4.0,41.9,False
base,8x1,8,1.0,512,1,8,32,7-14,5400,3,2026-10-29T01:01:46,306.8,624429,0,True,127804,4260.13,4260.13,0,34197,227.35,292.0,336.69,288.31,300.62,469.24,178.89,39.65,9.56,71.33,137.1,564.4,653.2,64,50.59,63,6.33,7.07,47.52,54,1.44,0.59,1000,744,199,60.54,831.0,62.3,4.0,41.9,False
base,8x1,8,1.0,512,1,8,32,7-14,8100,1,2026-10-29T01:02:33,370.4,760063,0,True,125302,4176.73,4176.73,0,117700,232.79,301.01,350.33,297.18,309.91,475.92,178.22,39.26,9.2,60.75,134.8,565.6,665.7,64,52,64,4.38,7.62,48.46,55,1.54,0.54,1000,744,218,59.83,831.2,67.9,4.0,41.9,False
base,8x1,8,1.0,512,1,8,32,7-14,8100,2,2026-10-29T01:03:21,433.9,894963,0,True,125221,4174.03,4174.03,0,117781,232.72,300.61,346.61,296.5,309.46,480.18,178.69,39.34,9.26,59.6,124.9,560.1,672.2,64,49.81,60,7.38,6.77,46.65,53,1.88,0.54,1000,744,213,61.59,827.6,60.5,5.3,41.8,False
base,8x1,8,1.0,512,1,8,32,7-14,8100,3,2026-10-29T01:04:08,497.2,1029224,0,True,125087,4169.57,4169.57,0,117916,233.58,299.09,345.03,294.54,308.14,470.2,182.19,40.37,9.52,60.92,124.6,561.9,665.7,64,52.35,62,4.42,7.23,49.46,53,1.15,0.46,1000,744,231,62.21,846.7,83.5,5.6,41.9,False