Matrix A - minicpm5_2b - run 42594447944

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 135 tok/s (+58%)vLLM c1: bf16 85.2, tkv 135 tok/s (+58%)85.2135 (+58%)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 83.9, tkv 122 tok/s (+46%)arbi-serve c1: bf16 83.9, tkv 122 tok/s (+46%)83.9122 (+46%)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.9, tkv 93.3 tok/s (+32%)vLLM c8: bf16 70.9, tkv 93.3 tok/s (+32%)70.993.3 (+32%)vLLMSGLang c8: bf16 71.6, tkv 95.8 tok/s (+34%)SGLang c8: bf16 71.6, tkv 95.8 tok/s (+34%)71.695.8 (+34%)SGLangarbi-serve c8: bf16 65.8, tkv 87.3 tok/s (+33%)arbi-serve c8: bf16 65.8, tkv 87.3 tok/s (+33%)65.887.3 (+33%)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.9, tkv 96.7 tok/s (+42%)vLLM c64: bf16 67.9, tkv 96.7 tok/s (+42%)67.996.7 (+42%)vLLMSGLang c64: bf16 66.8, tkv 93.5 tok/s (+40%)SGLang c64: bf16 66.8, tkv 93.5 tok/s (+40%)66.893.5 (+40%)SGLangarbi-serve c64: bf16 65.0, tkv 90.9 tok/s (+40%)arbi-serve c64: bf16 65.0, tkv 90.9 tok/s (+40%)65.090.9 (+40%)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 27.0, tkv 32.8 tok/s (+21%)vLLM c256: bf16 27.0, tkv 32.8 tok/s (+21%)27.032.8 (+21%)vLLMSGLang c256: bf16 22.9, tkv 29.2 tok/s (+27%)SGLang c256: bf16 22.9, tkv 29.2 tok/s (+27%)22.929.2 (+27%)SGLangarbi-serve c256: bf16 27.8, tkv 33.1 tok/s (+19%)arbi-serve c256: bf16 27.8, tkv 33.1 tok/s (+19%)27.833.1 (+19%)arbi-serve
Prefill tok/s
c1 · 129K ctx
1 request, fixed lengthsprompt 129,024output 2,048
02.5k5k7.5k10kvLLM c1: bf16 5,863, tkv 9,588 tok/s (+64%)vLLM c1: bf16 5,863, tkv 9,588 tok/s (+64%)5,8639,588 (+64%)vLLMSGLang c1: bf16 5,811, tkv 9,519 tok/s (+64%)SGLang c1: bf16 5,811, tkv 9,519 tok/s (+64%)5,8119,519 (+64%)SGLangarbi-serve c1: bf16 5,804, tkv 9,677 tok/s (+67%)arbi-serve c1: bf16 5,804, tkv 9,677 tok/s (+67%)5,8049,677 (+67%)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
02.5k5k7.5k10kvLLM c8: bf16 4,328, tkv 5,066 tok/s (+17%)vLLM c8: bf16 4,328, tkv 5,066 tok/s (+17%)4,3285,066 (+17%)vLLMSGLang c8: bf16 6,100, tkv 7,863 tok/s (+29%)SGLang c8: bf16 6,100, tkv 7,863 tok/s (+29%)6,1007,863 (+29%)SGLangarbi-serve c8: bf16 4,675, tkv 5,591 tok/s (+20%)arbi-serve c8: bf16 4,675, tkv 5,591 tok/s (+20%)4,6755,591 (+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
02.5k5k7.5k10kvLLM c64: bf16 827, tkv 849 tok/s (+3%)vLLM c64: bf16 827, tkv 849 tok/s (+3%)827849 (+3%)vLLMSGLang c64: bf16 930, tkv 1,039 tok/s (+12%)SGLang c64: bf16 930, tkv 1,039 tok/s (+12%)9301,039 (+12%)SGLangarbi-serve c64: bf16 940, tkv 929 tok/s (−1%)arbi-serve c64: bf16 940, tkv 929 tok/s (−1%)929 (−1%)bf16 940arbi-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 210, tkv 212 tok/s (+1%)vLLM c256: bf16 210, tkv 212 tok/s (+1%)212 (+1%)bf16 210vLLMSGLang c256: bf16 235, tkv 244 tok/s (+4%)SGLang c256: bf16 235, tkv 244 tok/s (+4%)244 (+4%)bf16 235SGLangarbi-serve c256: bf16 213, tkv 220 tok/s (+3%)arbi-serve c256: bf16 213, tkv 220 tok/s (+3%)220 (+3%)bf16 213arbi-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 135 tok/s (+58%)vLLM c1: bf16 85.2, tkv 135 tok/s (+58%)135 (+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 83.9, tkv 122 tok/s (+46%)arbi-serve c1: bf16 83.9, tkv 122 tok/s (+46%)122 (+46%)bf16 83.9arbi-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 723, tkv 895 tok/s (+24%)vLLM c8: bf16 723, tkv 895 tok/s (+24%)895 (+24%)bf16 723vLLMSGLang c8: bf16 684, tkv 855 tok/s (+25%)SGLang c8: bf16 684, tkv 855 tok/s (+25%)855 (+25%)bf16 684SGLangarbi-serve c8: bf16 659, tkv 822 tok/s (+25%)arbi-serve c8: bf16 659, tkv 822 tok/s (+25%)822 (+25%)bf16 659arbi-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,711, tkv 6,376 tok/s (+35%)vLLM c64: bf16 4,711, tkv 6,376 tok/s (+35%)4,7116,376 (+35%)vLLMSGLang c64: bf16 4,616, tkv 6,195 tok/s (+34%)SGLang c64: bf16 4,616, tkv 6,195 tok/s (+34%)4,6166,195 (+34%)SGLangarbi-serve c64: bf16 4,490, tkv 6,006 tok/s (+34%)arbi-serve c64: bf16 4,490, tkv 6,006 tok/s (+34%)4,4906,006 (+34%)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 8,010, tkv 9,402 tok/s (+17%)vLLM c256: bf16 8,010, tkv 9,402 tok/s (+17%)8,0109,402 (+17%)vLLMSGLang c256: bf16 6,752, tkv 8,425 tok/s (+25%)SGLang c256: bf16 6,752, tkv 8,425 tok/s (+25%)6,7528,425 (+25%)SGLangarbi-serve c256: bf16 8,224, tkv 9,597 tok/s (+17%)arbi-serve c256: bf16 8,224, tkv 9,597 tok/s (+17%)8,2249,597 (+17%)arbi-serve

Canonical table

Matrix A - minicpm5_2b - run 42594447944
       │                                     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   │     9677/5804      122/83.9        122/84   13333/22231      8.2/11.9         43/27 │     5591/4675     87.3/65.8       822/659     2374/2827     11.5/15.2       497/382 │       929/940     90.9/65.0     6006/4490     2265/2227     11.0/15.4     4587/3546 │       220/213     33.1/27.8     9597/8224     4529/4653     30.2/36.0     6482/5744 
vllm   │     9588/5863      135/85.2        135/85   13457/22007      7.4/11.7         45/28 │     5066/4328     93.3/70.9       895/723     3287/3812     10.7/14.1       509/404 │       849/827     96.7/67.9     6376/4711     2789/2863     10.3/14.7     4663/3594 │       212/210     32.8/27.0     9402/8010     4756/4781     30.5/37.0     6300/5599 
sglang │     9519/5811      132/84.4        132/84   13555/22202      7.6/11.8         44/27 │     7863/6100     95.8/71.6       855/684     1602/2122     10.4/14.0       563/421 │      1039/930     93.5/66.8     6195/4616     1820/2064     10.7/15.0     4762/3606 │       244/235     29.2/22.9     8425/6752     4163/4346     34.3/43.6     5562/4620 
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