Throughput sweep

Qwen2.5-7B-Instruct-Q4_K_M.gguf on NVIDIA GeForce RTX 3090 | llamacpp version: 0.7.0-dev (build 11753, commit d8d92973c) | 128 new tokens per request, prompts: distinct

Recommendation

For 10 people at >= 10 tok/s each (tested at 10 requests in flight):
  1 instance(s) x --parallel 16
  total 662 tok/s, per person p50 66.4 / slowest-10% 65.9 tok/s, p95 wait 1.9s, 3.28 tok/J
  same layout still meets the target at 16 requests in flight

Run it with:
  llama-server -m Qwen2.5-7B-Instruct-Q4_K_M.gguf --host 0.0.0.0 --port 8080 --parallel 16 --ctx-size 32768 -ngl 99 -fa on

Also met the target:
  1 instance(s) x --parallel 8: 407 tok/s, slowest-10% 32.2 tok/s, 1.72 tok/J
  2 instance(s) x --parallel 8: 404 tok/s, slowest-10% 40.4 tok/s, 1.68 tok/J
  2 instance(s) x --parallel 16: 402 tok/s, slowest-10% 40.1 tok/s, 1.64 tok/J

Total throughput

tokens/s, all requests together

Total throughput 0 250 500 750 1,000 1 2 4 8 10 16 requests in flight (concurrency) 1x np16 at 1 in flight: 136.97 1x np16 at 2 in flight: 245.23 1x np16 at 4 in flight: 342.57 1x np16 at 8 in flight: 434.59 1x np16 at 10 in flight: 662.06 1x np16 at 16 in flight: 875.01 1x np16 2x np16 at 1 in flight: 135.70 2x np16 at 2 in flight: 127.70 2x np16 at 4 in flight: 241.90 2x np16 at 8 in flight: 292.36 2x np16 at 10 in flight: 401.91 2x np16 at 16 in flight: 455.83 2x np16 2x np8 at 1 in flight: 135.40 2x np8 at 2 in flight: 127.71 2x np8 at 4 in flight: 241.96 2x np8 at 8 in flight: 352.08 2x np8 at 10 in flight: 404.42 2x np8 at 16 in flight: 455.08 2x np8 1x np8 at 1 in flight: 137.32 1x np8 at 2 in flight: 242.75 1x np8 at 4 in flight: 345.55 1x np8 at 8 in flight: 435.32 1x np8 at 10 in flight: 406.67 1x np8 at 16 in flight: 434.94 1x np8 2x np4 at 1 in flight: 134.92 2x np4 at 2 in flight: 127.88 2x np4 at 4 in flight: 241.79 2x np4 at 8 in flight: 352.42 2x np4 at 10 in flight: 318.25 2x np4 at 16 in flight: 351.83 2x np4 1x np4 at 1 in flight: 137.03 1x np4 at 2 in flight: 243.28 1x np4 at 4 in flight: 347.03 1x np4 at 8 in flight: 346.32 1x np4 at 10 in flight: 346.76 1x np4 at 16 in flight: 344.83 1x np4 1x np1 at 1 in flight: 133.09 1x np1 at 2 in flight: 134.35 1x np1 at 4 in flight: 134.59 1x np1 at 8 in flight: 134.31 1x np1 at 10 in flight: 133.75 1x np1 at 16 in flight: 139.20 1x np1 2x np1 at 1 in flight: 136.46 2x np1 at 2 in flight: 127.43 2x np1 at 4 in flight: 128.41 2x np1 at 8 in flight: 129.01 2x np1 at 10 in flight: 129.07 2x np1 at 16 in flight: 129.22 2x np1
1x np162x np162x np81x np82x np41x np41x np12x np1

What the slowest 10% of people see

tokens/s per request, 10th percentile

What the slowest 10% of people see 0 50 100 150 200 1 2 4 8 10 16 requests in flight (concurrency) 1x np16 at 1 in flight: 135.05 1x np16 at 2 in flight: 121.67 1x np16 at 4 in flight: 84.86 1x np16 at 8 in flight: 54.15 1x np16 at 10 in flight: 65.92 1x np16 at 16 in flight: 54.59 1x np16 2x np16 at 1 in flight: 134.19 2x np16 at 2 in flight: 63.40 2x np16 at 4 in flight: 60.03 2x np16 at 8 in flight: 33.80 2x np16 at 10 in flight: 40.12 2x np16 at 16 in flight: 28.44 2x np16 2x np8 at 1 in flight: 134.34 2x np8 at 2 in flight: 63.29 2x np8 at 4 in flight: 59.94 2x np8 at 8 in flight: 43.85 2x np8 at 10 in flight: 40.43 2x np8 at 16 in flight: 28.42 2x np8 1x np8 at 1 in flight: 135.76 1x np8 at 2 in flight: 119.65 1x np8 at 4 in flight: 85.61 1x np8 at 8 in flight: 54.31 1x np8 at 10 in flight: 32.22 1x np8 at 16 in flight: 27.20 1x np8 2x np4 at 1 in flight: 132.89 2x np4 at 2 in flight: 63.37 2x np4 at 4 in flight: 60.02 2x np4 at 8 in flight: 43.88 2x np4 at 10 in flight: 24.69 2x np4 at 16 in flight: 22.00 2x np4 1x np4 at 1 in flight: 135.35 1x np4 at 2 in flight: 120.62 1x np4 at 4 in flight: 86.22 1x np4 at 8 in flight: 43.15 1x np4 at 10 in flight: 28.99 1x np4 at 16 in flight: 21.57 1x np4 1x np1 at 1 in flight: 131.01 1x np1 at 2 in flight: 66.89 1x np1 at 4 in flight: 33.52 1x np1 at 8 in flight: 16.75 1x np1 at 10 in flight: 13.35 1x np1 at 16 in flight: 8.72 1x np1 2x np1 at 1 in flight: 135.16 2x np1 at 2 in flight: 63.26 2x np1 at 4 in flight: 31.95 2x np1 at 8 in flight: 16.13 2x np1 at 10 in flight: 12.94 2x np1 at 16 in flight: 8.09 2x np1
1x np162x np162x np81x np82x np41x np41x np12x np1

Energy efficiency

tokens per joule (board power from nvidia-smi)

Energy efficiency 0 1.2 2.5 3.8 5 1 2 4 8 10 16 requests in flight (concurrency) 1x np16 at 1 in flight: 1.11 1x np16 at 2 in flight: 1.50 1x np16 at 4 in flight: 2.04 1x np16 at 8 in flight: 1.94 1x np16 at 10 in flight: 3.28 1x np16 at 16 in flight: 3.99 1x np16 2x np16 at 1 in flight: 1.20 2x np16 at 2 in flight: 0.63 2x np16 at 4 in flight: 1.18 2x np16 at 8 in flight: 1.15 2x np16 at 10 in flight: 1.64 2x np16 at 16 in flight: 1.75 2x np16 2x np8 at 1 in flight: 1.21 2x np8 at 2 in flight: 0.62 2x np8 at 4 in flight: 1.05 2x np8 at 8 in flight: 1.46 2x np8 at 10 in flight: 1.68 2x np8 at 16 in flight: 1.73 2x np8 1x np8 at 1 in flight: 1.36 1x np8 at 2 in flight: 1.84 1x np8 at 4 in flight: 1.74 1x np8 at 8 in flight: 1.89 1x np8 at 10 in flight: 1.72 1x np8 at 16 in flight: 1.67 1x np8 2x np4 at 1 in flight: 1.40 2x np4 at 2 in flight: 0.58 2x np4 at 4 in flight: 1.09 2x np4 at 8 in flight: 1.47 2x np4 at 10 in flight: 1.27 2x np4 at 16 in flight: 1.31 2x np4 1x np4 at 1 in flight: 1.18 1x np4 at 2 in flight: 1.75 1x np4 at 4 in flight: 1.74 1x np4 at 8 in flight: 1.50 1x np4 at 10 in flight: 1.39 1x np4 at 16 in flight: 1.27 1x np4 1x np1 at 1 in flight: 0.72 1x np1 at 2 in flight: 0.58 1x np1 at 4 in flight: 0.50 1x np1 at 8 in flight: 0.48 1x np1 at 10 in flight: 0.47 1x np1 at 16 in flight: 0.48 1x np1 2x np1 at 1 in flight: 1.71 2x np1 at 2 in flight: 0.58 2x np1 at 4 in flight: 0.49 2x np1 at 8 in flight: 0.47 2x np1 at 10 in flight: 0.45 2x np1 at 16 in flight: 0.45 2x np1
1x np162x np162x np81x np82x np41x np41x np12x np1

All cells

instnpbatchubatchin flighttotal tok/sper-person p50slowest 10%p95 wait savg Wtok/Jmax Cerrorsstatus
111133.1133.2131.01.01840.72570ok
112134.367.566.91.92310.58570ok
114134.633.833.53.82680.50580ok
118134.316.816.87.62790.48600ok
1110133.813.413.49.62840.47620ok
1116139.28.78.714.72880.48630ok
141137.0137.1135.40.91161.18590ok
142243.3121.7120.61.11391.75590ok
144347.086.986.21.52001.74590ok
148346.343.643.13.02311.50600ok
1410346.843.329.04.42491.39600ok
1416344.821.621.65.92711.27610ok
181137.3137.4135.80.91011.36590ok
182242.8121.5119.71.11321.84590ok
184345.586.585.61.51981.74590ok
188435.354.554.32.42311.89600ok
1810406.753.732.24.72361.72600ok
1816434.927.227.24.72611.67610ok
1161137.0137.1135.10.91231.11590ok
1162245.2122.7121.71.11631.50590ok
1164342.685.784.91.51682.04590ok
1168434.654.454.22.42241.94600ok
11610662.166.465.91.92023.28600ok
11616875.054.954.62.32193.99600ok
211136.5136.5135.20.9801.71590ok
212127.463.863.32.02200.58590ok
214128.432.331.94.02600.49600ok
218129.016.216.18.02780.47620ok
2110129.113.012.99.92840.45630ok
2116129.28.18.115.82870.45640ok
241134.9135.0132.91.0961.40590ok
242127.964.163.42.02210.58600ok
244241.860.560.02.12211.09600ok
248352.444.143.92.92401.47600ok
2410318.244.024.75.82501.27610ok
2416351.822.022.05.82691.31620ok
281135.4135.4134.31.01121.21590ok
282127.764.063.32.02040.62600ok
284242.060.559.92.12291.05600ok
288352.144.143.82.92421.46600ok
2810404.440.540.43.22411.68600ok
2816455.128.528.44.52631.73610ok
2161135.7135.8134.21.01141.20590ok
2162127.764.063.42.02030.63600ok
2164241.960.560.02.12041.18600ok
2168292.444.833.84.02541.15600ok
21610401.940.340.13.22451.64600ok
21616455.828.628.44.52601.75610ok

Made with amagi-throughput-lab, based on llama-throughput-lab by Alex Ziskind (MIT). Per-person tok/s is a request's generated tokens over its full wait, queueing and prefill included.