Matrix A - minicpm5_2b - run 43839174439

bf16 KV vs tkv KV, per engine

Each bar is one engine at one concurrency. The solid base is the engine's throughput with a bf16 KV cache; the blue add-on is what tkv adds on the same engine and workload, so the whole bar is the tkv number. Inside the base: bf16 tok/s. Above the bar: tkv tok/s and its gain over bf16. The four panels of a row share one y-axis from 0, so bars compare across the row.

Workload: every request's prompt and output length is drawn from a seeded log-normal (σ = 0.65, seed 20261006), clipped to [mean/8, mean×8] and rescaled to the cell's exact mean; c1 is one fixed sequence. Outputs run with ignore_eos at each request's exact max_tokens. All N requests of a cell are in flight together (one wave).

bf16 (vLLM)bf16 (SGLang)bf16 (arbi-serve)tkv add-ontkv below bf16 (hatched: the shortfall)
Decode tok/s per stream
c1 · 129K ctx
1 request, fixed lengthsprompt 129,024output 2,048
050100150vLLM c1: bf16 85.2, tkv 134 tok/s (+57%)vLLM c1: bf16 85.2, tkv 134 tok/s (+57%)85.2134 (+57%)vLLMSGLang c1: bf16 84.4, tkv 132 tok/s (+56%)SGLang c1: bf16 84.4, tkv 132 tok/s (+56%)84.4132 (+56%)SGLangarbi-serve c1: bf16 85.3, tkv 132 tok/s (+55%)arbi-serve c1: bf16 85.3, tkv 132 tok/s (+55%)85.3132 (+55%)arbi-serve
c8 · 16K ctx
8 requests, log-normal lengthsprompt mean 16.4K · p50 13.9K · 4.0K–35.6Koutput mean 2,048 · p50 1,213 · 311–7,981
050100150vLLM c8: bf16 70.6, tkv 91.9 tok/s (+30%)vLLM c8: bf16 70.6, tkv 91.9 tok/s (+30%)70.691.9 (+30%)vLLMSGLang c8: bf16 70.2, tkv 95.4 tok/s (+36%)SGLang c8: bf16 70.2, tkv 95.4 tok/s (+36%)70.295.4 (+36%)SGLangarbi-serve c8: bf16 67.7, tkv 92.8 tok/s (+37%)arbi-serve c8: bf16 67.7, tkv 92.8 tok/s (+37%)67.792.8 (+37%)arbi-serve
c64 · 2K ctx
64 requests, log-normal lengthsprompt mean 2.0K · p50 1.7K · 259–7.3Koutput mean 2,048 · p50 1,682 · 399–7,680
050100150vLLM c64: bf16 67.7, tkv 97.0 tok/s (+43%)vLLM c64: bf16 67.7, tkv 97.0 tok/s (+43%)67.797.0 (+43%)vLLMSGLang c64: bf16 66.8, tkv 94.5 tok/s (+42%)SGLang c64: bf16 66.8, tkv 94.5 tok/s (+42%)66.894.5 (+42%)SGLangarbi-serve c64: bf16 67.1, tkv 93.5 tok/s (+39%)arbi-serve c64: bf16 67.1, tkv 93.5 tok/s (+39%)67.193.5 (+39%)arbi-serve
c256 · 1K ctx
256 requests, log-normal lengthsprompt mean 1.0K · p50 828 · 139–6.3Koutput mean 256 · p50 206 · 35–1,736
050100150vLLM c256: bf16 26.8, tkv 27.8 tok/s (+4%)vLLM c256: bf16 26.8, tkv 27.8 tok/s (+4%)26.827.8 (+4%)vLLMSGLang c256: bf16 22.9, tkv 29.7 tok/s (+29%)SGLang c256: bf16 22.9, tkv 29.7 tok/s (+29%)22.929.7 (+29%)SGLangarbi-serve c256: bf16 25.9, tkv 28.3 tok/s (+9%)arbi-serve c256: bf16 25.9, tkv 28.3 tok/s (+9%)25.928.3 (+9%)arbi-serve
Prefill tok/s
c1 · 129K ctx
1 request, fixed lengthsprompt 129,024output 2,048
05k10k15kvLLM c1: bf16 5,763, tkv 10,204 tok/s (+77%)vLLM c1: bf16 5,763, tkv 10,204 tok/s (+77%)5,76310,204 (+77%)vLLMSGLang c1: bf16 5,813, tkv 10,227 tok/s (+76%)SGLang c1: bf16 5,813, tkv 10,227 tok/s (+76%)5,81310,227 (+76%)SGLangarbi-serve c1: bf16 5,782, tkv 10,474 tok/s (+81%)arbi-serve c1: bf16 5,782, tkv 10,474 tok/s (+81%)5,78210,474 (+81%)arbi-serve
c8 · 16K ctx
8 requests, log-normal lengthsprompt mean 16.4K · p50 13.9K · 4.0K–35.6Koutput mean 2,048 · p50 1,213 · 311–7,981
05k10k15kvLLM c8: bf16 4,253, tkv 4,982 tok/s (+17%)vLLM c8: bf16 4,253, tkv 4,982 tok/s (+17%)4,2534,982 (+17%)vLLMSGLang c8: bf16 5,713, tkv 7,502 tok/s (+31%)SGLang c8: bf16 5,713, tkv 7,502 tok/s (+31%)5,7137,502 (+31%)SGLangarbi-serve c8: bf16 4,322, tkv 5,174 tok/s (+20%)arbi-serve c8: bf16 4,322, tkv 5,174 tok/s (+20%)4,3225,174 (+20%)arbi-serve
c64 · 2K ctx
64 requests, log-normal lengthsprompt mean 2.0K · p50 1.7K · 259–7.3Koutput mean 2,048 · p50 1,682 · 399–7,680
05k10k15kvLLM c64: bf16 790, tkv 829 tok/s (+5%)vLLM c64: bf16 790, tkv 829 tok/s (+5%)829 (+5%)bf16 790vLLMSGLang c64: bf16 904, tkv 997 tok/s (+10%)SGLang c64: bf16 904, tkv 997 tok/s (+10%)997 (+10%)bf16 904SGLangarbi-serve c64: bf16 1,188, tkv 1,171 tok/s (−1%)arbi-serve c64: bf16 1,188, tkv 1,171 tok/s (−1%)1,171 (−1%)bf16 1,188arbi-serve
c256 · 1K ctx
256 requests, log-normal lengthsprompt mean 1.0K · p50 828 · 139–6.3Koutput mean 256 · p50 206 · 35–1,736
05k10k15kvLLM c256: bf16 206, tkv 208 tok/s (+1%)vLLM c256: bf16 206, tkv 208 tok/s (+1%)208 (+1%)bf16 206vLLMSGLang c256: bf16 224, tkv 235 tok/s (+5%)SGLang c256: bf16 224, tkv 235 tok/s (+5%)235 (+5%)bf16 224SGLangarbi-serve c256: bf16 246, tkv 242 tok/s (−2%)arbi-serve c256: bf16 246, tkv 242 tok/s (−2%)242 (−2%)bf16 246arbi-serve
Total decode tok/s (all streams)
c1 · 129K ctx
1 request, fixed lengthsprompt 129,024output 2,048
02.5k5k7.5k10kvLLM c1: bf16 85.2, tkv 134 tok/s (+58%)vLLM c1: bf16 85.2, tkv 134 tok/s (+58%)134 (+58%)bf16 85.2vLLMSGLang c1: bf16 84.4, tkv 132 tok/s (+56%)SGLang c1: bf16 84.4, tkv 132 tok/s (+56%)132 (+56%)bf16 84.4SGLangarbi-serve c1: bf16 85.3, tkv 132 tok/s (+54%)arbi-serve c1: bf16 85.3, tkv 132 tok/s (+54%)132 (+54%)bf16 85.3arbi-serve
c8 · 16K ctx
8 requests, log-normal lengthsprompt mean 16.4K · p50 13.9K · 4.0K–35.6Koutput mean 2,048 · p50 1,213 · 311–7,981
02.5k5k7.5k10kvLLM c8: bf16 720, tkv 885 tok/s (+23%)vLLM c8: bf16 720, tkv 885 tok/s (+23%)885 (+23%)bf16 720vLLMSGLang c8: bf16 688, tkv 866 tok/s (+26%)SGLang c8: bf16 688, tkv 866 tok/s (+26%)866 (+26%)bf16 688SGLangarbi-serve c8: bf16 699, tkv 893 tok/s (+28%)arbi-serve c8: bf16 699, tkv 893 tok/s (+28%)893 (+28%)bf16 699arbi-serve
c64 · 2K ctx
64 requests, log-normal lengthsprompt mean 2.0K · p50 1.7K · 259–7.3Koutput mean 2,048 · p50 1,682 · 399–7,680
02.5k5k7.5k10kvLLM c64: bf16 4,693, tkv 6,414 tok/s (+37%)vLLM c64: bf16 4,693, tkv 6,414 tok/s (+37%)4,6936,414 (+37%)vLLMSGLang c64: bf16 4,623, tkv 6,288 tok/s (+36%)SGLang c64: bf16 4,623, tkv 6,288 tok/s (+36%)4,6236,288 (+36%)SGLangarbi-serve c64: bf16 4,615, tkv 6,230 tok/s (+35%)arbi-serve c64: bf16 4,615, tkv 6,230 tok/s (+35%)4,6156,230 (+35%)arbi-serve
c256 · 1K ctx
256 requests, log-normal lengthsprompt mean 1.0K · p50 828 · 139–6.3Koutput mean 256 · p50 206 · 35–1,736
02.5k5k7.5k10kvLLM c256: bf16 7,926, tkv 8,383 tok/s (+6%)vLLM c256: bf16 7,926, tkv 8,383 tok/s (+6%)7,9268,383 (+6%)vLLMSGLang c256: bf16 6,712, tkv 8,494 tok/s (+27%)SGLang c256: bf16 6,712, tkv 8,494 tok/s (+27%)6,7128,494 (+27%)SGLangarbi-serve c256: bf16 7,874, tkv 8,539 tok/s (+8%)arbi-serve c256: bf16 7,874, tkv 8,539 tok/s (+8%)7,8748,539 (+8%)arbi-serve

Canonical table

Matrix A - minicpm5_2b - run 43839174439
       │                                     c1@126k                                      │                                      c8@14k                                      │                                     c64@1.6k                                     │                                    c256@0.8k                                     
engine │ prefill tok/s decode/stream  decode total          TTFT          TPOT agg@900 tok/s │ prefill tok/s decode/stream  decode total          TTFT          TPOT agg@900 tok/s │ prefill tok/s decode/stream  decode total          TTFT          TPOT agg@900 tok/s │ prefill tok/s decode/stream  decode total          TTFT          TPOT agg@900 tok/s 
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
arbi   │    10474/5782      132/85.3        132/85   12319/22315      7.6/11.7         47/27 │     5174/4322     92.8/67.7       893/699     3137/3824     10.8/14.8       514/391 │     1171/1188     93.5/67.1     6230/4615     1325/1298     10.7/14.9     4862/3733 │       242/246     28.3/25.9     8539/7874     4103/3994     35.3/38.6     5928/5612 
vllm   │    10204/5763      134/85.2        134/85   12645/22388      7.5/11.7         46/27 │     4982/4253     91.9/70.6       885/720     3373/3870     10.9/14.2       500/401 │       829/790     97.0/67.7     6414/4693     2851/3064     10.3/14.8     4652/3541 │       208/206     27.8/26.8     8383/7926     4853/4909     35.9/37.4     5742/5526 
sglang │    10227/5813      132/84.4        132/84   12616/22195      7.6/11.8         46/27 │     7502/5713     95.4/70.2       866/688     1728/2334     10.5/14.2       562/423 │       997/904     94.5/66.8     6288/4623     2064/2191     10.6/15.0     4794/3597 │       235/224     29.7/22.9     8494/6712     4307/4464     33.7/43.6     5566/4571 
cells: tkv/bf16 · TTFT,TPOT=ms median · prefill=prompt tok / TTFT · decode/stream=1000/TPOT · decode total=all streams over their decode spans · agg=all streams @ 900 tok, prefill INCLUDED · best / worst>20% / worst-close / plain mid