Multi-GPU recipes and mixed setups
ci / check (push) Successful in 11s

Several of one GPU: <gpu>/<model>/<N>x-<engine>-<profile>.md with gpus,
tp and pp (tp × pp = gpus) and a declared PCIe topology. Different GPUs:
mixed/<setup>/, named after its cards, with the same layout as a GPU
folder and a generated mixed/README.md. Runs must sit in their recipe's
setup folder. Energy, and bandwidth for pipeline parallel or mixed, are
left out where bench-standard measures one GPU only; docs/
bench-standard-gaps.md lists those gaps for the benchmarks repo. The
wanted lists take the fewest of one GPU a model fits in.

Demo: 2x Arc B580 with vLLM TP 2 and llama.cpp layer split for
Qwen3.8-27B, -sm row as what lost, and Arc Pro B60 + Arc B580 mixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-29 18:59:51 +01:00
1 parent 753bdadf7a
commit 976a8b40e5
59 files changed
+39381 -119

No files matched your search

+3 -1
View File
@@ -28,7 +28,9 @@ There are two jobs. Ask your human which one, if it isn't clear.
2. Benchmark with bench.sh, following its AGENTS.md: dry run, quick run, then `--full`
only after your human agrees. Use the bench.sh command in the recipe's numbers
block. Its declared values are the recipe's.
3. Copy the result folder into `<gpu>/results/` **unchanged**.
With several GPUs: read every card's PCIe link (docs/host-setup.md, "Several GPUs")
and pass all of them in `--special-notes`.
3. Copy the result folder into `<gpu>/results/` (or `mixed/<setup>/results/`) **unchanged**.
4. Then one of:
- **Reproduction:** append the folder name to the recipe's `results`.
- **A variant that lost:** add a `[[tried]]` entry to `<gpu>/<model>/tried.md`.
+9
View File
@@ -35,6 +35,15 @@ limits are found.
- **New engine or profile:** write a new recipe ([format](docs/recipe-format.md)).
4. `python3 tools/cookbook.py build` and open a pull request.
## Several GPUs
Same steps, three additions ([details](docs/recipe-format.md#several-gpus)):
- `gpus`, `tp` and `pp` in the front matter, with `tp × pp = gpus`. Two of the same card:
`<gpu>/<model>/2x-<engine>-<profile>.md`. Different cards: a setup folder under `mixed/`.
- `topology`: the PCIe link of each card, from `lspci -vv` ([host setup](docs/host-setup.md#5-several-gpus)).
- bench.sh sees only the first card's PCIe and power: put the others in `--special-notes`.
## A new GPU or model
- **GPU:** add the Arc card to `cookbook.toml` under `[gpus]`, with its spec VRAM and
+2
View File
@@ -14,6 +14,7 @@ The fastest way to run each model on Intel Arc GPUs, every claim backed by a
| hosting | git.linxweiler.xyz only, no GitHub mirror for now |
| benchmarks repo | used as it is; the cookbook changes nothing there |
| models | only bench-standard's standard models; a new model goes into its table first |
| several GPUs | same GPU: `<gpu>/<model>/<N>x-…` with `gpus`, `tp`, `pp`, declared `topology`; different GPUs: `mixed/<setup>/` |
## How a recipe comes about
@@ -30,6 +31,7 @@ The fastest way to run each model on Intel Arc GPUs, every claim backed by a
|---|---|---|
| 1. Skeleton | layout, recipe format, `validate`/`build`, tests, CI, contributor docs | done |
| 2. Demo content | synthetic results, 6 recipes, 2 tried logs, generated site | done |
| 2b. Several GPUs | `<N>x-` recipes, `mixed/`, topology, per-GPU figures; 3 demo recipes | done; [gaps in bench-standard](docs/bench-standard-gaps.md) to file there |
| 3. First real runs | Arc Pro B65 × {llama.cpp, vLLM} × {Qwen3.5-9B, Qwen3.8-27B}: baseline → knob sweep → `--full`; replace the demo folders | next |
| 4. Reproductions | a second B65 owner verifies; B580/B60 owners from the group add their cards | |
| 5. Profiles | `throughput`, `long-context` and `efficiency` recipes where they differ from single-user | |
+5 -1
View File
@@ -16,9 +16,10 @@ and CI checks that each recipe's launch command is the one that was benchmarked.
| [Arc Pro B65](arc-pro-b65/README.md) | 32 GB | 608 GB/s | 5 | Qwen3.5-9B: 118.2 t/s (vllm) · Qwen3.8-27B: 84.5 t/s (vllm) |
| [Arc Pro B60](arc-pro-b60/README.md) | 24 GB | 456 GB/s | 0 | none yet: wanted |
| [Arc Pro B50](arc-pro-b50/README.md) | 16 GB | 224 GB/s | 0 | none yet: wanted |
| [Arc B580](arc-b580/README.md) | 12 GB | 456 GB/s | 1 | Qwen3.5-9B: 48.2 t/s (llama.cpp) |
| [Arc B580](arc-b580/README.md) | 12 GB | 456 GB/s | 3 | Qwen3.5-9B: 48.2 t/s (llama.cpp) · Qwen3.8-27B: 51.3 t/s (vllm, 2×) |
| [Arc B570](arc-b570/README.md) | 10 GB | 380 GB/s | 0 | none yet: wanted |
| [Arc A770](arc-a770/README.md) | 16 GB | 560 GB/s | 0 | none yet: wanted |
| [Mixed setups](mixed/README.md) | 1 setup | — | 1 | Qwen3.8-27B: 16.4 t/s (llama.cpp) |
<!-- /cookbook:index -->
Each GPU folder has its recipes, what lost against them, and the result folders that
@@ -31,8 +32,11 @@ arc-pro-b65/ one folder per GPU
README.md generated: its recipes, what lost, what's wanted
qwen3.8-27b/
vllm-single-user.md a recipe: <engine>-<profile>.md
2x-vllm-single-user.md the same on two of these GPUs: <N>x-<engine>-<profile>.md
tried.md what lost against the recipes for this model
results/<run>/ bench.sh result folders, unmodified
mixed/ different GPUs in one server
1x-arc-b580_1x-arc-pro-b60/ a setup: same layout as a GPU folder
docs/ recipe and tried formats, result rules, host setup
site/index.html the generated page
cookbook.toml GPUs, models, accepted bench-standard versions
+1 -1
View File
@@ -10,7 +10,7 @@ None yet.
## Wanted
Fits in VRAM, no single-user recipe yet: Qwen3.5-9B. See [CONTRIBUTING.md](../CONTRIBUTING.md).
Fits in VRAM, no single-user recipe yet: Qwen3.5-9B, Qwen3.8-27B on 2× Arc A770. See [CONTRIBUTING.md](../CONTRIBUTING.md).
## Results
+11 -5
View File
@@ -8,13 +8,19 @@
## Recipes
| model | profile | engine | headline | status | recipe |
|---|---|---|---|---|---|
| Qwen3.5-9B | single-user | llama.cpp | 48.2 t/s decode at batch 1 ★ | demo | [Qwen3.5-9B on Arc B580 with llama.cpp, single user](qwen3.5-9b/llama.cpp-single-user.md) |
| model | GPUs | profile | engine | headline | status | recipe |
|---|---|---|---|---|---|---|
| Qwen3.5-9B | 1 | single-user | llama.cpp | 48.2 t/s decode at batch 1 ★ | demo | [Qwen3.5-9B on Arc B580 with llama.cpp, single user](qwen3.5-9b/llama.cpp-single-user.md) |
| Qwen3.8-27B | 2 | single-user | llama.cpp | 15.9 t/s decode at batch 1 | demo | [Qwen3.8-27B on 2× Arc B580 with llama.cpp, single user](qwen3.8-27b/2x-llama.cpp-single-user.md) |
| Qwen3.8-27B | 2 | single-user | vllm | 51.3 t/s decode at batch 1 ★ | demo | [Qwen3.8-27B on 2× Arc B580 with vLLM, single user](qwen3.8-27b/2x-vllm-single-user.md) |
★ the fastest recipe for that model and profile on this GPU.
★ the fastest recipe for that model, GPU count and profile. Several of this GPU: files named `<N>x-<engine>-<profile>.md`. With other GPUs: [mixed setups](../mixed/README.md).
## What lost
- [Qwen3.8-27B](qwen3.8-27b/tried.md): 1 variant
## Results
1 result folder in [`results/`](results/), as bench.sh wrote them.
4 result folders in [`results/`](results/), as bench.sh wrote them.
Host setup for every recipe: [docs/host-setup.md](../docs/host-setup.md).
@@ -0,0 +1,84 @@
+++
title = "Qwen3.8-27B on 2× Arc B580 with llama.cpp, single user"
summary = "Layer split over two 12 GB cards: simple, little PCIe traffic, but one card works at a time."
model = "Qwen3.8-27B"
quant = "UD-Q4_K_M"
kv = "q8_0"
engine = "llama.cpp"
gpu = "Arc B580"
gpus = 2
pp = 2
profile = "single-user"
spec = "none"
thinking = "default"
topology = ["Gen4 x8 CPU", "Gen4 x8 CPU"]
results = ["261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580"]
+++
The first half of the layers on one card, the second half on the other. Only one
small activation crosses PCIe per token, but the cards take turns, so decode runs at
about the speed of one card reading half the weights, then the other.
[`-sm row`](tried.md) was slower.
<!-- cookbook:numbers -->
> **Demo data.** These numbers are synthetic, made by `tools/demo/make_demo.py` to show the layout. Nothing here was measured.
**decode at batch 1: 15.9 t/s** · one submitter · 1 run
| metric | first run |
|---|---|
| GPUs | 2× Arc B580 · tp 1 · pp 2 |
| PCIe topology (declared) | Gen4 x8 CPU · Gen4 x8 CPU |
| decode at batch 1 (median) | 15.9 t/s |
| time to first token (median) | 330 ms |
| concurrency, aggregate | 1: 15 · 2: 16 · 4: 16 · 8: 16 t/s |
| prefill | 2k: 619 · 8k: 459 · 16k: 378 t/s |
| decode at batch 1 per GPU | 7.9 t/s |
| memory bandwidth reached | n/a: bench-standard computes it for tensor parallel over equal GPUs only |
| decode energy | n/a: bench-standard samples the power of one GPU |
| run | submitter | date | decode at batch 1 | TTFT | report |
|---|---|---|---|---|---|
| `261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580` | demo | 2026-10-27 | 15.9 t/s | 330 ms | [html](../results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580.html) |
Reproduce it: start the server with the launch command below, save that command as `server-cmd.txt`, then run [bench-standard](https://git.linxweiler.xyz/miga/benchmarks):
```sh
./bench.sh --endpoint http://localhost:8080/v1 --model qwen3.8-27b \
--tp 1 --pp 2 --quant UD-Q4_K_M --kv q8_0 --spec none --thinking default \
--submitter YOUR_NAME --server-cmd-file server-cmd.txt --full
```
bench.sh records PCIe and power for one GPU only: put the link of every GPU in `--special-notes`, as in the recipe's `topology`.
<!-- /cookbook:numbers -->
## Requirements
- Two Arc B580, host set up as in [host setup](../../docs/host-setup.md)
- Docker
- The standard file `Qwen3.8-27B-UD-Q4_K_M.gguf`, as in the
[B65 recipe](../../arc-pro-b65/qwen3.8-27b/llama.cpp-single-user.md)
## Launch
```sh
docker run --rm --name llm --device /dev/dri -v /models:/models -p 8080:8080 \
-e ZES_ENABLE_SYSMAN=1 \
ghcr.io/ggml-org/llama.cpp:server-intel@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
-m /models/Qwen3.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
-ngl 99 -sm layer -ts 1,1 -c 16384 -np 1 -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 \
--host 0.0.0.0 --port 8080
```
## Why these flags
| flag | why |
|---|---|
| `-sm layer` | whole layers per GPU; declared to bench.sh as `--pp 2` |
| `-ts 1,1` | half the layers on each card |
| `-c 16384` | what fits next to the weights on 2 × 12 GB |
## Pitfalls
- Declare `--tp 1 --pp 2` for `-sm layer`, and `--tp 2 --pp 1` for `-sm row`.
- bench.sh's bandwidth figure assumes tensor parallelism, so it's left out here.
@@ -0,0 +1,90 @@
+++
title = "Qwen3.8-27B on 2× Arc B580 with vLLM, single user"
summary = "The 27B doesn't fit one 12 GB card: split it over two with tensor parallelism plus MTP."
model = "Qwen3.8-27B"
quant = "w4a16"
kv = "fp16"
engine = "vllm"
gpu = "Arc B580"
gpus = 2
tp = 2
profile = "single-user"
spec = "mtp:5"
thinking = "default"
topology = ["Gen4 x8 CPU", "Gen4 x8 CPU"]
results = ["261027_demo_qwen3.8-27b_vllm_2x-arc-b580"]
+++
Two consumer cards for the 27B: 24 GB together, enough for the INT4 weights and a
short context. Each card holds half of every layer, and they exchange activations over
PCIe after every layer, so the link to the CPU decides how well this scales.
<!-- cookbook:numbers -->
> **Demo data.** These numbers are synthetic, made by `tools/demo/make_demo.py` to show the layout. Nothing here was measured.
**decode at batch 1: 51.3 t/s** · one submitter · 1 run
| metric | first run |
|---|---|
| GPUs | 2× Arc B580 · tp 2 · pp 1 |
| PCIe topology (declared) | Gen4 x8 CPU · Gen4 x8 CPU |
| decode at batch 1 (median) | 51.3 t/s |
| time to first token (median) | 261 ms |
| concurrency, aggregate | 1: 51 · 2: 51 · 4: 52 · 8: 53 t/s |
| prefill | 2k: 1,657 t/s |
| decode at batch 1 per GPU | 25.7 t/s |
| memory bandwidth reached | n/a: speculative decoding makes several tokens per pass over the weights |
| decode energy | n/a: bench-standard samples the power of one GPU |
| run | submitter | date | decode at batch 1 | TTFT | report |
|---|---|---|---|---|---|
| `261027_demo_qwen3.8-27b_vllm_2x-arc-b580` | demo | 2026-10-27 | 51.3 t/s | 261 ms | [html](../results/261027_demo_qwen3.8-27b_vllm_2x-arc-b580/261027_demo_qwen3.8-27b_vllm_2x-arc-b580.html) |
Reproduce it: start the server with the launch command below, save that command as `server-cmd.txt`, then run [bench-standard](https://git.linxweiler.xyz/miga/benchmarks):
```sh
./bench.sh --endpoint http://localhost:8000/v1 --model qwen3.8-27b \
--tp 2 --pp 1 --quant w4a16 --kv fp16 --spec mtp:5 --thinking default \
--submitter YOUR_NAME --server-cmd-file server-cmd.txt --full
```
bench.sh records PCIe and power for one GPU only: put the link of every GPU in `--special-notes`, as in the recipe's `topology`.
<!-- /cookbook:numbers -->
## Requirements
- Two Arc B580, both in slots wired to the CPU (see Pitfalls), host set up as in
[host setup](../../docs/host-setup.md)
- Docker
- The `RedHatAI/Qwen3.8-27B-INT4` checkpoint, as in the
[B65 recipe](../../arc-pro-b65/qwen3.8-27b/vllm-single-user.md)
## Launch
```sh
docker run --rm --name llm --device /dev/dri --ipc=host -v /models:/models -p 8000:8000 \
-e ZE_AFFINITY_MASK=0,1 \
intel/vllm:0.30.0-xpu@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
vllm serve /models/RedHatAI/Qwen3.8-27B-INT4 --served-model-name qwen3.8-27b \
--tensor-parallel-size 2 --dtype float16 --max-model-len 8192 --max-num-seqs 1 \
--gpu-memory-utilization 0.95 \
--speculative-config '{"method":"mtp","num_speculative_tokens":5}' \
--host 0.0.0.0 --port 8000
```
## Why these flags
| flag | why |
|---|---|
| `--tensor-parallel-size 2` | each GPU holds half of every layer |
| `ZE_AFFINITY_MASK=0,1` | the two B580s, as Level Zero numbers them; check with `xpu-smi discovery` |
| `--max-model-len 8192` | after the weights, little memory is left per card for the KV cache |
| `--gpu-memory-utilization 0.95` | the weights fill most of the 2 × 12 GB |
| `--speculative-config` mtp, 5 tokens | as on one card: drafts are checked in one pass |
## Pitfalls
- A slot wired to the chipset (often the second x16 slot, electrically x4) slows every
layer. `lspci -vv` shows the link width of each card. Declare both in the run's
`--special-notes`: bench.sh reads only the first card.
- Two cards draw twice the power, but bench.sh samples one. The energy figure is left out.
+22
View File
@@ -0,0 +1,22 @@
+++
model = "Qwen3.8-27B"
gpu = "Arc B580"
[[tried]]
recipe = "arc-b580/qwen3.8-27b/2x-llama.cpp-single-user"
change = "`-sm row` instead of `-sm layer`"
result = "261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580_quick"
note = "splits every layer: PCIe traffic per layer outweighs both cards working"
+++
# Qwen3.8-27B on Arc B580: what lost
<!-- cookbook:tried -->
Quick runs unless marked full: good for a direction, not for exact numbers.
| change | decode t/s | TTFT | peak t/s | vs. the recipe | run |
|---|---|---|---|---|---|
| `-sm row` instead of `-sm layer` — splits every layer: PCIe traffic per layer outweighs both cards working | 11.8 | 407 ms | 12 | -26% decode at batch 1 vs [2x-llama.cpp-single-user](2x-llama.cpp-single-user.md) | [2026-10-27](../results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580_quick/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580_quick.html) |
> **Demo data.** These runs are synthetic. Nothing here was measured.
<!-- /cookbook:tried -->
@@ -0,0 +1,510 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BetterBench — qwen3.8-27b</title>
<style>
:root {
color-scheme: light;
--page:#f9f9f7; --surface:#fcfcfb;
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
--s1:#2a78d6; --s2:#eb6834;
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
--tip-bg:#ffffff;
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--page:#0d0d0d; --surface:#1a1a19;
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
--s1:#3987e5; --s2:#d95926;
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
--tip-bg:#232322;
}
}
:root[data-theme="dark"] {
color-scheme: dark;
--page:#0d0d0d; --surface:#1a1a19;
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
--s1:#3987e5; --s2:#d95926;
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
--tip-bg:#232322;
}
* { box-sizing:border-box; }
body { background:var(--page); color:var(--ink); font-family:var(--sans);
line-height:1.55; margin:0; padding:32px 20px 72px; }
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
header { display:flex; flex-direction:column; gap:13px; }
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
text-transform:uppercase; color:var(--muted); }
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
letter-spacing:-.02em; text-wrap:balance; }
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
.chip code { font-family:var(--mono); font-size:12px; }
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
text-transform:uppercase; color:var(--muted); }
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
figure { margin:0; background:var(--surface); border:1px solid var(--border);
border-radius:10px; padding:18px 18px 14px;
display:flex; flex-direction:column; gap:2px; }
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
display:inline-flex; align-items:center; gap:6px; }
.chartbox { position:relative; width:100%; }
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
text { font-family:var(--mono); }
.tick { font-size:10.5px; fill:var(--muted); }
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
.dlabel { font-size:11px; font-weight:600; }
.gridline { stroke:var(--grid); stroke-width:1; }
.baseline { stroke:var(--axis); stroke-width:1; }
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
font-family:var(--mono); font-size:11.5px; color:var(--ink);
white-space:nowrap; min-width:132px; }
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
text-transform:uppercase; margin-bottom:5px; }
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
.tip b { font-weight:600; }
details { background:var(--surface); border:1px solid var(--border);
border-radius:10px; padding:0 18px; }
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
list-style:none; display:flex; align-items:center; gap:9px; }
summary::-webkit-details-marker { display:none; }
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
details[open] summary::before { content:"\25BE"; }
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
.tscroll { overflow-x:auto; padding-bottom:14px; }
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
font-variant-numeric:tabular-nums; margin-bottom:10px; }
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
padding:10px 0 8px; }
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
th:first-child, td:first-child { text-align:left; }
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
text-transform:uppercase; border-bottom:1px solid var(--axis); }
tbody tr + tr td { border-top:1px solid var(--grid); }
tbody td:first-child { color:var(--ink-2); }
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
padding-top:16px; }
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
noscript p { font-size:13px; color:var(--ink-2); }
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
</style>
</head>
<body>
<div class="wrap">
<header>
<div class="eyebrow">BetterBench 0.6.1 · 27 Oct 2026 · 10:00 · arc-demo</div>
<h1>qwen3.8-27b</h1>
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>qwen3.8-27b</span><span class="chip"><code>http://localhost:8080/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">20 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">16,384 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>submitter: demo</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>gpu: 2x Intel Arc B580 · 12 GB · driver 1.17.39395</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>pcie: Gen4 x8 · ReBAR on</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>power_limit: 190 W</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>host: AMD Ryzen 7 7700 · 64 GB RAM · Ubuntu 26.04 LTS · kernel 7.0.0-38-generic</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>engine: llama.cpp b11913-7aca0d2ea · 1 slots · image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>model_file: /models/Qwen3.8-27B-UD-Q4_K_M.gguf · 16.46 GB · standard: Qwen3.8-27B UD-Q4_K_M</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>mem_bw: 401 GB/s measured (torch copy, random, 1024 MiB)</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>parallel: tp 1 · pp 2</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>precision: weights UD-Q4_K_M · kv q8_0</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>launch: b 2048 · ub 512 · fa on · ctk q8_0 · ctv q8_0 · ngl 99 · np 1 · sm layer · ts 1,1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>env_flags: ZES_ENABLE_SYSMAN=1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>spec: none</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>thinking: default · reasoning seen</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>greedy_check: identical 3/3 · 1a3a131531b2</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>run: full · concurrency on · bench-standard 0.5.0 · betterbench 0.6.1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>special_notes: DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured</span></div>
</header>
<section class="tiles">
<div class="tile">
<span class="label">Combined decode</span>
<span class="val">15.9 <small>t/s</small></span>
<span class="sub">weighted across categories</span>
</div>
<div class="tile">
<span class="label">Combined ITL 1% low</span>
<span class="val">3.2 <small>t/s</small></span>
<span class="sub">the trustworthy tail metric</span>
</div>
<div class="tile">
<span class="label">Combined TTFT p50</span>
<span class="val">331 <small>ms</small></span>
<span class="sub">single-stream, batch = 1</span>
</div>
<div class="tile">
<span class="label">Aggregate @ 8 concurrent</span>
<span class="val">15.8 <small>t/s</small></span>
<span class="sub">48/48 ok</span>
</div>
<div class="tile">
<span class="label">Prefill @ 16,000 tok</span>
<span class="val">378 <small>t/s</small></span>
<span class="sub">median prompt processing</span>
</div>
</section>
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
<figure>
<figcaption>
<span class="t">Decode throughput by category</span>
<span class="d">Median per-pass decode t/s at batch = 1, 20 passes per category. The dashed line is the weighted combined score.</span>
</figcaption>
<div class="chartbox" id="cb-decode"></div>
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
</figure>
<figure>
<figcaption>
<span class="t">Inter-token latency range by category</span>
<span class="d">Each bar spans the 1% low to the 99% high instantaneous token rate, with a tick at the median. Wide bars stutter; narrow bars feel smooth.</span>
</figcaption>
<div class="legend"><span><span class="swatch" style="background:var(--s1-mid)"></span>1% low → 99% high</span><span><span class="swatch" style="background:var(--ink)"></span>median</span></div>
<div class="chartbox" id="cb-itl"></div>
</figure>
<figure>
<figcaption>
<span class="t">Aggregate throughput under concurrency</span>
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
</figcaption>
<div class="chartbox" id="cb-conc"></div>
</figure>
<figure>
<figcaption>
<span class="t">Time-to-first-token under concurrency</span>
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
</figcaption>
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
<div class="chartbox" id="cb-ttft"></div>
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
</figure>
<figure>
<figcaption>
<span class="t">Prompt processing throughput by depth</span>
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
</figcaption>
<div class="chartbox" id="cb-prefill"></div>
<p class="note">Skipped depths 32,000, 64,000 — deeper than the model's context window.</p>
</figure>
<details open>
<summary>Full numbers</summary>
<div class="tscroll">
<table>
<caption>Single-stream, batch = 1</caption>
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>ITL 1% low</th><th>ITL med</th><th>ITL 99% high</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
<tbody>
<tr><td>chat</td><td>20</td><td>327.1</td><td>355.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.4</td><td>7.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.0</td><td>0.3</td><td>1.4%</td></tr>
<tr><td>code</td><td>20</td><td>335.5</td><td>356.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.4</td><td>8.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.9</td><td>0.2</td><td>1.2%</td></tr>
<tr><td>file edit</td><td>20</td><td>332.6</td><td>347.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.7</td><td>7.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.9</td><td>0.4</td><td>1.4%</td></tr>
<tr><td>json</td><td>20</td><td>326.8</td><td>349.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.5</td><td>7.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.9</td><td>0.1</td><td>0.8%</td></tr>
<tr><td>math</td><td>20</td><td>333.5</td><td>347.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.5</td><td>7.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.8</td><td>0.3</td><td>1.1%</td></tr>
<tr><td>prose</td><td>20</td><td>334.3</td><td>348.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.7</td><td>7.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.9</td><td>0.3</td><td>1.3%</td></tr>
<tr><td>reasoning</td><td>20</td><td>325.5</td><td>351.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.6</td><td>7.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.8</td><td>0.2</td><td>1.2%</td></tr>
<tr><td>summarization</td><td>20</td><td>326.2</td><td>349.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.3</td><td>7.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.9</td><td>0.2</td><td>1.2%</td></tr>
</tbody>
</table>
<table>
<caption>Concurrency sweep</caption>
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
<tbody>
<tr><td>1</td><td>48/48</td><td>15.1</td><td>331.0</td><td>363.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.2</td></tr>
<tr><td>2</td><td>48/48</td><td>15.8</td><td>432.4</td><td>479.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>7.9</td></tr>
<tr><td>4</td><td>48/48</td><td>16.0</td><td>532.1</td><td>587.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.0</td></tr>
<tr><td>8</td><td>48/48</td><td>15.8</td><td>623.6</td><td>670.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.0</td></tr>
</tbody>
</table>
<table>
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
<tbody>
<tr><td>chat</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>code</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>file edit</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>json</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>math</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>prose</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>reasoning</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>summarization</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
</tbody>
</table>
<table>
<caption>Prefill sweep · cold prefix cache</caption>
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
<tbody>
<tr><td>2,000</td><td>1,548</td><td>2,501.5</td><td>606.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>618.7</td><td>623.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>8,000</td><td>6,201</td><td>13,501.9</td><td>452.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>459.2</td><td>463.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>16,000</td><td>12,400</td><td>32,796.0</td><td>375.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>378.2</td><td>382.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>32,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
</tbody>
</table>
</div>
</details>
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 160/160 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 23 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
</div>
<script>
"use strict";
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [20, 20, 20, 20, 20, 20, 20, 20], "decode": [15.960193419015832, 15.89265104418804, 15.868968912921186, 15.929746575577045, 15.831064126085515, 15.92601811558836, 15.8374304316325, 15.90110651081093], "decodeIqr": [0.340627500021494, 0.20480663988552728, 0.35227883175796393, 0.14729925635507435, 0.29254593478377267, 0.2602934809420887, 0.2317344609883918, 0.23594430936851118], "cv": [1.4047793957090433, 1.2357365356954761, 1.3827958245939889, 0.8412848464317659, 1.1410950444234054, 1.2899165916421855, 1.2475374442420286, 1.206722843606371], "itlLow": [3.147821707378494, 3.1519889049990546, 3.186032433810176, 3.233316088980859, 3.208315954955244, 3.219471362802228, 3.1783364586975176, 3.1704765226213496], "itlMed": [4.379494779088709, 4.375455847221078, 4.737772475227647, 4.533090543821683, 4.454871426115716, 4.676950496595833, 4.617765251617893, 4.3403790857083155], "itlHigh": [7.8004817044527766, 7.950790133820362, 7.831063511942915, 7.607414440134512, 7.898871138026626, 7.876287726529534, 7.860666831755981, 7.9067796812383015], "batched": false, "updP50": [228.345, 228.63, 211.07, 220.60500000000002, 224.48, 213.815, 216.555, 230.39499999999998], "updP99": [316.0595, 310.61490000000003, 311.7299, 307.475, 311.4163, 309.377, 313.68690000000004, 311.918], "tokPerUpd": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "ttft50": [327.14191128020605, 335.46855697268916, 332.5552617007074, 326.75328796483296, 333.54673305463626, 334.26204303240763, 325.53227526047147, 326.2123885818764], "combined": 15.890653645630934, "conc": {"levels": [1, 2, 4, 8], "agg": [15.107099297082621, 15.755425175606591, 16.031764558782783, 15.817544091734735], "t50": [331.00888321191985, 432.3892095449452, 532.1252929603477, 623.6474071625912], "t99": [363.23357748192586, 479.6888141783826, 587.041921579617, 670.4252572424301], "per": [15.230934262682636, 7.861068940815313, 4.043351305796412, 2.0024977700154163], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000, 8000, 16000], "tok": [1548.0, 6201.0, 12399.5], "low": [606.5601368155714, 452.5208182348335, 375.64402318153196], "med": [618.7351432242103, 459.19679683149604, 378.17143756550684], "high": [623.2997314980794, 463.74184860424356, 382.6951458918318], "t50": [2501.450662908018, 13501.877069308848, 32796.01595214613]}};
const NS = "http://www.w3.org/2000/svg";
const el = (n, a) => { const e = document.createElementNS(NS, n);
for (const k in a) e.setAttribute(k, a[k]); return e; };
const fmt = (v, d) => (v === null || v === undefined) ? "—"
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
const has = v => v !== null && v !== undefined;
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
const niceTop = v => { if (!(v > 0)) return 1;
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
return Math.ceil(v / (2 * p)) * 2 * p; };
const box = id => document.getElementById(id);
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
b.appendChild(t); return t; }
function showTip(tip, b, x, y, html) {
tip.innerHTML = html; tip.style.opacity = "1";
let left = x + 14;
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
tip.style.left = Math.max(0, left) + "px";
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
}
const row = (color, name, val) =>
`<div class="row"><span class="nm">${color
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
for (let k = 0; k <= (ticks || 4); k++) {
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
}
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
ay.textContent = yTitle; svg.appendChild(ay);
}
function xLabels(svg, labels, X, y) {
labels.forEach((lab, i) => {
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
t.textContent = lab; svg.appendChild(t);
});
}
/* --- grouped / single bars, zero-based --- */
function bars(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMax = o.yMax;
const Y = v => M.t + ih - (ih * v) / yMax;
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
const band = iw / n, ns = o.series.length, GAP = 2;
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
if (has(o.ref)) {
const y = Y(o.ref);
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
t.textContent = o.refLabel; svg.appendChild(t);
}
const tip = mkTip(b);
o.x.forEach((lab, i) => {
const cx = M.l + band * i + band / 2;
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
o.series.forEach((s, si) => {
const v = s.v[i]; if (!has(v)) return;
const x = start + si * (bw + GAP);
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
rx: 4, ry: 4, fill: s.color });
r.style.cursor = "crosshair";
const html = `<div class="th">${lab}</div>` +
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
(o.extra ? o.extra(i) : "");
r.addEventListener("pointerenter", () => {
const rc = svg.getBoundingClientRect();
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
});
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
svg.appendChild(r);
});
});
b.appendChild(svg);
}
/* --- floating range bars with a median tick --- */
function rangeBars(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMax = o.yMax;
const Y = v => M.t + ih - (ih * v) / yMax;
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
const band = iw / n, bw = Math.min(34, band - 26);
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
const tip = mkTip(b);
o.x.forEach((lab, i) => {
const lo = o.low[i], hi = o.high[i], md = o.med[i];
if (!has(lo) || !has(hi)) return;
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
rx: 4, ry: 4, fill: "var(--s1-mid)" });
r.style.cursor = "crosshair";
svg.appendChild(r);
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
stroke: "var(--ink)", "stroke-width": 2 }));
const html = `<div class="th">${lab}</div>` +
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
r.addEventListener("pointerenter", () => {
const rc = svg.getBoundingClientRect();
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
});
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
});
b.appendChild(svg);
}
/* --- line chart with optional band --- */
function line(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
xLabels(svg, o.x, X, M.t + ih + 20);
if (o.xTitle) {
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
t.textContent = o.xTitle; svg.appendChild(t);
}
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
}
svg.appendChild(el("path", {
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
"stroke-linejoin": "round", "stroke-linecap": "round" }));
o.v.forEach((v, i) => svg.appendChild(el("circle", {
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
svg.appendChild(cross);
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
svg.appendChild(hit);
b.appendChild(svg);
const tip = mkTip(b);
hit.addEventListener("pointermove", ev => {
const rc = svg.getBoundingClientRect();
const px = ((ev.clientX - rc.left) / rc.width) * W;
let i = 0, best = Infinity;
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
});
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
}
/* ------------------------------ build ------------------------------ */
if (D.cats.length) {
bars("cb-decode", {
aria: "Median decode throughput per category.",
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
yMax: niceTop(maxOf([D.decode])), height: 350,
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
tipVal: v => fmt(v, 1) + " t/s",
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
row(null, "CV", fmt(D.cv[i], 1) + "%") +
row(null, "passes", D.runs[i])
});
if (D.batched) {
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
floating between them collapses the p50 end onto the axis. */
bars("cb-itl", {
aria: "Stream-update gap p50 and p99 by category.",
x: D.cats, yTitle: "UPDATE GAP (MS)",
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
tipVal: v => fmt(v, 1) + " ms",
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
row(null, "passes", D.runs[i])
});
} else {
rangeBars("cb-itl", {
aria: "Inter-token latency range per category, 1% low to 99% high.",
x: D.cats, yTitle: "INSTANTANEOUS T/S",
yMax: niceTop(maxOf([D.itlHigh])),
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
tipVal: v => fmt(v, 1) + " t/s",
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
});
}
}
if (D.conc.levels.length > 1) {
line("cb-conc", {
aria: "Aggregate throughput as concurrency rises.",
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
v: D.conc.agg,
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
});
bars("cb-ttft", {
aria: "TTFT p50 and p99 by concurrency level.",
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
tipVal: v => fmt(v, 1) + " ms",
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
});
}
if (D.pre.depths.length > 1) {
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
const pad = (hi - lo) * 0.25 || hi * 0.1;
line("cb-prefill", {
aria: "Prefill throughput by input depth.",
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
yMin: Math.max(0, lo - pad), yMax: hi + pad,
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
+ fmt(D.pre.tok[i], 0) + " actual tok",
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
row(null, "median", fmt(D.pre.med[i], 1)) +
row(null, "1% low", fmt(D.pre.low[i], 1)) +
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
});
}
</script>
</body>
</html>
@@ -0,0 +1 @@
Synthetic result made by tools/demo/make_demo.py. Nothing here was measured. Delete this folder once real results replace it.
@@ -0,0 +1,30 @@
DEMO: synthetic run, no BetterBench output. Progress lines as BetterBench prints them:
[single] chat: warmup 3 + 20 runs
[single] code: warmup 3 + 20 runs
[single] file_edit: warmup 3 + 20 runs
[single] json: warmup 3 + 20 runs
[single] math: warmup 3 + 20 runs
[single] prose: warmup 3 + 20 runs
[single] reasoning: warmup 3 + 20 runs
[single] summarization: warmup 3 + 20 runs
[prefill] depth ~2000 tok: warmup 2 + 8
[prefill] depth ~8000 tok: warmup 2 + 8
[prefill] depth ~16000 tok: warmup 2 + 8
[prefill] skip depth ~32000: needs more context than 16384
[prefill] skip depth ~64000: needs more context than 16384
[concurrency] level 1: 48 requests
[concurrency] level 2: 48 requests
[concurrency] level 4: 48 requests
[concurrency] level 8: 48 requests
qwen3.8-27b · llama.cpp b11913-7aca0d2ea · 1 slots · image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000
2x Intel Arc B580 · 12 GB · driver 1.17.39395 · 190 W limit
full · concurrency on · bench-standard 0.5.0 · betterbench 0.6.1 · greedy identical 3/3 · 1a3a131531b2
decode (batch 1) 15.9 t/s TTFT p50 330 ms
concurrency 1: 15 t/s 2: 16 t/s 4: 16 t/s 8: 16 t/s
prefill 2k: 619 t/s 8k: 459 t/s 16k: 378 t/s
bandwidth 261 GB/s effective = 65% of 401 GB/s (weights 16.46 GB, stored files)
power avg 107.1 W, peak 190 W · clock avg 2766 MHz (2550-2850)
energy decode 6.045 J/tok at 95.0 W · prefill 448.634 J/1k tok
energy by conc. 1: 6.287 J/tok 2: 6.757 J/tok 4: 7.349 J/tok 8: 8.161 J/tok
energy (total) 1117.9 kJ, 7.671 J per output token over the whole run
@@ -0,0 +1,21 @@
{
"temperature": 0.7,
"top_p": 0.95,
"top_k": 20,
"greedy": false,
"warmup": 3,
"runs_per_category": 20,
"unique_nonce": true,
"run_concurrency": true,
"concurrency_levels": [1, 2, 4, 8],
"concurrency_requests": 48,
"weights": {
"code": 0.30, "reasoning": 0.20, "prose": 0.15,
"json": 0.15, "file_edit": 0.10, "summarization": 0.10
},
"conf": 0.95,
"target_mde_pct": 1.0,
"ab_max_pairs": 200,
"ab_min_pairs": 12,
"timeout_s": 600.0
}
@@ -0,0 +1,233 @@
{
"bench_standard": "0.5.0",
"created": "2026-10-27T10:00:00+0200",
"endpoint": "http://localhost:8080/v1",
"model": "qwen3.8-27b",
"name": "qwen3.8-27b_llama.cpp_2x-arc-b580",
"notes": {
"submitter": "demo",
"gpu": "2x Intel Arc B580 \u00b7 12 GB \u00b7 driver 1.17.39395",
"pcie": "Gen4 x8 \u00b7 ReBAR on",
"power_limit": "190 W",
"host": "AMD Ryzen 7 7700 \u00b7 64 GB RAM \u00b7 Ubuntu 26.04 LTS \u00b7 kernel 7.0.0-38-generic",
"engine": "llama.cpp b11913-7aca0d2ea \u00b7 1 slots \u00b7 image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"model_file": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf \u00b7 16.46 GB \u00b7 standard: Qwen3.8-27B UD-Q4_K_M",
"mem_bw": "401 GB/s measured (torch copy, random, 1024 MiB)",
"parallel": "tp 1 \u00b7 pp 2",
"precision": "weights UD-Q4_K_M \u00b7 kv q8_0",
"launch": "b 2048 \u00b7 ub 512 \u00b7 fa on \u00b7 ctk q8_0 \u00b7 ctv q8_0 \u00b7 ngl 99 \u00b7 np 1 \u00b7 sm layer \u00b7 ts 1,1",
"env_flags": "ZES_ENABLE_SYSMAN=1",
"spec": "none",
"thinking": "default \u00b7 reasoning seen",
"greedy_check": "identical 3/3 \u00b7 1a3a131531b2",
"run": "full \u00b7 concurrency on \u00b7 bench-standard 0.5.0 \u00b7 betterbench 0.6.1",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured"
},
"mandatory": {
"submitter": "demo",
"tp": "1",
"pp": "2",
"quant": "UD-Q4_K_M",
"kv": "q8_0",
"spec": "none",
"thinking": "default",
"power_limit": "190",
"power_limit_source": "detected",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured",
"betterbench": "0.6.1",
"betterbench_build": "v0.6.1",
"bench_standard": "0.5.0",
"run_mode": "full",
"concurrency": "on"
},
"collected": {
"gpu_vendor": "intel",
"gpu_model": "Arc B580",
"gpu_count": "2",
"gpu_vram_gb": "12",
"gpu_driver": "1.17.39395",
"gpu_power_limit_w": "190",
"gpu_bdf": "0000:03:00.0",
"pcie_link": "Gen4 x8",
"pcie_max": "Gen4 x8",
"rebar": "on",
"cpu_model": "AMD Ryzen 7 7700",
"ram_gb": "64",
"os": "Ubuntu 26.04 LTS",
"kernel": "7.0.0-38-generic",
"virt": "none",
"proxy": "none",
"engine": "llama.cpp",
"engine_version": "b11913-7aca0d2ea",
"engine_slots": "1",
"engine_image": "ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"model_file": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf",
"model_bytes": "16460000000",
"model_sha256": "322e194ff79741c7baa497c240f677f54b201b0efab44ca8e50f122b39123482",
"ctx": "16384",
"gpu_mem_bw_gbs": "401",
"gpu_mem_bw_tool": "torch copy, random, 1024 MiB"
},
"measured": {
"greedy_check": "identical",
"greedy_runs": "3",
"greedy_hash": "1a3a131531b2",
"greedy_reasoning": "yes"
},
"launch": {
"engine": "llama.cpp",
"settings": {
"b": "2048",
"ub": "512",
"fa": "on",
"ctk": "q8_0",
"ctv": "q8_0",
"ngl": "99",
"np": "1",
"sm": "layer",
"ts": "1,1"
},
"env": {
"ZES_ENABLE_SYSMAN": "1"
},
"flags": {
"--rm": true,
"--name": "llm",
"--device": "/dev/dri",
"-v": "/models:/models",
"-p": "8080:8080",
"-m": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf",
"--alias": "qwen3.8-27b",
"-ngl": "99",
"-sm": "layer",
"-ts": "1,1",
"-c": "16384",
"-np": "1",
"-fa": "on",
"-ctk": "q8_0",
"-ctv": "q8_0",
"-b": "2048",
"-ub": "512",
"--host": "0.0.0.0",
"--port": "8080"
}
},
"server_cmd_file": "server-cmd.txt",
"server_cmd_source": "file:server-cmd.txt",
"betterbench_argv": [
"betterbench",
"run",
"--no-update-check",
"--endpoint",
"http://localhost:8080/v1",
"--model",
"qwen3.8-27b",
"--config",
"arc-b580/results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580/config.json",
"--name",
"qwen3.8-27b_llama.cpp_2x-arc-b580",
"--out",
"arc-b580/results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580.json",
"--max-model-len",
"16384",
"--note",
"submitter=demo",
"--note",
"gpu=2x Intel Arc B580 \u00b7 12 GB \u00b7 driver 1.17.39395",
"--note",
"pcie=Gen4 x8 \u00b7 ReBAR on",
"--note",
"power_limit=190 W",
"--note",
"host=AMD Ryzen 7 7700 \u00b7 64 GB RAM \u00b7 Ubuntu 26.04 LTS \u00b7 kernel 7.0.0-38-generic",
"--note",
"engine=llama.cpp b11913-7aca0d2ea \u00b7 1 slots \u00b7 image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"--note",
"model_file=/models/Qwen3.8-27B-UD-Q4_K_M.gguf \u00b7 16.46 GB \u00b7 standard: Qwen3.8-27B UD-Q4_K_M",
"--note",
"mem_bw=401 GB/s measured (torch copy, random, 1024 MiB)",
"--note",
"parallel=tp 1 \u00b7 pp 2",
"--note",
"precision=weights UD-Q4_K_M \u00b7 kv q8_0",
"--note",
"launch=b 2048 \u00b7 ub 512 \u00b7 fa on \u00b7 ctk q8_0 \u00b7 ctv q8_0 \u00b7 ngl 99 \u00b7 np 1 \u00b7 sm layer \u00b7 ts 1,1",
"--note",
"env_flags=ZES_ENABLE_SYSMAN=1",
"--note",
"spec=none",
"--note",
"thinking=default \u00b7 reasoning seen",
"--note",
"greedy_check=identical 3/3 \u00b7 1a3a131531b2",
"--note",
"run=full \u00b7 concurrency on \u00b7 bench-standard 0.5.0 \u00b7 betterbench 0.6.1",
"--note",
"special_notes=DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured"
],
"post_run": {
"wall_s": 10436.8,
"energy": {
"joules": 1117932,
"source": "energy counter",
"sampled_s": 10436.0,
"avg_w": 107.1,
"peak_w": 190.0,
"output_tokens": 145740,
"j_per_output_token": 7.671,
"avg_mhz": 2766,
"min_mhz": 2550,
"max_mhz": 2850,
"clock_samples": "5219/5219",
"phases": {
"decode": {
"joules": 479275,
"avg_w": 95.0,
"tokens_incl_warmup_est": 79281,
"j_per_token": 6.045
},
"prefill": {
"joules": 90393,
"avg_w": 184.2,
"tokens_incl_warmup_est": 201485,
"j_per_1k_tokens": 448.634
},
"concurrency": {
"1": {
"joules": 120712,
"avg_w": 95.0,
"tokens_incl_warmup_est": 19200,
"j_per_token": 6.287
},
"2": {
"joules": 129742,
"avg_w": 106.5,
"tokens_incl_warmup_est": 19200,
"j_per_token": 6.757
},
"4": {
"joules": 141110,
"avg_w": 117.8,
"tokens_incl_warmup_est": 19200,
"j_per_token": 7.349
},
"8": {
"joules": 156699,
"avg_w": 129.1,
"tokens_incl_warmup_est": 19200,
"j_per_token": 8.161
}
}
}
},
"roofline": {
"decode_tps_median": 15.88,
"weight_bytes": 16460000000,
"weight_source": "stored files",
"mem_bw_gbs": 401.0,
"gpus": 1,
"effective_gbs": 261.4,
"pct_of_mem_bw": 65.2
}
}
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,6 @@
docker run --rm --name llm --device /dev/dri -v /models:/models -p 8080:8080 \
-e ZES_ENABLE_SYSMAN=1 \
ghcr.io/ggml-org/llama.cpp:server-intel@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
-m /models/Qwen3.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
-ngl 99 -sm layer -ts 1,1 -c 16384 -np 1 -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 \
--host 0.0.0.0 --port 8080
@@ -0,0 +1,17 @@
1794368800.000 [single] chat: warmup 3 + 20 runs
1794369096.708 [single] code: warmup 3 + 20 runs
1794369971.159 [single] file_edit: warmup 3 + 20 runs
1794370395.373 [single] json: warmup 3 + 20 runs
1794370661.685 [single] math: warmup 3 + 20 runs
1794371394.997 [single] prose: warmup 3 + 20 runs
1794372701.124 [single] reasoning: warmup 3 + 20 runs
1794373577.282 [single] summarization: warmup 3 + 20 runs
1794373845.110 [prefill] depth ~2000 tok: warmup 2 + 8
1794373871.179 [prefill] depth ~8000 tok: warmup 2 + 8
1794374007.365 [prefill] depth ~16000 tok: warmup 2 + 8
1794374335.815 [prefill] skip depth ~32000: needs more context than 16384
1794374335.815 [prefill] skip depth ~64000: needs more context than 16384
1794374335.815 [concurrency] level 1: 48 requests
1794375606.741 [concurrency] level 2: 48 requests
1794376825.369 [concurrency] level 4: 48 requests
1794378022.991 [concurrency] level 8: 48 requests
1 1794368800.000 [single] chat: warmup 3 + 20 runs
2 1794369096.708 [single] code: warmup 3 + 20 runs
3 1794369971.159 [single] file_edit: warmup 3 + 20 runs
4 1794370395.373 [single] json: warmup 3 + 20 runs
5 1794370661.685 [single] math: warmup 3 + 20 runs
6 1794371394.997 [single] prose: warmup 3 + 20 runs
7 1794372701.124 [single] reasoning: warmup 3 + 20 runs
8 1794373577.282 [single] summarization: warmup 3 + 20 runs
9 1794373845.110 [prefill] depth ~2000 tok: warmup 2 + 8
10 1794373871.179 [prefill] depth ~8000 tok: warmup 2 + 8
11 1794374007.365 [prefill] depth ~16000 tok: warmup 2 + 8
12 1794374335.815 [prefill] skip depth ~32000: needs more context than 16384
13 1794374335.815 [prefill] skip depth ~64000: needs more context than 16384
14 1794374335.815 [concurrency] level 1: 48 requests
15 1794375606.741 [concurrency] level 2: 48 requests
16 1794376825.369 [concurrency] level 4: 48 requests
17 1794378022.991 [concurrency] level 8: 48 requests
@@ -0,0 +1,505 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BetterBench — qwen3.8-27b</title>
<style>
:root {
color-scheme: light;
--page:#f9f9f7; --surface:#fcfcfb;
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
--s1:#2a78d6; --s2:#eb6834;
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
--tip-bg:#ffffff;
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--page:#0d0d0d; --surface:#1a1a19;
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
--s1:#3987e5; --s2:#d95926;
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
--tip-bg:#232322;
}
}
:root[data-theme="dark"] {
color-scheme: dark;
--page:#0d0d0d; --surface:#1a1a19;
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
--s1:#3987e5; --s2:#d95926;
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
--tip-bg:#232322;
}
* { box-sizing:border-box; }
body { background:var(--page); color:var(--ink); font-family:var(--sans);
line-height:1.55; margin:0; padding:32px 20px 72px; }
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
header { display:flex; flex-direction:column; gap:13px; }
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
text-transform:uppercase; color:var(--muted); }
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
letter-spacing:-.02em; text-wrap:balance; }
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
.chip code { font-family:var(--mono); font-size:12px; }
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
text-transform:uppercase; color:var(--muted); }
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
figure { margin:0; background:var(--surface); border:1px solid var(--border);
border-radius:10px; padding:18px 18px 14px;
display:flex; flex-direction:column; gap:2px; }
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
display:inline-flex; align-items:center; gap:6px; }
.chartbox { position:relative; width:100%; }
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
text { font-family:var(--mono); }
.tick { font-size:10.5px; fill:var(--muted); }
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
.dlabel { font-size:11px; font-weight:600; }
.gridline { stroke:var(--grid); stroke-width:1; }
.baseline { stroke:var(--axis); stroke-width:1; }
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
font-family:var(--mono); font-size:11.5px; color:var(--ink);
white-space:nowrap; min-width:132px; }
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
text-transform:uppercase; margin-bottom:5px; }
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
.tip b { font-weight:600; }
details { background:var(--surface); border:1px solid var(--border);
border-radius:10px; padding:0 18px; }
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
list-style:none; display:flex; align-items:center; gap:9px; }
summary::-webkit-details-marker { display:none; }
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
details[open] summary::before { content:"\25BE"; }
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
.tscroll { overflow-x:auto; padding-bottom:14px; }
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
font-variant-numeric:tabular-nums; margin-bottom:10px; }
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
padding:10px 0 8px; }
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
th:first-child, td:first-child { text-align:left; }
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
text-transform:uppercase; border-bottom:1px solid var(--axis); }
tbody tr + tr td { border-top:1px solid var(--grid); }
tbody td:first-child { color:var(--ink-2); }
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
padding-top:16px; }
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
noscript p { font-size:13px; color:var(--ink-2); }
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
</style>
</head>
<body>
<div class="wrap">
<header>
<div class="eyebrow">BetterBench 0.6.1 · 27 Oct 2026 · 10:00 · arc-demo</div>
<h1>qwen3.8-27b</h1>
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>qwen3.8-27b</span><span class="chip"><code>http://localhost:8080/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">5 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">16,384 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>submitter: demo</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>gpu: 2x Intel Arc B580 · 12 GB · driver 1.17.39395</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>pcie: Gen4 x8 · ReBAR on</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>power_limit: 190 W</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>host: AMD Ryzen 7 7700 · 64 GB RAM · Ubuntu 26.04 LTS · kernel 7.0.0-38-generic</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>engine: llama.cpp b11913-7aca0d2ea · 1 slots · image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>model_file: /models/Qwen3.8-27B-UD-Q4_K_M.gguf · 16.46 GB · standard: Qwen3.8-27B UD-Q4_K_M</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>mem_bw: 401 GB/s measured (torch copy, random, 1024 MiB)</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>parallel: tp 2 · pp 1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>precision: weights UD-Q4_K_M · kv q8_0</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>launch: b 2048 · ub 512 · fa on · ctk q8_0 · ctv q8_0 · ngl 99 · np 1 · sm row · ts 1,1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>env_flags: ZES_ENABLE_SYSMAN=1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>spec: none</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>thinking: default · reasoning seen</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>greedy_check: identical 3/3 · 1a3a131531b2</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>run: quick · concurrency on · bench-standard 0.5.0 · betterbench 0.6.1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>special_notes: DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured</span></div>
</header>
<section class="tiles">
<div class="tile">
<span class="label">Combined decode</span>
<span class="val">11.8 <small>t/s</small></span>
<span class="sub">weighted across categories</span>
</div>
<div class="tile">
<span class="label">Combined ITL 1% low</span>
<span class="val">2.4 <small>t/s</small></span>
<span class="sub">the trustworthy tail metric</span>
</div>
<div class="tile">
<span class="label">Combined TTFT p50</span>
<span class="val">408 <small>ms</small></span>
<span class="sub">single-stream, batch = 1</span>
</div>
<div class="tile">
<span class="label">Aggregate @ 4 concurrent</span>
<span class="val">12.1 <small>t/s</small></span>
<span class="sub">12/12 ok</span>
</div>
<div class="tile">
<span class="label">Prefill @ 8,000 tok</span>
<span class="val">354 <small>t/s</small></span>
<span class="sub">median prompt processing</span>
</div>
</section>
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
<figure>
<figcaption>
<span class="t">Decode throughput by category</span>
<span class="d">Median per-pass decode t/s at batch = 1, 5 passes per category. The dashed line is the weighted combined score.</span>
</figcaption>
<div class="chartbox" id="cb-decode"></div>
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
</figure>
<figure>
<figcaption>
<span class="t">Inter-token latency range by category</span>
<span class="d">Each bar spans the 1% low to the 99% high instantaneous token rate, with a tick at the median. Wide bars stutter; narrow bars feel smooth.</span>
</figcaption>
<div class="legend"><span><span class="swatch" style="background:var(--s1-mid)"></span>1% low → 99% high</span><span><span class="swatch" style="background:var(--ink)"></span>median</span></div>
<div class="chartbox" id="cb-itl"></div>
</figure>
<figure>
<figcaption>
<span class="t">Aggregate throughput under concurrency</span>
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
</figcaption>
<div class="chartbox" id="cb-conc"></div>
</figure>
<figure>
<figcaption>
<span class="t">Time-to-first-token under concurrency</span>
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
</figcaption>
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
<div class="chartbox" id="cb-ttft"></div>
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
</figure>
<figure>
<figcaption>
<span class="t">Prompt processing throughput by depth</span>
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
</figcaption>
<div class="chartbox" id="cb-prefill"></div>
</figure>
<details open>
<summary>Full numbers</summary>
<div class="tscroll">
<table>
<caption>Single-stream, batch = 1</caption>
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>ITL 1% low</th><th>ITL med</th><th>ITL 99% high</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
<tbody>
<tr><td>chat</td><td>5</td><td>410.6</td><td>427.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.5</td><td>5.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.9</td><td>0.1</td><td>1.4%</td></tr>
<tr><td>code</td><td>5</td><td>401.8</td><td>425.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.5</td><td>5.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.8</td><td>0.1</td><td>0.7%</td></tr>
<tr><td>file edit</td><td>5</td><td>399.5</td><td>416.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.2</td><td>5.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.9</td><td>0.1</td><td>1.2%</td></tr>
<tr><td>json</td><td>5</td><td>430.5</td><td>441.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.1</td><td>5.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.8</td><td>0.1</td><td>0.6%</td></tr>
<tr><td>math</td><td>5</td><td>399.5</td><td>427.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.8</td><td>5.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.7</td><td>0.1</td><td>0.8%</td></tr>
<tr><td>prose</td><td>5</td><td>403.4</td><td>436.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.9</td><td>5.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.8</td><td>0.2</td><td>1.0%</td></tr>
<tr><td>reasoning</td><td>5</td><td>406.5</td><td>422.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.0</td><td>5.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.9</td><td>0.1</td><td>1.1%</td></tr>
<tr><td>summarization</td><td>5</td><td>407.0</td><td>423.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.8</td><td>5.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.8</td><td>0.1</td><td>0.6%</td></tr>
</tbody>
</table>
<table>
<caption>Concurrency sweep</caption>
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
<tbody>
<tr><td>1</td><td>12/12</td><td>11.0</td><td>427.8</td><td>453.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>11.0</td></tr>
<tr><td>4</td><td>12/12</td><td>12.1</td><td>654.3</td><td>704.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.1</td></tr>
</tbody>
</table>
<table>
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
<tbody>
<tr><td>chat</td><td>5/5</td><td>50%</td><td>—</td><td>0/5</td></tr>
<tr><td>code</td><td>5/5</td><td>50%</td><td>—</td><td>0/5</td></tr>
<tr><td>file edit</td><td>5/5</td><td>50%</td><td>—</td><td>0/5</td></tr>
<tr><td>json</td><td>5/5</td><td>50%</td><td>—</td><td>0/5</td></tr>
<tr><td>math</td><td>5/5</td><td>50%</td><td>—</td><td>0/5</td></tr>
<tr><td>prose</td><td>5/5</td><td>50%</td><td>—</td><td>0/5</td></tr>
<tr><td>reasoning</td><td>5/5</td><td>50%</td><td>—</td><td>0/5</td></tr>
<tr><td>summarization</td><td>5/5</td><td>50%</td><td>—</td><td>0/5</td></tr>
</tbody>
</table>
<table>
<caption>Prefill sweep · cold prefix cache</caption>
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
<tbody>
<tr><td>2,000</td><td>1,548</td><td>3,228.8</td><td>478.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>479.4</td><td>482.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>8,000</td><td>6,198</td><td>17,523.5</td><td>350.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>353.8</td><td>353.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
</tbody>
</table>
</div>
</details>
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 40/40 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 20 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
</div>
<script>
"use strict";
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [5, 5, 5, 5, 5, 5, 5, 5], "decode": [11.867226289490638, 11.815673508108414, 11.85196638914871, 11.758521330615237, 11.703593730904563, 11.821325800284141, 11.860748701975115, 11.782660679999085], "decodeIqr": [0.09307490316804845, 0.08363671232504721, 0.07329295880315279, 0.10060356957870198, 0.08710746528884528, 0.17169721813134942, 0.06303824596036911, 0.06520522235278037], "cv": [1.3611319446020014, 0.7078886502364058, 1.2161549660712352, 0.5650754192364533, 0.8378897028281328, 0.9597854990516386, 1.127782831838114, 0.55717470259595], "itlLow": [2.328342918345014, 2.4794822840990802, 2.4059282071023, 2.390571585666133, 2.3608848596453953, 2.4052916416115453, 2.4092902231002746, 2.418028822903569], "itlMed": [3.4654018248985397, 3.4584580172703427, 3.179632382717468, 3.126273000100259, 3.8246743596344546, 3.874996758887521, 2.979412716906925, 3.8234111756751816], "itlHigh": [5.798124071293341, 5.735069236649155, 5.488490867216782, 5.538947419083878, 5.783417734778174, 5.92587134000536, 4.9908207698513705, 5.532422147584901], "batched": false, "updP50": [288.61, 289.155, 314.53, 319.895, 261.56, 258.095, 335.75, 261.55], "updP99": [423.9017, 399.7256, 415.3529, 416.4163, 418.0919, 409.8485, 413.73470000000003, 409.25640000000004], "tokPerUpd": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "ttft50": [410.5719259648739, 401.8094029795466, 399.4592349058702, 430.4959956964226, 399.5229274104874, 403.4422994349733, 406.4854814494419, 406.973022004472], "combined": 11.817291569377234, "conc": {"levels": [1, 4], "agg": [10.968956282321512, 12.143001801882098], "t50": [427.82989301983815, 654.2985283951357], "t99": [453.81296441146, 704.0702950340888], "per": [10.976021623143852, 3.090561220353182], "ok": [12, 12], "req": [12, 12]}, "pre": {"depths": [2000, 8000], "tok": [1548.0, 6198.0], "low": [478.8064303467125, 350.7750991328781], "med": [479.43178587926826, 353.7527424111778], "high": [482.81449475155785, 353.87949168843295], "t50": [3228.8222132810806, 17523.53906219251]}};
const NS = "http://www.w3.org/2000/svg";
const el = (n, a) => { const e = document.createElementNS(NS, n);
for (const k in a) e.setAttribute(k, a[k]); return e; };
const fmt = (v, d) => (v === null || v === undefined) ? "—"
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
const has = v => v !== null && v !== undefined;
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
const niceTop = v => { if (!(v > 0)) return 1;
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
return Math.ceil(v / (2 * p)) * 2 * p; };
const box = id => document.getElementById(id);
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
b.appendChild(t); return t; }
function showTip(tip, b, x, y, html) {
tip.innerHTML = html; tip.style.opacity = "1";
let left = x + 14;
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
tip.style.left = Math.max(0, left) + "px";
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
}
const row = (color, name, val) =>
`<div class="row"><span class="nm">${color
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
for (let k = 0; k <= (ticks || 4); k++) {
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
}
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
ay.textContent = yTitle; svg.appendChild(ay);
}
function xLabels(svg, labels, X, y) {
labels.forEach((lab, i) => {
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
t.textContent = lab; svg.appendChild(t);
});
}
/* --- grouped / single bars, zero-based --- */
function bars(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMax = o.yMax;
const Y = v => M.t + ih - (ih * v) / yMax;
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
const band = iw / n, ns = o.series.length, GAP = 2;
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
if (has(o.ref)) {
const y = Y(o.ref);
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
t.textContent = o.refLabel; svg.appendChild(t);
}
const tip = mkTip(b);
o.x.forEach((lab, i) => {
const cx = M.l + band * i + band / 2;
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
o.series.forEach((s, si) => {
const v = s.v[i]; if (!has(v)) return;
const x = start + si * (bw + GAP);
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
rx: 4, ry: 4, fill: s.color });
r.style.cursor = "crosshair";
const html = `<div class="th">${lab}</div>` +
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
(o.extra ? o.extra(i) : "");
r.addEventListener("pointerenter", () => {
const rc = svg.getBoundingClientRect();
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
});
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
svg.appendChild(r);
});
});
b.appendChild(svg);
}
/* --- floating range bars with a median tick --- */
function rangeBars(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMax = o.yMax;
const Y = v => M.t + ih - (ih * v) / yMax;
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
const band = iw / n, bw = Math.min(34, band - 26);
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
const tip = mkTip(b);
o.x.forEach((lab, i) => {
const lo = o.low[i], hi = o.high[i], md = o.med[i];
if (!has(lo) || !has(hi)) return;
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
rx: 4, ry: 4, fill: "var(--s1-mid)" });
r.style.cursor = "crosshair";
svg.appendChild(r);
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
stroke: "var(--ink)", "stroke-width": 2 }));
const html = `<div class="th">${lab}</div>` +
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
r.addEventListener("pointerenter", () => {
const rc = svg.getBoundingClientRect();
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
});
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
});
b.appendChild(svg);
}
/* --- line chart with optional band --- */
function line(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
xLabels(svg, o.x, X, M.t + ih + 20);
if (o.xTitle) {
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
t.textContent = o.xTitle; svg.appendChild(t);
}
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
}
svg.appendChild(el("path", {
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
"stroke-linejoin": "round", "stroke-linecap": "round" }));
o.v.forEach((v, i) => svg.appendChild(el("circle", {
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
svg.appendChild(cross);
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
svg.appendChild(hit);
b.appendChild(svg);
const tip = mkTip(b);
hit.addEventListener("pointermove", ev => {
const rc = svg.getBoundingClientRect();
const px = ((ev.clientX - rc.left) / rc.width) * W;
let i = 0, best = Infinity;
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
});
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
}
/* ------------------------------ build ------------------------------ */
if (D.cats.length) {
bars("cb-decode", {
aria: "Median decode throughput per category.",
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
yMax: niceTop(maxOf([D.decode])), height: 350,
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
tipVal: v => fmt(v, 1) + " t/s",
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
row(null, "CV", fmt(D.cv[i], 1) + "%") +
row(null, "passes", D.runs[i])
});
if (D.batched) {
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
floating between them collapses the p50 end onto the axis. */
bars("cb-itl", {
aria: "Stream-update gap p50 and p99 by category.",
x: D.cats, yTitle: "UPDATE GAP (MS)",
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
tipVal: v => fmt(v, 1) + " ms",
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
row(null, "passes", D.runs[i])
});
} else {
rangeBars("cb-itl", {
aria: "Inter-token latency range per category, 1% low to 99% high.",
x: D.cats, yTitle: "INSTANTANEOUS T/S",
yMax: niceTop(maxOf([D.itlHigh])),
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
tipVal: v => fmt(v, 1) + " t/s",
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
});
}
}
if (D.conc.levels.length > 1) {
line("cb-conc", {
aria: "Aggregate throughput as concurrency rises.",
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
v: D.conc.agg,
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
});
bars("cb-ttft", {
aria: "TTFT p50 and p99 by concurrency level.",
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
tipVal: v => fmt(v, 1) + " ms",
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
});
}
if (D.pre.depths.length > 1) {
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
const pad = (hi - lo) * 0.25 || hi * 0.1;
line("cb-prefill", {
aria: "Prefill throughput by input depth.",
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
yMin: Math.max(0, lo - pad), yMax: hi + pad,
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
+ fmt(D.pre.tok[i], 0) + " actual tok",
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
row(null, "median", fmt(D.pre.med[i], 1)) +
row(null, "1% low", fmt(D.pre.low[i], 1)) +
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
});
}
</script>
</body>
</html>
@@ -0,0 +1 @@
Synthetic result made by tools/demo/make_demo.py. Nothing here was measured. Delete this folder once real results replace it.
@@ -0,0 +1,25 @@
DEMO: synthetic run, no BetterBench output. Progress lines as BetterBench prints them:
[single] chat: warmup 1 + 5 runs
[single] code: warmup 1 + 5 runs
[single] file_edit: warmup 1 + 5 runs
[single] json: warmup 1 + 5 runs
[single] math: warmup 1 + 5 runs
[single] prose: warmup 1 + 5 runs
[single] reasoning: warmup 1 + 5 runs
[single] summarization: warmup 1 + 5 runs
[prefill] depth ~2000 tok: warmup 1 + 3
[prefill] depth ~8000 tok: warmup 1 + 3
[concurrency] level 1: 12 requests
[concurrency] level 4: 12 requests
qwen3.8-27b · llama.cpp b11913-7aca0d2ea · 1 slots · image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000
2x Intel Arc B580 · 12 GB · driver 1.17.39395 · 190 W limit
quick · concurrency on · bench-standard 0.5.0 · betterbench 0.6.1 · greedy identical 3/3 · 1a3a131531b2
decode (batch 1) 11.8 t/s TTFT p50 407 ms
concurrency 1: 11 t/s 4: 12 t/s
prefill 2k: 479 t/s 8k: 354 t/s
bandwidth 194 GB/s effective = 24% of 802 GB/s (weights 16.46 GB, stored files)
power avg 94.2 W, peak 190 W · clock avg 2786 MHz (2550-2850)
energy decode 7.52 J/tok at 88.0 W · prefill 504.882 J/1k tok
energy by conc. 1: 8.056 J/tok 4: 8.944 J/tok
energy (total) 252.8 kJ, 9.42 J per output token over the whole run
@@ -0,0 +1,21 @@
{
"temperature": 0.7,
"top_p": 0.95,
"top_k": 20,
"greedy": false,
"warmup": 3,
"runs_per_category": 20,
"unique_nonce": true,
"run_concurrency": true,
"concurrency_levels": [1, 2, 4, 8],
"concurrency_requests": 48,
"weights": {
"code": 0.30, "reasoning": 0.20, "prose": 0.15,
"json": 0.15, "file_edit": 0.10, "summarization": 0.10
},
"conf": 0.95,
"target_mde_pct": 1.0,
"ab_max_pairs": 200,
"ab_min_pairs": 12,
"timeout_s": 600.0
}
@@ -0,0 +1,222 @@
{
"bench_standard": "0.5.0",
"created": "2026-10-27T10:00:00+0200",
"endpoint": "http://localhost:8080/v1",
"model": "qwen3.8-27b",
"name": "qwen3.8-27b_llama.cpp_2x-arc-b580",
"notes": {
"submitter": "demo",
"gpu": "2x Intel Arc B580 \u00b7 12 GB \u00b7 driver 1.17.39395",
"pcie": "Gen4 x8 \u00b7 ReBAR on",
"power_limit": "190 W",
"host": "AMD Ryzen 7 7700 \u00b7 64 GB RAM \u00b7 Ubuntu 26.04 LTS \u00b7 kernel 7.0.0-38-generic",
"engine": "llama.cpp b11913-7aca0d2ea \u00b7 1 slots \u00b7 image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"model_file": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf \u00b7 16.46 GB \u00b7 standard: Qwen3.8-27B UD-Q4_K_M",
"mem_bw": "401 GB/s measured (torch copy, random, 1024 MiB)",
"parallel": "tp 2 \u00b7 pp 1",
"precision": "weights UD-Q4_K_M \u00b7 kv q8_0",
"launch": "b 2048 \u00b7 ub 512 \u00b7 fa on \u00b7 ctk q8_0 \u00b7 ctv q8_0 \u00b7 ngl 99 \u00b7 np 1 \u00b7 sm row \u00b7 ts 1,1",
"env_flags": "ZES_ENABLE_SYSMAN=1",
"spec": "none",
"thinking": "default \u00b7 reasoning seen",
"greedy_check": "identical 3/3 \u00b7 1a3a131531b2",
"run": "quick \u00b7 concurrency on \u00b7 bench-standard 0.5.0 \u00b7 betterbench 0.6.1",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured"
},
"mandatory": {
"submitter": "demo",
"tp": 2,
"pp": 1,
"quant": "UD-Q4_K_M",
"kv": "q8_0",
"spec": "none",
"thinking": "default",
"power_limit": "190",
"power_limit_source": "detected",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured",
"betterbench": "0.6.1",
"betterbench_build": "v0.6.1",
"bench_standard": "0.5.0",
"run_mode": "quick",
"concurrency": "on"
},
"collected": {
"gpu_vendor": "intel",
"gpu_model": "Arc B580",
"gpu_count": "2",
"gpu_vram_gb": "12",
"gpu_driver": "1.17.39395",
"gpu_power_limit_w": "190",
"gpu_bdf": "0000:03:00.0",
"pcie_link": "Gen4 x8",
"pcie_max": "Gen4 x8",
"rebar": "on",
"cpu_model": "AMD Ryzen 7 7700",
"ram_gb": "64",
"os": "Ubuntu 26.04 LTS",
"kernel": "7.0.0-38-generic",
"virt": "none",
"proxy": "none",
"engine": "llama.cpp",
"engine_version": "b11913-7aca0d2ea",
"engine_slots": "1",
"engine_image": "ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"model_file": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf",
"model_bytes": "16460000000",
"model_sha256": "322e194ff79741c7baa497c240f677f54b201b0efab44ca8e50f122b39123482",
"ctx": "16384",
"gpu_mem_bw_gbs": "401",
"gpu_mem_bw_tool": "torch copy, random, 1024 MiB"
},
"measured": {
"greedy_check": "identical",
"greedy_runs": "3",
"greedy_hash": "1a3a131531b2",
"greedy_reasoning": "yes"
},
"launch": {
"engine": "llama.cpp",
"settings": {
"b": "2048",
"ub": "512",
"fa": "on",
"ctk": "q8_0",
"ctv": "q8_0",
"ngl": "99",
"np": "1",
"sm": "row",
"ts": "1,1"
},
"env": {
"ZES_ENABLE_SYSMAN": "1"
},
"flags": {
"--rm": true,
"--name": "llm",
"--device": "/dev/dri",
"-v": "/models:/models",
"-p": "8080:8080",
"-m": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf",
"--alias": "qwen3.8-27b",
"-ngl": "99",
"-sm": "row",
"-ts": "1,1",
"-c": "16384",
"-np": "1",
"-fa": "on",
"-ctk": "q8_0",
"-ctv": "q8_0",
"-b": "2048",
"-ub": "512",
"--host": "0.0.0.0",
"--port": "8080"
}
},
"server_cmd_file": "server-cmd.txt",
"server_cmd_source": "file:server-cmd.txt",
"betterbench_argv": [
"betterbench",
"run",
"--no-update-check",
"--endpoint",
"http://localhost:8080/v1",
"--model",
"qwen3.8-27b",
"--config",
"arc-b580/results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580_quick/config.json",
"--name",
"qwen3.8-27b_llama.cpp_2x-arc-b580",
"--out",
"arc-b580/results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580_quick/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580_quick.json",
"--quick",
"--max-model-len",
"16384",
"--note",
"submitter=demo",
"--note",
"gpu=2x Intel Arc B580 \u00b7 12 GB \u00b7 driver 1.17.39395",
"--note",
"pcie=Gen4 x8 \u00b7 ReBAR on",
"--note",
"power_limit=190 W",
"--note",
"host=AMD Ryzen 7 7700 \u00b7 64 GB RAM \u00b7 Ubuntu 26.04 LTS \u00b7 kernel 7.0.0-38-generic",
"--note",
"engine=llama.cpp b11913-7aca0d2ea \u00b7 1 slots \u00b7 image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"--note",
"model_file=/models/Qwen3.8-27B-UD-Q4_K_M.gguf \u00b7 16.46 GB \u00b7 standard: Qwen3.8-27B UD-Q4_K_M",
"--note",
"mem_bw=401 GB/s measured (torch copy, random, 1024 MiB)",
"--note",
"parallel=tp 2 \u00b7 pp 1",
"--note",
"precision=weights UD-Q4_K_M \u00b7 kv q8_0",
"--note",
"launch=b 2048 \u00b7 ub 512 \u00b7 fa on \u00b7 ctk q8_0 \u00b7 ctv q8_0 \u00b7 ngl 99 \u00b7 np 1 \u00b7 sm row \u00b7 ts 1,1",
"--note",
"env_flags=ZES_ENABLE_SYSMAN=1",
"--note",
"spec=none",
"--note",
"thinking=default \u00b7 reasoning seen",
"--note",
"greedy_check=identical 3/3 \u00b7 1a3a131531b2",
"--note",
"run=quick \u00b7 concurrency on \u00b7 bench-standard 0.5.0 \u00b7 betterbench 0.6.1",
"--note",
"special_notes=DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured"
],
"post_run": {
"wall_s": 2685.7,
"energy": {
"joules": 252780,
"source": "energy counter",
"sampled_s": 2684.0,
"avg_w": 94.2,
"peak_w": 190.0,
"output_tokens": 26835,
"j_per_output_token": 9.42,
"avg_mhz": 2786,
"min_mhz": 2550,
"max_mhz": 2850,
"clock_samples": "1343/1343",
"phases": {
"decode": {
"joules": 155537,
"avg_w": 88.0,
"tokens_incl_warmup_est": 20682,
"j_per_token": 7.52
},
"prefill": {
"joules": 15645,
"avg_w": 183.7,
"tokens_incl_warmup_est": 30987,
"j_per_1k_tokens": 504.882
},
"concurrency": {
"1": {
"joules": 38668,
"avg_w": 88.4,
"tokens_incl_warmup_est": 4800,
"j_per_token": 8.056
},
"4": {
"joules": 42931,
"avg_w": 108.6,
"tokens_incl_warmup_est": 4800,
"j_per_token": 8.944
}
}
}
},
"roofline": {
"decode_tps_median": 11.81,
"weight_bytes": 16460000000,
"weight_source": "stored files",
"mem_bw_gbs": 802.0,
"gpus": 2,
"effective_gbs": 194.4,
"pct_of_mem_bw": 24.2
}
}
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,6 @@
docker run --rm --name llm --device /dev/dri -v /models:/models -p 8080:8080 \
-e ZES_ENABLE_SYSMAN=1 \
ghcr.io/ggml-org/llama.cpp:server-intel@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
-m /models/Qwen3.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
-ngl 99 -sm row -ts 1,1 -c 16384 -np 1 -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 \
--host 0.0.0.0 --port 8080
@@ -0,0 +1,12 @@
1794368800.000 [single] chat: warmup 1 + 5 runs
1794368904.081 [single] code: warmup 1 + 5 runs
1794369211.269 [single] file_edit: warmup 1 + 5 runs
1794369359.657 [single] json: warmup 1 + 5 runs
1794369453.662 [single] math: warmup 1 + 5 runs
1794369711.633 [single] prose: warmup 1 + 5 runs
1794370168.894 [single] reasoning: warmup 1 + 5 runs
1794370473.616 [single] summarization: warmup 1 + 5 runs
1794370567.691 [prefill] depth ~2000 tok: warmup 1 + 3
1794370581.583 [prefill] depth ~8000 tok: warmup 1 + 3
1794370652.860 [concurrency] level 1: 12 requests
1794371090.458 [concurrency] level 4: 12 requests
1 1794368800.000 [single] chat: warmup 1 + 5 runs
2 1794368904.081 [single] code: warmup 1 + 5 runs
3 1794369211.269 [single] file_edit: warmup 1 + 5 runs
4 1794369359.657 [single] json: warmup 1 + 5 runs
5 1794369453.662 [single] math: warmup 1 + 5 runs
6 1794369711.633 [single] prose: warmup 1 + 5 runs
7 1794370168.894 [single] reasoning: warmup 1 + 5 runs
8 1794370473.616 [single] summarization: warmup 1 + 5 runs
9 1794370567.691 [prefill] depth ~2000 tok: warmup 1 + 3
10 1794370581.583 [prefill] depth ~8000 tok: warmup 1 + 3
11 1794370652.860 [concurrency] level 1: 12 requests
12 1794371090.458 [concurrency] level 4: 12 requests
@@ -0,0 +1,501 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BetterBench — qwen3.8-27b</title>
<style>
:root {
color-scheme: light;
--page:#f9f9f7; --surface:#fcfcfb;
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
--s1:#2a78d6; --s2:#eb6834;
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
--tip-bg:#ffffff;
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--page:#0d0d0d; --surface:#1a1a19;
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
--s1:#3987e5; --s2:#d95926;
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
--tip-bg:#232322;
}
}
:root[data-theme="dark"] {
color-scheme: dark;
--page:#0d0d0d; --surface:#1a1a19;
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
--s1:#3987e5; --s2:#d95926;
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
--tip-bg:#232322;
}
* { box-sizing:border-box; }
body { background:var(--page); color:var(--ink); font-family:var(--sans);
line-height:1.55; margin:0; padding:32px 20px 72px; }
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
header { display:flex; flex-direction:column; gap:13px; }
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
text-transform:uppercase; color:var(--muted); }
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
letter-spacing:-.02em; text-wrap:balance; }
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
.chip code { font-family:var(--mono); font-size:12px; }
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
text-transform:uppercase; color:var(--muted); }
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
figure { margin:0; background:var(--surface); border:1px solid var(--border);
border-radius:10px; padding:18px 18px 14px;
display:flex; flex-direction:column; gap:2px; }
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
display:inline-flex; align-items:center; gap:6px; }
.chartbox { position:relative; width:100%; }
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
text { font-family:var(--mono); }
.tick { font-size:10.5px; fill:var(--muted); }
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
.dlabel { font-size:11px; font-weight:600; }
.gridline { stroke:var(--grid); stroke-width:1; }
.baseline { stroke:var(--axis); stroke-width:1; }
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
font-family:var(--mono); font-size:11.5px; color:var(--ink);
white-space:nowrap; min-width:132px; }
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
text-transform:uppercase; margin-bottom:5px; }
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
.tip b { font-weight:600; }
details { background:var(--surface); border:1px solid var(--border);
border-radius:10px; padding:0 18px; }
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
list-style:none; display:flex; align-items:center; gap:9px; }
summary::-webkit-details-marker { display:none; }
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
details[open] summary::before { content:"\25BE"; }
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
.tscroll { overflow-x:auto; padding-bottom:14px; }
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
font-variant-numeric:tabular-nums; margin-bottom:10px; }
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
padding:10px 0 8px; }
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
th:first-child, td:first-child { text-align:left; }
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
text-transform:uppercase; border-bottom:1px solid var(--axis); }
tbody tr + tr td { border-top:1px solid var(--grid); }
tbody td:first-child { color:var(--ink-2); }
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
padding-top:16px; }
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
noscript p { font-size:13px; color:var(--ink-2); }
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
</style>
</head>
<body>
<div class="wrap">
<header>
<div class="eyebrow">BetterBench 0.6.1 · 27 Oct 2026 · 10:00 · arc-demo</div>
<h1>qwen3.8-27b</h1>
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>qwen3.8-27b</span><span class="chip"><code>http://localhost:8000/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">20 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">8,192 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>submitter: demo</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>gpu: 2x Intel Arc B580 · 12 GB · driver 1.17.39395</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>pcie: Gen4 x8 · ReBAR on</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>power_limit: 190 W</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>host: AMD Ryzen 7 7700 · 64 GB RAM · Ubuntu 26.04 LTS · kernel 7.0.0-38-generic</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>engine: vllm 0.30.0 · image intel/vllm:0.30.0-xpu@000000000000</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>model_file: /models/RedHatAI/Qwen3.8-27B-INT4 · 18.90 GB · standard: Qwen3.8-27B w4a16</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>mem_bw: 401 GB/s measured (torch copy, random, 1024 MiB)</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>parallel: tp 2 · pp 1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>precision: weights w4a16 · kv fp16</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>launch: max-num-seqs 1 · gpu-memory-utilization 0.95 · dtype float16 · speculative-config {&quot;method&quot;:&quot;mtp&quot;,&quot;num_speculative_tokens&quot;:5}</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>env_flags: ZE_AFFINITY_MASK=0,1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>spec: mtp:5</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>thinking: default · reasoning seen</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>greedy_check: identical 3/3 · 37e6167b8dc8</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>run: full · concurrency on · bench-standard 0.5.0 · betterbench 0.6.1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>special_notes: DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured</span></div>
</header>
<section class="tiles">
<div class="tile">
<span class="label">Combined decode</span>
<span class="val">51.3 <small>t/s</small></span>
<span class="sub">weighted across categories</span>
</div>
<div class="tile">
<span class="label">Combined update p99</span>
<span class="val">106.5 <small>ms</small></span>
<span class="sub">the stutter between stream updates</span>
</div>
<div class="tile">
<span class="label">Combined TTFT p50</span>
<span class="val">260 <small>ms</small></span>
<span class="sub">single-stream, batch = 1</span>
</div>
<div class="tile">
<span class="label">Aggregate @ 8 concurrent</span>
<span class="val">52.8 <small>t/s</small></span>
<span class="sub">48/48 ok</span>
</div>
<div class="tile">
<span class="label">Prefill @ 2,000 tok</span>
<span class="val">1,657 <small>t/s</small></span>
<span class="sub">median prompt processing</span>
</div>
</section>
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
<figure>
<figcaption>
<span class="t">Decode throughput by category</span>
<span class="d">Median per-pass decode t/s at batch = 1, 20 passes per category. The dashed line is the weighted combined score.</span>
</figcaption>
<div class="chartbox" id="cb-decode"></div>
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
</figure>
<figure>
<figcaption>
<span class="t">Stream-update gap by category</span>
<span class="d">This server packs several tokens into one stream update, so there is no per-token latency to plot. These are the measured wall-clock gaps between updates: p50 is the typical rhythm, p99 the stutter. Lower is better.</span>
</figcaption>
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>update p50</span><span><span class="swatch" style="background:var(--s2)"></span>update p99</span></div>
<div class="chartbox" id="cb-itl"></div>
<p class="note">Hover a bar for the tokens landing per update. p99 is an upper bound on any pause a reader feels; it is not comparable across servers that pack different numbers of tokens into an update.</p>
</figure>
<figure>
<figcaption>
<span class="t">Aggregate throughput under concurrency</span>
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
</figcaption>
<div class="chartbox" id="cb-conc"></div>
</figure>
<figure>
<figcaption>
<span class="t">Time-to-first-token under concurrency</span>
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
</figcaption>
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
<div class="chartbox" id="cb-ttft"></div>
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
</figure>
<details open>
<summary>Full numbers</summary>
<div class="tscroll">
<table>
<caption>Single-stream, batch = 1 · several tokens per stream update</caption>
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>update p50 (ms)</th><th>update p99 (ms)</th><th>tok/update</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
<tbody>
<tr><td>chat</td><td>20</td><td>263.7</td><td>283.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>107.9</td><td>143.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.03</td><td>34.3</td><td>2.2</td><td>4.0%</td></tr>
<tr><td>code</td><td>20</td><td>260.0</td><td>270.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>74.7</td><td>104.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.00</td><td>50.5</td><td>2.7</td><td>3.9%</td></tr>
<tr><td>file edit</td><td>20</td><td>261.0</td><td>280.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>54.8</td><td>76.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.00</td><td>65.9</td><td>3.4</td><td>4.9%</td></tr>
<tr><td>json</td><td>20</td><td>256.6</td><td>281.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>54.2</td><td>75.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.03</td><td>68.2</td><td>3.3</td><td>3.5%</td></tr>
<tr><td>math</td><td>20</td><td>260.5</td><td>289.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>67.6</td><td>93.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.01</td><td>53.9</td><td>1.5</td><td>2.5%</td></tr>
<tr><td>prose</td><td>20</td><td>262.6</td><td>276.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>119.2</td><td>171.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.00</td><td>29.8</td><td>1.5</td><td>3.8%</td></tr>
<tr><td>reasoning</td><td>20</td><td>262.5</td><td>282.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>71.3</td><td>103.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.00</td><td>47.9</td><td>1.9</td><td>3.9%</td></tr>
<tr><td>summarization</td><td>20</td><td>258.6</td><td>277.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>64.5</td><td>96.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.00</td><td>53.0</td><td>2.7</td><td>3.0%</td></tr>
</tbody>
</table>
<table>
<caption>Concurrency sweep</caption>
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
<tbody>
<tr><td>1</td><td>48/48</td><td>51.1</td><td>262.0</td><td>287.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>50.9</td></tr>
<tr><td>2</td><td>48/48</td><td>51.1</td><td>339.9</td><td>379.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>25.3</td></tr>
<tr><td>4</td><td>48/48</td><td>51.7</td><td>420.0</td><td>457.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>13.0</td></tr>
<tr><td>8</td><td>48/48</td><td>52.8</td><td>504.2</td><td>535.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>6.6</td></tr>
</tbody>
</table>
<table>
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
<tbody>
<tr><td>chat</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>code</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>file edit</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>json</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>math</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>prose</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>reasoning</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>summarization</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
</tbody>
</table>
<table>
<caption>Prefill sweep · cold prefix cache</caption>
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
<tbody>
<tr><td>2,000</td><td>1,548</td><td>935.3</td><td>1,637.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>1,657.0</td><td>1,671.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>8,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
<tr><td>16,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
<tr><td>32,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
</tbody>
</table>
</div>
</details>
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 160/160 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 21 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
</div>
<script>
"use strict";
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [20, 20, 20, 20, 20, 20, 20, 20], "decode": [34.28609770429516, 50.49184081779373, 65.91635377090358, 68.19863383250116, 53.88287859866334, 29.807853662176544, 47.924633327126145, 52.96162737478886], "decodeIqr": [2.1870098547151144, 2.661999728296834, 3.431410136317872, 3.258923403474583, 1.5460371984829777, 1.542075662359835, 1.9126779301236283, 2.7214508377246744], "cv": [3.9526564041935845, 3.897613024335536, 4.862741867881964, 3.5181573080490867, 2.513103382682465, 3.7899945945699196, 3.859478312130509, 3.049218174331255], "itlLow": [null, null, null, null, null, null, null, null], "itlMed": [null, null, null, null, null, null, null, null], "itlHigh": [null, null, null, null, null, null, null, null], "batched": true, "updP50": [107.87, 74.65, 54.75, 54.235, 67.6, 119.22, 71.35, 64.47], "updP99": [143.59249999999997, 104.46809999999999, 76.62530000000001, 75.7542, 93.9162, 171.50220000000002, 103.82090000000001, 96.7453], "tokPerUpd": [3.0303030303030303, 3.0, 3.0, 3.0338983050847457, 3.0120481927710845, 3.0, 3.0, 3.0], "ttft50": [263.74458149397265, 260.0330753104748, 261.0215599792575, 256.58470361565696, 260.49696892691225, 262.6068136583175, 262.4521235924624, 258.55219034132426], "combined": 51.32125014953425, "conc": {"levels": [1, 2, 4, 8], "agg": [51.06906581811008, 51.11703529251507, 51.66730430513966, 52.8159220661901], "t50": [261.96122792923853, 339.85718663639955, 420.0469398358269, 504.2115871162977], "t99": [287.6083746457253, 379.9290295143771, 457.4405336873503, 535.016478274376], "per": [50.91029455424723, 25.33225981082344, 12.994272745413985, 6.59653757036664], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000], "tok": [1548.0], "low": [1637.0217417615472], "med": [1656.9671374736827], "high": [1671.4444600377835], "t50": [935.347414523363]}};
const NS = "http://www.w3.org/2000/svg";
const el = (n, a) => { const e = document.createElementNS(NS, n);
for (const k in a) e.setAttribute(k, a[k]); return e; };
const fmt = (v, d) => (v === null || v === undefined) ? "—"
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
const has = v => v !== null && v !== undefined;
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
const niceTop = v => { if (!(v > 0)) return 1;
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
return Math.ceil(v / (2 * p)) * 2 * p; };
const box = id => document.getElementById(id);
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
b.appendChild(t); return t; }
function showTip(tip, b, x, y, html) {
tip.innerHTML = html; tip.style.opacity = "1";
let left = x + 14;
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
tip.style.left = Math.max(0, left) + "px";
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
}
const row = (color, name, val) =>
`<div class="row"><span class="nm">${color
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
for (let k = 0; k <= (ticks || 4); k++) {
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
}
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
ay.textContent = yTitle; svg.appendChild(ay);
}
function xLabels(svg, labels, X, y) {
labels.forEach((lab, i) => {
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
t.textContent = lab; svg.appendChild(t);
});
}
/* --- grouped / single bars, zero-based --- */
function bars(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMax = o.yMax;
const Y = v => M.t + ih - (ih * v) / yMax;
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
const band = iw / n, ns = o.series.length, GAP = 2;
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
if (has(o.ref)) {
const y = Y(o.ref);
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
t.textContent = o.refLabel; svg.appendChild(t);
}
const tip = mkTip(b);
o.x.forEach((lab, i) => {
const cx = M.l + band * i + band / 2;
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
o.series.forEach((s, si) => {
const v = s.v[i]; if (!has(v)) return;
const x = start + si * (bw + GAP);
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
rx: 4, ry: 4, fill: s.color });
r.style.cursor = "crosshair";
const html = `<div class="th">${lab}</div>` +
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
(o.extra ? o.extra(i) : "");
r.addEventListener("pointerenter", () => {
const rc = svg.getBoundingClientRect();
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
});
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
svg.appendChild(r);
});
});
b.appendChild(svg);
}
/* --- floating range bars with a median tick --- */
function rangeBars(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMax = o.yMax;
const Y = v => M.t + ih - (ih * v) / yMax;
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
const band = iw / n, bw = Math.min(34, band - 26);
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
const tip = mkTip(b);
o.x.forEach((lab, i) => {
const lo = o.low[i], hi = o.high[i], md = o.med[i];
if (!has(lo) || !has(hi)) return;
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
rx: 4, ry: 4, fill: "var(--s1-mid)" });
r.style.cursor = "crosshair";
svg.appendChild(r);
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
stroke: "var(--ink)", "stroke-width": 2 }));
const html = `<div class="th">${lab}</div>` +
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
r.addEventListener("pointerenter", () => {
const rc = svg.getBoundingClientRect();
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
});
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
});
b.appendChild(svg);
}
/* --- line chart with optional band --- */
function line(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
xLabels(svg, o.x, X, M.t + ih + 20);
if (o.xTitle) {
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
t.textContent = o.xTitle; svg.appendChild(t);
}
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
}
svg.appendChild(el("path", {
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
"stroke-linejoin": "round", "stroke-linecap": "round" }));
o.v.forEach((v, i) => svg.appendChild(el("circle", {
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
svg.appendChild(cross);
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
svg.appendChild(hit);
b.appendChild(svg);
const tip = mkTip(b);
hit.addEventListener("pointermove", ev => {
const rc = svg.getBoundingClientRect();
const px = ((ev.clientX - rc.left) / rc.width) * W;
let i = 0, best = Infinity;
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
});
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
}
/* ------------------------------ build ------------------------------ */
if (D.cats.length) {
bars("cb-decode", {
aria: "Median decode throughput per category.",
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
yMax: niceTop(maxOf([D.decode])), height: 350,
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
tipVal: v => fmt(v, 1) + " t/s",
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
row(null, "CV", fmt(D.cv[i], 1) + "%") +
row(null, "passes", D.runs[i])
});
if (D.batched) {
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
floating between them collapses the p50 end onto the axis. */
bars("cb-itl", {
aria: "Stream-update gap p50 and p99 by category.",
x: D.cats, yTitle: "UPDATE GAP (MS)",
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
tipVal: v => fmt(v, 1) + " ms",
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
row(null, "passes", D.runs[i])
});
} else {
rangeBars("cb-itl", {
aria: "Inter-token latency range per category, 1% low to 99% high.",
x: D.cats, yTitle: "INSTANTANEOUS T/S",
yMax: niceTop(maxOf([D.itlHigh])),
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
tipVal: v => fmt(v, 1) + " t/s",
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
});
}
}
if (D.conc.levels.length > 1) {
line("cb-conc", {
aria: "Aggregate throughput as concurrency rises.",
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
v: D.conc.agg,
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
});
bars("cb-ttft", {
aria: "TTFT p50 and p99 by concurrency level.",
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
tipVal: v => fmt(v, 1) + " ms",
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
});
}
if (D.pre.depths.length > 1) {
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
const pad = (hi - lo) * 0.25 || hi * 0.1;
line("cb-prefill", {
aria: "Prefill throughput by input depth.",
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
yMin: Math.max(0, lo - pad), yMax: hi + pad,
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
+ fmt(D.pre.tok[i], 0) + " actual tok",
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
row(null, "median", fmt(D.pre.med[i], 1)) +
row(null, "1% low", fmt(D.pre.low[i], 1)) +
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
});
}
</script>
</body>
</html>
@@ -0,0 +1 @@
Synthetic result made by tools/demo/make_demo.py. Nothing here was measured. Delete this folder once real results replace it.
@@ -0,0 +1,30 @@
DEMO: synthetic run, no BetterBench output. Progress lines as BetterBench prints them:
[single] chat: warmup 3 + 20 runs
[single] code: warmup 3 + 20 runs
[single] file_edit: warmup 3 + 20 runs
[single] json: warmup 3 + 20 runs
[single] math: warmup 3 + 20 runs
[single] prose: warmup 3 + 20 runs
[single] reasoning: warmup 3 + 20 runs
[single] summarization: warmup 3 + 20 runs
[prefill] depth ~2000 tok: warmup 2 + 8
[prefill] skip depth ~8000: needs more context than 8192
[prefill] skip depth ~16000: needs more context than 8192
[prefill] skip depth ~32000: needs more context than 8192
[prefill] skip depth ~64000: needs more context than 8192
[concurrency] level 1: 48 requests
[concurrency] level 2: 48 requests
[concurrency] level 4: 48 requests
[concurrency] level 8: 48 requests
qwen3.8-27b · vllm 0.30.0 · image intel/vllm:0.30.0-xpu@000000000000
2x Intel Arc B580 · 12 GB · driver 1.17.39395 · 190 W limit
full · concurrency on · bench-standard 0.5.0 · betterbench 0.6.1 · greedy identical 3/3 · 37e6167b8dc8
decode (batch 1) 51.3 t/s TTFT p50 261 ms
concurrency 1: 51 t/s 2: 51 t/s 4: 52 t/s 8: 53 t/s
prefill 2k: 1,657 t/s
bandwidth 934 GB/s effective = 116% of 802 GB/s (weights 18.19 GB, loaded (engine log))
power avg 129.4 W, peak 187 W · clock avg 2780 MHz (2554-2850)
energy decode 2.865 J/tok at 119.8 W · prefill 119.393 J/1k tok
energy by conc. 1: 2.348 J/tok 2: 2.62 J/tok 4: 2.884 J/tok 8: 3.091 J/tok
energy (total) 439.1 kJ, 3.013 J per output token over the whole run
@@ -0,0 +1,21 @@
{
"temperature": 0.7,
"top_p": 0.95,
"top_k": 20,
"greedy": false,
"warmup": 3,
"runs_per_category": 20,
"unique_nonce": true,
"run_concurrency": true,
"concurrency_levels": [1, 2, 4, 8],
"concurrency_requests": 48,
"weights": {
"code": 0.30, "reasoning": 0.20, "prose": 0.15,
"json": 0.15, "file_edit": 0.10, "summarization": 0.10
},
"conf": 0.95,
"target_mde_pct": 1.0,
"ab_max_pairs": 200,
"ab_min_pairs": 12,
"timeout_s": 600.0
}
@@ -0,0 +1,225 @@
{
"bench_standard": "0.5.0",
"created": "2026-10-27T10:00:00+0200",
"endpoint": "http://localhost:8000/v1",
"model": "qwen3.8-27b",
"name": "qwen3.8-27b_vllm_2x-arc-b580",
"notes": {
"submitter": "demo",
"gpu": "2x Intel Arc B580 \u00b7 12 GB \u00b7 driver 1.17.39395",
"pcie": "Gen4 x8 \u00b7 ReBAR on",
"power_limit": "190 W",
"host": "AMD Ryzen 7 7700 \u00b7 64 GB RAM \u00b7 Ubuntu 26.04 LTS \u00b7 kernel 7.0.0-38-generic",
"engine": "vllm 0.30.0 \u00b7 image intel/vllm:0.30.0-xpu@000000000000",
"model_file": "/models/RedHatAI/Qwen3.8-27B-INT4 \u00b7 18.90 GB \u00b7 standard: Qwen3.8-27B w4a16",
"mem_bw": "401 GB/s measured (torch copy, random, 1024 MiB)",
"parallel": "tp 2 \u00b7 pp 1",
"precision": "weights w4a16 \u00b7 kv fp16",
"launch": "max-num-seqs 1 \u00b7 gpu-memory-utilization 0.95 \u00b7 dtype float16 \u00b7 speculative-config {\"method\":\"mtp\",\"num_speculative_tokens\":5}",
"env_flags": "ZE_AFFINITY_MASK=0,1",
"spec": "mtp:5",
"thinking": "default \u00b7 reasoning seen",
"greedy_check": "identical 3/3 \u00b7 37e6167b8dc8",
"run": "full \u00b7 concurrency on \u00b7 bench-standard 0.5.0 \u00b7 betterbench 0.6.1",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured"
},
"mandatory": {
"submitter": "demo",
"tp": "2",
"pp": "1",
"quant": "w4a16",
"kv": "fp16",
"spec": "mtp:5",
"thinking": "default",
"power_limit": "190",
"power_limit_source": "detected",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured",
"betterbench": "0.6.1",
"betterbench_build": "v0.6.1",
"bench_standard": "0.5.0",
"run_mode": "full",
"concurrency": "on"
},
"collected": {
"gpu_vendor": "intel",
"gpu_model": "Arc B580",
"gpu_count": "2",
"gpu_vram_gb": "12",
"gpu_driver": "1.17.39395",
"gpu_power_limit_w": "190",
"gpu_bdf": "0000:03:00.0",
"pcie_link": "Gen4 x8",
"pcie_max": "Gen4 x8",
"rebar": "on",
"cpu_model": "AMD Ryzen 7 7700",
"ram_gb": "64",
"os": "Ubuntu 26.04 LTS",
"kernel": "7.0.0-38-generic",
"virt": "none",
"proxy": "none",
"engine": "vllm",
"engine_version": "0.30.0",
"engine_slots": "",
"engine_image": "intel/vllm:0.30.0-xpu@000000000000",
"model_file": "/models/RedHatAI/Qwen3.8-27B-INT4",
"model_bytes": "18900000000",
"model_sha256": "bffa6b23fa11be557fe9de4b122a8bb99f537ad7a1a4effa702f7d0c677778f7",
"ctx": "8192",
"gpu_mem_bw_gbs": "401",
"gpu_mem_bw_tool": "torch copy, random, 1024 MiB",
"model_loaded_gib": "8.47"
},
"measured": {
"greedy_check": "identical",
"greedy_runs": "3",
"greedy_hash": "37e6167b8dc8",
"greedy_reasoning": "yes"
},
"launch": {
"engine": "vllm",
"settings": {
"max-num-seqs": "1",
"gpu-memory-utilization": "0.95",
"dtype": "float16",
"speculative-config": "{\"method\":\"mtp\",\"num_speculative_tokens\":5}"
},
"env": {
"ZE_AFFINITY_MASK": "0,1"
},
"flags": {
"--rm": true,
"--name": "llm",
"--device": "/dev/dri",
"--ipc": "host",
"-v": "/models:/models",
"-p": "8000:8000",
"--served-model-name": "qwen3.8-27b",
"--tensor-parallel-size": "2",
"--dtype": "float16",
"--max-model-len": "8192",
"--max-num-seqs": "1",
"--gpu-memory-utilization": "0.95",
"--speculative-config": "{\"method\":\"mtp\",\"num_speculative_tokens\":5}",
"--host": "0.0.0.0",
"--port": "8000"
}
},
"server_cmd_file": "server-cmd.txt",
"server_cmd_source": "file:server-cmd.txt",
"betterbench_argv": [
"betterbench",
"run",
"--no-update-check",
"--endpoint",
"http://localhost:8000/v1",
"--model",
"qwen3.8-27b",
"--config",
"arc-b580/results/261027_demo_qwen3.8-27b_vllm_2x-arc-b580/config.json",
"--name",
"qwen3.8-27b_vllm_2x-arc-b580",
"--out",
"arc-b580/results/261027_demo_qwen3.8-27b_vllm_2x-arc-b580/261027_demo_qwen3.8-27b_vllm_2x-arc-b580.json",
"--max-model-len",
"8192",
"--note",
"submitter=demo",
"--note",
"gpu=2x Intel Arc B580 \u00b7 12 GB \u00b7 driver 1.17.39395",
"--note",
"pcie=Gen4 x8 \u00b7 ReBAR on",
"--note",
"power_limit=190 W",
"--note",
"host=AMD Ryzen 7 7700 \u00b7 64 GB RAM \u00b7 Ubuntu 26.04 LTS \u00b7 kernel 7.0.0-38-generic",
"--note",
"engine=vllm 0.30.0 \u00b7 image intel/vllm:0.30.0-xpu@000000000000",
"--note",
"model_file=/models/RedHatAI/Qwen3.8-27B-INT4 \u00b7 18.90 GB \u00b7 standard: Qwen3.8-27B w4a16",
"--note",
"mem_bw=401 GB/s measured (torch copy, random, 1024 MiB)",
"--note",
"parallel=tp 2 \u00b7 pp 1",
"--note",
"precision=weights w4a16 \u00b7 kv fp16",
"--note",
"launch=max-num-seqs 1 \u00b7 gpu-memory-utilization 0.95 \u00b7 dtype float16 \u00b7 speculative-config {\"method\":\"mtp\",\"num_speculative_tokens\":5}",
"--note",
"env_flags=ZE_AFFINITY_MASK=0,1",
"--note",
"spec=mtp:5",
"--note",
"thinking=default \u00b7 reasoning seen",
"--note",
"greedy_check=identical 3/3 \u00b7 37e6167b8dc8",
"--note",
"run=full \u00b7 concurrency on \u00b7 bench-standard 0.5.0 \u00b7 betterbench 0.6.1",
"--note",
"special_notes=DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured"
],
"post_run": {
"wall_s": 3392.1,
"energy": {
"joules": 439074,
"source": "energy counter",
"sampled_s": 3392.0,
"avg_w": 129.4,
"peak_w": 187.3,
"output_tokens": 145740,
"j_per_output_token": 3.013,
"avg_mhz": 2780,
"min_mhz": 2554,
"max_mhz": 2850,
"clock_samples": "1697/1697",
"phases": {
"decode": {
"joules": 227109,
"avg_w": 119.8,
"tokens_incl_warmup_est": 79281,
"j_per_token": 2.865
},
"prefill": {
"joules": 1849,
"avg_w": 178.4,
"tokens_incl_warmup_est": 15488,
"j_per_1k_tokens": 119.393
},
"concurrency": {
"1": {
"joules": 45088,
"avg_w": 119.9,
"tokens_incl_warmup_est": 19200,
"j_per_token": 2.348
},
"2": {
"joules": 50306,
"avg_w": 133.9,
"tokens_incl_warmup_est": 19200,
"j_per_token": 2.62
},
"4": {
"joules": 55377,
"avg_w": 149.0,
"tokens_incl_warmup_est": 19200,
"j_per_token": 2.884
},
"8": {
"joules": 59345,
"avg_w": 163.2,
"tokens_incl_warmup_est": 19200,
"j_per_token": 3.091
}
}
}
},
"roofline": {
"decode_tps_median": 51.33,
"weight_bytes": 18189186498,
"weight_source": "loaded (engine log)",
"mem_bw_gbs": 802.0,
"gpus": 2,
"effective_gbs": 933.7,
"pct_of_mem_bw": 116.4
}
}
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,8 @@
docker run --rm --name llm --device /dev/dri --ipc=host -v /models:/models -p 8000:8000 \
-e ZE_AFFINITY_MASK=0,1 \
intel/vllm:0.30.0-xpu@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
vllm serve /models/RedHatAI/Qwen3.8-27B-INT4 --served-model-name qwen3.8-27b \
--tensor-parallel-size 2 --dtype float16 --max-model-len 8192 --max-num-seqs 1 \
--gpu-memory-utilization 0.95 \
--speculative-config '{"method":"mtp","num_speculative_tokens":5}' \
--host 0.0.0.0 --port 8000
@@ -0,0 +1,17 @@
1794368800.000 [single] chat: warmup 3 + 20 runs
1794368940.746 [single] code: warmup 3 + 20 runs
1794369222.508 [single] file_edit: warmup 3 + 20 runs
1794369329.755 [single] json: warmup 3 + 20 runs
1794369396.217 [single] math: warmup 3 + 20 runs
1794369615.761 [single] prose: warmup 3 + 20 runs
1794370315.218 [single] reasoning: warmup 3 + 20 runs
1794370610.429 [single] summarization: warmup 3 + 20 runs
1794370694.984 [prefill] depth ~2000 tok: warmup 2 + 8
1794370705.346 [prefill] skip depth ~8000: needs more context than 8192
1794370705.346 [prefill] skip depth ~16000: needs more context than 8192
1794370705.346 [prefill] skip depth ~32000: needs more context than 8192
1794370705.346 [prefill] skip depth ~64000: needs more context than 8192
1794370705.346 [concurrency] level 1: 48 requests
1794371081.308 [concurrency] level 2: 48 requests
1794371456.916 [concurrency] level 4: 48 requests
1794371828.525 [concurrency] level 8: 48 requests
1 1794368800.000 [single] chat: warmup 3 + 20 runs
2 1794368940.746 [single] code: warmup 3 + 20 runs
3 1794369222.508 [single] file_edit: warmup 3 + 20 runs
4 1794369329.755 [single] json: warmup 3 + 20 runs
5 1794369396.217 [single] math: warmup 3 + 20 runs
6 1794369615.761 [single] prose: warmup 3 + 20 runs
7 1794370315.218 [single] reasoning: warmup 3 + 20 runs
8 1794370610.429 [single] summarization: warmup 3 + 20 runs
9 1794370694.984 [prefill] depth ~2000 tok: warmup 2 + 8
10 1794370705.346 [prefill] skip depth ~8000: needs more context than 8192
11 1794370705.346 [prefill] skip depth ~16000: needs more context than 8192
12 1794370705.346 [prefill] skip depth ~32000: needs more context than 8192
13 1794370705.346 [prefill] skip depth ~64000: needs more context than 8192
14 1794370705.346 [concurrency] level 1: 48 requests
15 1794371081.308 [concurrency] level 2: 48 requests
16 1794371456.916 [concurrency] level 4: 48 requests
17 1794371828.525 [concurrency] level 8: 48 requests
+1 -1
View File
@@ -10,7 +10,7 @@ None yet.
## Wanted
Fits in VRAM, no single-user recipe yet: Qwen3.5-9B. See [CONTRIBUTING.md](../CONTRIBUTING.md).
Fits in VRAM, no single-user recipe yet: Qwen3.5-9B, Qwen3.8-27B on 2× Arc Pro B50. See [CONTRIBUTING.md](../CONTRIBUTING.md).
## Results
+8 -8
View File
@@ -8,15 +8,15 @@
## Recipes
| model | profile | engine | headline | status | recipe |
|---|---|---|---|---|---|
| Qwen3.5-9B | single-user | llama.cpp | 64.0 t/s decode at batch 1 | demo | [Qwen3.5-9B on Arc Pro B65 with llama.cpp, single user](qwen3.5-9b/llama.cpp-single-user.md) |
| Qwen3.5-9B | single-user | vllm | 118.2 t/s decode at batch 1 ★ | demo | [Qwen3.5-9B on Arc Pro B65 with vLLM, single user](qwen3.5-9b/vllm-single-user.md) |
| Qwen3.8-27B | single-user | llama.cpp | 22.6 t/s decode at batch 1 | demo | [Qwen3.8-27B on Arc Pro B65 with llama.cpp, single user](qwen3.8-27b/llama.cpp-single-user.md) |
| Qwen3.8-27B | single-user | vllm | 84.5 t/s decode at batch 1 ★ | demo | [Qwen3.8-27B on Arc Pro B65 with vLLM, single user](qwen3.8-27b/vllm-single-user.md) |
| Qwen3.8-27B | throughput | vllm | 294.1 t/s peak aggregate throughput ★ | demo | [Qwen3.8-27B on Arc Pro B65 with vLLM, several users](qwen3.8-27b/vllm-throughput.md) |
| model | GPUs | profile | engine | headline | status | recipe |
|---|---|---|---|---|---|---|
| Qwen3.5-9B | 1 | single-user | llama.cpp | 64.0 t/s decode at batch 1 | demo | [Qwen3.5-9B on Arc Pro B65 with llama.cpp, single user](qwen3.5-9b/llama.cpp-single-user.md) |
| Qwen3.5-9B | 1 | single-user | vllm | 118.2 t/s decode at batch 1 ★ | demo | [Qwen3.5-9B on Arc Pro B65 with vLLM, single user](qwen3.5-9b/vllm-single-user.md) |
| Qwen3.8-27B | 1 | single-user | llama.cpp | 22.6 t/s decode at batch 1 | demo | [Qwen3.8-27B on Arc Pro B65 with llama.cpp, single user](qwen3.8-27b/llama.cpp-single-user.md) |
| Qwen3.8-27B | 1 | single-user | vllm | 84.5 t/s decode at batch 1 ★ | demo | [Qwen3.8-27B on Arc Pro B65 with vLLM, single user](qwen3.8-27b/vllm-single-user.md) |
| Qwen3.8-27B | 1 | throughput | vllm | 294.1 t/s peak aggregate throughput ★ | demo | [Qwen3.8-27B on Arc Pro B65 with vLLM, several users](qwen3.8-27b/vllm-throughput.md) |
★ the fastest recipe for that model and profile on this GPU.
★ the fastest recipe for that model, GPU count and profile. Several of this GPU: files named `<N>x-<engine>-<profile>.md`. With other GPUs: [mixed setups](../mixed/README.md).
## What lost
+4
View File
@@ -11,6 +11,10 @@ stale_after_days = 180
# a recipe "verified".
agree_pct = 5.0
# GPU counts the "Wanted" lists consider: a model is wanted on the fewest of one
# GPU it fits in.
gpu_counts = [1, 2]
# The GPUs this cookbook covers: Intel Arc only. The name is what bench.sh
# records as gpu_model. Spec memory bandwidth; bench.sh measures the real one.
[gpus."Arc Pro B70"]
+51
View File
@@ -0,0 +1,51 @@
# bench-standard gaps for multi-GPU runs
What bench-standard 0.5.0 doesn't record well when a server uses more than one GPU, and
how the cookbook works around it. Each section is written to be filed as an issue on
[benchmarks](https://git.linxweiler.xyz/miga/benchmarks/issues). The cookbook doesn't
change that repo.
## 1. `gpu_count` counts every GPU in the machine
**Now:** `collect-env.sh` counts all devices `xpu-smi` lists. A 2-GPU server on a 3-GPU
machine records `gpu_count=3`, and the `gpu` note says `3x ...`.
**Wanted:** count the devices the server uses: `ZE_AFFINITY_MASK` /
`ONEAPI_DEVICE_SELECTOR` from the launch command, or the engine's own device log.
**Cookbook meanwhile:** takes the count from `tp × pp` and ignores `gpu_count`.
## 2. PCIe link and ReBAR of the first GPU only
**Now:** `gpu_bdf` is the first device, and `pcie_link`, `pcie_max` and `rebar` describe it alone.
**Wanted:** one entry per GPU used, e.g. `pcie=Gen4 x8 · Gen4 x4 (chipset)`. With tensor
parallelism over PCIe, the slowest link decides the result.
**Cookbook meanwhile:** recipes declare `topology`, one link per GPU; submitters add it
in `--special-notes`.
## 3. No interconnect information
**Now:** nothing about how GPUs talk to each other.
**Wanted:** a note on the collective transport (oneCCL settings from the env flags,
whether P2P over PCIe is used or traffic goes through host memory).
**Cookbook meanwhile:** recipes describe it under Pitfalls.
## 4. Bandwidth share ignores pipeline parallel and mixed GPUs
**Now:** `postrun.py` multiplies the bandwidth by `tp` and the weights by `tp` (vLLM's
per-worker figure). With `pp > 1`, or with two different cards, the share is wrong.
**Wanted:** scale by the GPUs used, with each GPU's own bandwidth; for pipeline parallel,
decode reads each stage's weights in turn, so the reference is the per-stage sum of time,
not the sum of bandwidth.
**Cookbook meanwhile:** shows the bandwidth share only for tensor parallel over equal GPUs.
## 5. Power and energy of one GPU
**Now:** `gpu-power.sh` samples one device, so J/token for a 2-GPU run counts half the power.
**Wanted:** sample every GPU used and sum.
**Cookbook meanwhile:** leaves energy out of every multi-GPU recipe.
## 6. A standard model that needs more than one card
The standard models (9B, 27B) fit one 24–32 GB card, so multi-GPU only matters on the
10–16 GB cards. A larger model, like a 70B-class dense model or a big MoE, would make
multi-GPU recipes on the B60, B65 and B70 meaningful. It has to go into the standard
models table first.
+18 -1
View File
@@ -49,7 +49,24 @@ sudo xpu-smi config -d 0 --powerlimit 200
The power limit changes prefill and concurrency numbers. bench.sh records it. If you
change it, say so in the result (`--special-notes`).
## 5. Models
## 5. Several GPUs
- **Lanes:** every card should hang off the CPU, not the chipset. A second x16 slot is
often x4 through the chipset, and tensor parallelism sends activations over PCIe after
every layer. Check each card:
```sh
for d in $(lspci -D | awk '/VGA.*Intel/ {print $1}'); do
echo "$d $(sudo lspci -vv -s $d | grep -o 'LnkSta: Speed [^,]*, Width x[0-9]*')"; done
```
- **Device order:** `xpu-smi discovery` lists the Level Zero numbering. `ZE_AFFINITY_MASK`
picks and orders the cards a container sees. Splits like llama.cpp's `-ts 2,1` follow
that order.
- **What bench.sh misses:** it records PCIe, ReBAR and power of the first GPU only. Write
the others into `--special-notes`, and the links into the recipe's `topology`.
## 6. Models
The recipes mount `/models` into the container. Download the standard files there,
as each recipe shows, and check the hash: bench.sh rejects any other file.
+30 -3
View File
@@ -1,7 +1,13 @@
# Recipes
One file per exact setup: `<gpu>/<model>/<engine>-<profile>.md`, every part slugged
the way bench.sh names result folders (`Arc Pro B65` → `arc-pro-b65`).
One file per exact setup, every part slugged the way bench.sh names result folders
(`Arc Pro B65` → `arc-pro-b65`):
| setup | file |
|---|---|
| one GPU | `<gpu>/<model>/<engine>-<profile>.md` |
| N of the same GPU | `<gpu>/<model>/<N>x-<engine>-<profile>.md` |
| different GPUs | `mixed/<setup>/<model>/<engine>-<profile>.md`, the setup named `<N>x-<gpu>_<N>x-<gpu>` in name order, e.g. `1x-arc-b580_1x-arc-pro-b60` |
`tools/cookbook.py validate` rejects a file whose path doesn't match its front matter.
## Front matter
@@ -22,6 +28,7 @@ spec = "mtp:5" # as declared to bench.sh
thinking = "default" # as declared to bench.sh
tp = 1 # optional, default 1
pp = 1 # optional, default 1
gpus = 1 # optional, default 1; must be tp × pp
results = [ # result folders in <gpu>/results/, --full runs only
"261022_pascal_qwen3.8-27b_vllm_1x-arc-pro-b65",
]
@@ -32,6 +39,24 @@ The first result is the reference run. More results are reproductions. When thei
headline metric is within `agree_pct` of the first run (5%, `cookbook.toml`) and they
come from two or more submitters, the recipe is **verified**.
## Several GPUs
```toml
gpu = "Arc B580" # N of the same GPU ...
gpus = 2
tp = 2 # tp × pp = gpus
topology = ["Gen4 x8 CPU", "Gen4 x8 CPU"] # required: PCIe link of each GPU, and what it hangs off
gpu = ["Arc Pro B60", "Arc B580"] # ... or different GPUs: one name per card
topology = ["Gen5 x8 CPU", "Gen4 x8 CPU"] # in the same order
```
bench.sh reads PCIe, power and bandwidth from one GPU only, and counts every GPU in the
machine. So the cookbook takes the GPU count from `tp × pp`, needs `topology` declared, and
leaves energy (and, for pipeline parallel or mixed setups, bandwidth) out. Declare: vLLM
`--tensor-parallel-size N` → `tp = N`; llama.cpp `-sm layer` → `pp = N`, `-sm row` → `tp = N`.
See [bench-standard gaps](bench-standard-gaps.md).
## Body
````markdown
@@ -73,7 +98,9 @@ reproduce. Never type numbers into a recipe by hand.
- every cited result exists, is a `--full` run of an accepted bench-standard version,
on the standard model file
- `quant`, `kv`, `spec`, `thinking`, `tp`, `pp`, GPU and engine match what the run
declared and detected
declared and detected; `tp × pp` is the GPU count, and the runs sit in the recipe's
own folder's `results/`
- several GPUs: `topology` lists one link per GPU; mixed setups name two or more different GPUs
- the first `sh` block under `## Launch` is word for word the `server-cmd.txt` of every
cited run (line breaks, spacing and comments don't count; secrets are redacted the
way bench.sh does it)
+3 -2
View File
@@ -1,8 +1,9 @@
# Results
Result folders exactly as [bench-standard](https://git.linxweiler.xyz/miga/benchmarks)'s
`bench.sh` writes them, in the folder of the GPU they ran on:
`<gpu>/results/<YYMMDD>_<submitter>_<model>_<engine>_<N>x-<gpu>[_quick][_N]/`.
`bench.sh` writes them, in the folder of the setup they ran on:
`<gpu>/results/<run>/`, or `mixed/<setup>/results/<run>/` for different GPUs. bench.sh names
a run `<YYMMDD>_<submitter>_<model>_<engine>_<N>x-<gpu>[_quick][_N]`.
| file | what |
|---|---|
+3
View File
@@ -22,6 +22,9 @@ note = "optional: why it lost"
<!-- /cookbook:tried -->
```
For a mixed setup the file is `mixed/<setup>/<model>/tried.md` and `gpu` is the list of
cards, as in its recipes. One `tried.md` covers every GPU count of a model.
- Change **one thing** per entry, against the recipe's launch command.
- Quick runs are fine here: they show a direction. A variant that wins needs a
`--full` run and becomes the new recipe, and the old recipe's run goes in here.
@@ -0,0 +1,82 @@
+++
title = "Qwen3.8-27B on Arc Pro B60 + Arc B580 with llama.cpp, single user"
summary = "36 GB from two different cards: layers split 2:1 by VRAM."
model = "Qwen3.8-27B"
quant = "UD-Q4_K_M"
kv = "q8_0"
engine = "llama.cpp"
gpu = ["Arc Pro B60", "Arc B580"]
pp = 2
profile = "single-user"
spec = "none"
thinking = "default"
topology = ["Gen5 x8 CPU", "Gen4 x8 CPU"]
results = ["261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60"]
+++
A B60 with a spare B580 next to it: 24 + 12 GB is room for the 27B with a 32k context.
vLLM's tensor parallelism wants equal cards, so this is a llama.cpp layer split, with
the share of layers set by each card's VRAM.
<!-- cookbook:numbers -->
> **Demo data.** These numbers are synthetic, made by `tools/demo/make_demo.py` to show the layout. Nothing here was measured.
**decode at batch 1: 16.4 t/s** · one submitter · 1 run
| metric | first run |
|---|---|
| GPUs | Arc B580 + Arc Pro B60 · tp 1 · pp 2 |
| PCIe topology (declared) | Gen5 x8 CPU · Gen4 x8 CPU |
| decode at batch 1 (median) | 16.4 t/s |
| time to first token (median) | 301 ms |
| concurrency, aggregate | 1: 16 · 2: 16 · 4: 16 · 8: 16 t/s |
| prefill | 2k: 679 · 8k: 503 · 16k: 413 · 32k: 328 t/s |
| decode at batch 1 per GPU | 8.2 t/s |
| memory bandwidth reached | n/a: bench-standard computes it for tensor parallel over equal GPUs only |
| decode energy | n/a: bench-standard samples the power of one GPU |
| run | submitter | date | decode at batch 1 | TTFT | report |
|---|---|---|---|---|---|
| `261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60` | demo | 2026-10-28 | 16.4 t/s | 301 ms | [html](../results/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60.html) |
Reproduce it: start the server with the launch command below, save that command as `server-cmd.txt`, then run [bench-standard](https://git.linxweiler.xyz/miga/benchmarks):
```sh
./bench.sh --endpoint http://localhost:8080/v1 --model qwen3.8-27b \
--tp 1 --pp 2 --quant UD-Q4_K_M --kv q8_0 --spec none --thinking default \
--submitter YOUR_NAME --server-cmd-file server-cmd.txt --full
```
bench.sh records PCIe and power for one GPU only: put the link of every GPU in `--special-notes`, as in the recipe's `topology`.
<!-- /cookbook:numbers -->
## Requirements
- An Arc Pro B60 and an Arc B580, host set up as in [host setup](../../../docs/host-setup.md)
- Docker
- The standard file `Qwen3.8-27B-UD-Q4_K_M.gguf`, as in the
[B65 recipe](../../../arc-pro-b65/qwen3.8-27b/llama.cpp-single-user.md)
## Launch
```sh
docker run --rm --name llm --device /dev/dri -v /models:/models -p 8080:8080 \
-e ZES_ENABLE_SYSMAN=1 -e ZE_AFFINITY_MASK=0,1 \
ghcr.io/ggml-org/llama.cpp:server-intel@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
-m /models/Qwen3.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
-ngl 99 -sm layer -ts 2,1 -c 32768 -np 1 -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 \
--host 0.0.0.0 --port 8080
```
## Why these flags
| flag | why |
|---|---|
| `-sm layer -ts 2,1` | two thirds of the layers on the 24 GB B60, one third on the 12 GB B580 |
| `ZE_AFFINITY_MASK=0,1` | device 0 must be the B60 for `-ts 2,1`; check the order with `xpu-smi discovery` |
## Pitfalls
- bench.sh records the PCIe link, power limit and bandwidth of the first device only.
Declare the other card's in `--special-notes`.
- Decode is set by the slower card's share: the B580's 456 GB/s for its third of the layers.
@@ -0,0 +1,510 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BetterBench — qwen3.8-27b</title>
<style>
:root {
color-scheme: light;
--page:#f9f9f7; --surface:#fcfcfb;
--ink:#0b0b0b; --ink-2:#52514e; --muted:#898781;
--grid:#e1e0d9; --axis:#c3c2b7; --border:rgba(11,11,11,0.10);
--s1:#2a78d6; --s2:#eb6834;
--s1-mid:#86b6ef; --s1-soft:rgba(42,120,214,0.13);
--tip-bg:#ffffff;
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--page:#0d0d0d; --surface:#1a1a19;
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
--s1:#3987e5; --s2:#d95926;
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
--tip-bg:#232322;
}
}
:root[data-theme="dark"] {
color-scheme: dark;
--page:#0d0d0d; --surface:#1a1a19;
--ink:#ffffff; --ink-2:#c3c2b7; --muted:#898781;
--grid:#2c2c2a; --axis:#383835; --border:rgba(255,255,255,0.10);
--s1:#3987e5; --s2:#d95926;
--s1-mid:#256abf; --s1-soft:rgba(57,135,229,0.16);
--tip-bg:#232322;
}
* { box-sizing:border-box; }
body { background:var(--page); color:var(--ink); font-family:var(--sans);
line-height:1.55; margin:0; padding:32px 20px 72px; }
.wrap { max-width:1080px; margin:0 auto; display:flex; flex-direction:column; gap:26px; }
header { display:flex; flex-direction:column; gap:13px; }
.eyebrow { font-family:var(--mono); font-size:11px; letter-spacing:.13em;
text-transform:uppercase; color:var(--muted); }
h1 { font-size:clamp(26px,4vw,36px); line-height:1.12; margin:0;
letter-spacing:-.02em; text-wrap:balance; }
.runbar { display:flex; flex-wrap:wrap; gap:8px; }
.chip { font-family:var(--mono); font-size:12px; color:var(--ink-2);
border:1px solid var(--border); border-radius:6px; padding:4px 9px;
background:var(--surface); display:inline-flex; align-items:center; gap:7px; }
.chip code { font-family:var(--mono); font-size:12px; }
.swatch { width:9px; height:9px; border-radius:2px; flex:none; }
.thin { color:var(--muted); cursor:help; font-weight:400; padding-left:1px; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:13px; }
.tile { background:var(--surface); border:1px solid var(--border); border-radius:10px;
padding:15px 16px; display:flex; flex-direction:column; gap:4px; }
.tile .label { font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
text-transform:uppercase; color:var(--muted); }
.tile .val { font-size:26px; font-weight:600; letter-spacing:-.02em; line-height:1.15; }
.tile .val small { font-size:14px; font-weight:400; color:var(--ink-2); letter-spacing:0; }
.tile .sub { font-family:var(--mono); font-size:11.5px; color:var(--muted); }
figure { margin:0; background:var(--surface); border:1px solid var(--border);
border-radius:10px; padding:18px 18px 14px;
display:flex; flex-direction:column; gap:2px; }
figcaption { display:flex; flex-direction:column; gap:3px; margin-bottom:8px; }
figcaption .t { font-size:15.5px; font-weight:600; letter-spacing:-.01em; }
figcaption .d { font-size:13px; color:var(--ink-2); max-width:76ch; }
.legend { display:flex; gap:16px; flex-wrap:wrap; margin:2px 0 10px; }
.legend span { font-family:var(--mono); font-size:12px; color:var(--ink-2);
display:inline-flex; align-items:center; gap:6px; }
.chartbox { position:relative; width:100%; }
.chartbox svg { display:block; width:100%; height:auto; overflow:visible; }
.note { font-size:12.5px; color:var(--muted); margin:9px 0 0; }
text { font-family:var(--mono); }
.tick { font-size:10.5px; fill:var(--muted); }
.axtitle { font-size:10.5px; fill:var(--muted); letter-spacing:.08em; }
.dlabel { font-size:11px; font-weight:600; }
.gridline { stroke:var(--grid); stroke-width:1; }
.baseline { stroke:var(--axis); stroke-width:1; }
.refline { stroke:var(--muted); stroke-width:1; stroke-dasharray:4 4; }
.cross { stroke:var(--axis); stroke-width:1; stroke-dasharray:3 3; }
.tip { position:absolute; pointer-events:none; opacity:0; transition:opacity .1s ease;
z-index:5; background:var(--tip-bg); border:1px solid var(--border);
border-radius:7px; padding:8px 10px; box-shadow:0 3px 14px rgba(0,0,0,.13);
font-family:var(--mono); font-size:11.5px; color:var(--ink);
white-space:nowrap; min-width:132px; }
.tip .th { color:var(--muted); font-size:10px; letter-spacing:.08em;
text-transform:uppercase; margin-bottom:5px; }
.tip .row { display:flex; align-items:center; gap:10px; justify-content:space-between; }
.tip .nm { display:inline-flex; align-items:center; gap:6px; color:var(--ink-2); }
.tip b { font-weight:600; }
details { background:var(--surface); border:1px solid var(--border);
border-radius:10px; padding:0 18px; }
summary { cursor:pointer; padding:15px 0; font-size:14.5px; font-weight:600;
list-style:none; display:flex; align-items:center; gap:9px; }
summary::-webkit-details-marker { display:none; }
summary::before { content:"\25B8"; color:var(--muted); font-family:var(--mono); }
details[open] summary::before { content:"\25BE"; }
summary:focus-visible { outline:2px solid var(--s1); outline-offset:3px; border-radius:4px; }
.tscroll { overflow-x:auto; padding-bottom:14px; }
table { border-collapse:collapse; width:100%; font-size:12.5px; font-family:var(--mono);
font-variant-numeric:tabular-nums; margin-bottom:10px; }
caption { text-align:left; font-family:var(--sans); font-size:13px; color:var(--ink-2);
padding:10px 0 8px; }
th, td { padding:6px 11px 6px 0; text-align:right; white-space:nowrap; }
th:first-child, td:first-child { text-align:left; }
thead th { color:var(--muted); font-weight:500; font-size:10.5px; letter-spacing:.07em;
text-transform:uppercase; border-bottom:1px solid var(--axis); }
tbody tr + tr td { border-top:1px solid var(--grid); }
tbody td:first-child { color:var(--ink-2); }
footer { font-size:12.5px; color:var(--muted); border-top:1px solid var(--border);
padding-top:16px; }
footer code { font-family:var(--mono); font-size:12px; color:var(--ink-2); }
noscript p { font-size:13px; color:var(--ink-2); }
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
</style>
</head>
<body>
<div class="wrap">
<header>
<div class="eyebrow">BetterBench 0.6.1 · 28 Oct 2026 · 10:00 · arc-demo</div>
<h1>qwen3.8-27b</h1>
<div class="runbar"><span class="chip"><span class="swatch" style="background:var(--s1)"></span>qwen3.8-27b</span><span class="chip"><code>http://localhost:8080/v1</code></span><span class="chip">corpus v1.0</span><span class="chip">20 passes/cat</span><span class="chip">temp 0.7</span><span class="chip">cold prefix cache (nonce)</span><span class="chip">32,768 tok context</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>submitter: demo</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>gpu: 2x Intel Arc B580+Arc Pro B60 · 24 GB · driver 1.17.39395</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>pcie: Gen5 x8 · ReBAR on</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>power_limit: 200 W</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>host: AMD Ryzen 7 7700 · 64 GB RAM · Ubuntu 26.04 LTS · kernel 7.0.0-38-generic</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>engine: llama.cpp b11913-7aca0d2ea · 1 slots · image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>model_file: /models/Qwen3.8-27B-UD-Q4_K_M.gguf · 16.46 GB · standard: Qwen3.8-27B UD-Q4_K_M</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>mem_bw: 402 GB/s measured (torch copy, random, 1024 MiB)</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>parallel: tp 1 · pp 2</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>precision: weights UD-Q4_K_M · kv q8_0</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>launch: b 2048 · ub 512 · fa on · ctk q8_0 · ctv q8_0 · ngl 99 · np 1 · sm layer · ts 2,1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>env_flags: ZES_ENABLE_SYSMAN=1 · ZE_AFFINITY_MASK=0,1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>spec: none</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>thinking: default · reasoning seen</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>greedy_check: identical 3/3 · 1a3a131531b2</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>run: full · concurrency on · bench-standard 0.5.0 · betterbench 0.6.1</span><span class="chip"><span class="swatch" style="background:var(--s2)"></span>special_notes: DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured</span></div>
</header>
<section class="tiles">
<div class="tile">
<span class="label">Combined decode</span>
<span class="val">16.4 <small>t/s</small></span>
<span class="sub">weighted across categories</span>
</div>
<div class="tile">
<span class="label">Combined ITL 1% low</span>
<span class="val">3.3 <small>t/s</small></span>
<span class="sub">the trustworthy tail metric</span>
</div>
<div class="tile">
<span class="label">Combined TTFT p50</span>
<span class="val">301 <small>ms</small></span>
<span class="sub">single-stream, batch = 1</span>
</div>
<div class="tile">
<span class="label">Aggregate @ 8 concurrent</span>
<span class="val">15.9 <small>t/s</small></span>
<span class="sub">48/48 ok</span>
</div>
<div class="tile">
<span class="label">Prefill @ 32,000 tok</span>
<span class="val">328 <small>t/s</small></span>
<span class="sub">median prompt processing</span>
</div>
</section>
<noscript><p>Charts need JavaScript — the full numbers are in the tables below.</p></noscript>
<figure>
<figcaption>
<span class="t">Decode throughput by category</span>
<span class="d">Median per-pass decode t/s at batch = 1, 20 passes per category. The dashed line is the weighted combined score.</span>
</figcaption>
<div class="chartbox" id="cb-decode"></div>
<p class="note">Hover a bar for its IQR and coefficient of variation — a high CV means the category's passes disagree, so read small differences there with care.</p>
</figure>
<figure>
<figcaption>
<span class="t">Inter-token latency range by category</span>
<span class="d">Each bar spans the 1% low to the 99% high instantaneous token rate, with a tick at the median. Wide bars stutter; narrow bars feel smooth.</span>
</figcaption>
<div class="legend"><span><span class="swatch" style="background:var(--s1-mid)"></span>1% low → 99% high</span><span><span class="swatch" style="background:var(--ink)"></span>median</span></div>
<div class="chartbox" id="cb-itl"></div>
</figure>
<figure>
<figcaption>
<span class="t">Aggregate throughput under concurrency</span>
<span class="d">Total tokens/sec across all in-flight requests as load rises — where this flattens is the throughput knee.</span>
</figcaption>
<div class="chartbox" id="cb-conc"></div>
</figure>
<figure>
<figcaption>
<span class="t">Time-to-first-token under concurrency</span>
<span class="d">Queueing shows up here first: p50 is the typical wait, p99 the tail.</span>
</figcaption>
<div class="legend"><span><span class="swatch" style="background:var(--s1)"></span>TTFT p50</span><span><span class="swatch" style="background:var(--s2)"></span>TTFT p99</span></div>
<div class="chartbox" id="cb-ttft"></div>
<p class="note">With a modest request count per level, p99 rests on very few observations — treat a spike as a prompt to re-run, not a conclusion.</p>
</figure>
<figure>
<figcaption>
<span class="t">Prompt processing throughput by depth</span>
<span class="d">Median prefill t/s (prompt tokens ÷ TTFT) at increasing input depth, cold prefix cache. The band spans the 1% low to the 99% high.</span>
</figcaption>
<div class="chartbox" id="cb-prefill"></div>
<p class="note">Skipped depth 64,000 — deeper than the model's context window.</p>
</figure>
<details open>
<summary>Full numbers</summary>
<div class="tscroll">
<table>
<caption>Single-stream, batch = 1</caption>
<thead><tr><th>category</th><th>passes</th><th>TTFT p50</th><th>TTFT p99</th><th>ITL 1% low</th><th>ITL med</th><th>ITL 99% high</th><th>decode med</th><th>±IQR</th><th>CV</th></tr></thead>
<tbody>
<tr><td>chat</td><td>20</td><td>301.5</td><td>335.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.7</td><td>8.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.4</td><td>0.2</td><td>1.0%</td></tr>
<tr><td>code</td><td>20</td><td>298.8</td><td>317.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.7</td><td>7.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.5</td><td>0.2</td><td>1.1%</td></tr>
<tr><td>file edit</td><td>20</td><td>299.0</td><td>321.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.8</td><td>7.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.4</td><td>0.2</td><td>1.1%</td></tr>
<tr><td>json</td><td>20</td><td>301.5</td><td>320.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.9</td><td>7.7<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.5</td><td>0.3</td><td>1.4%</td></tr>
<tr><td>math</td><td>20</td><td>303.5</td><td>322.5<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.9</td><td>8.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.4</td><td>0.3</td><td>1.3%</td></tr>
<tr><td>prose</td><td>20</td><td>301.0</td><td>329.1<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>5.0</td><td>7.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.4</td><td>0.2</td><td>1.5%</td></tr>
<tr><td>reasoning</td><td>20</td><td>301.5</td><td>325.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.6</td><td>8.2<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.3</td><td>0.3</td><td>1.4%</td></tr>
<tr><td>summarization</td><td>20</td><td>303.2</td><td>325.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>3.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.4</td><td>7.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>16.4</td><td>0.2</td><td>1.1%</td></tr>
</tbody>
</table>
<table>
<caption>Concurrency sweep</caption>
<thead><tr><th>level</th><th>ok/req</th><th>aggregate t/s</th><th>TTFT p50</th><th>TTFT p99</th><th>per-req decode med</th></tr></thead>
<tbody>
<tr><td>1</td><td>48/48</td><td>15.8</td><td>295.5</td><td>326.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>15.8</td></tr>
<tr><td>2</td><td>48/48</td><td>16.1</td><td>391.8</td><td>430.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>8.0</td></tr>
<tr><td>4</td><td>48/48</td><td>16.0</td><td>471.6</td><td>528.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>4.0</td></tr>
<tr><td>8</td><td>48/48</td><td>15.9</td><td>571.7</td><td>614.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>2.0</td></tr>
</tbody>
</table>
<table>
<caption>Reasoning / answer split · TTFA is time to the first answer token</caption>
<thead><tr><th>category</th><th>runs w/ split</th><th>reasoning share (est)</th><th>TTFA p50 (ms)</th><th>never reached answer</th></tr></thead>
<tbody>
<tr><td>chat</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>code</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>file edit</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>json</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>math</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>prose</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>reasoning</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
<tr><td>summarization</td><td>20/20</td><td>50%</td><td>—</td><td>0/20</td></tr>
</tbody>
</table>
<table>
<caption>Prefill sweep · cold prefix cache</caption>
<thead><tr><th>target depth</th><th>prompt tok med</th><th>TTFT p50</th><th>PP 1% low</th><th>PP median</th><th>PP 99% high</th></tr></thead>
<tbody>
<tr><td>2,000</td><td>1,553</td><td>2,286.5</td><td>675.4<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>678.9</td><td>682.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>8,000</td><td>6,201</td><td>12,334.2</td><td>500.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>502.7</td><td>507.9<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>16,000</td><td>12,401</td><td>30,030.5</td><td>408.8<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>412.9</td><td>416.3<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>32,000</td><td>24,796</td><td>75,641.3</td><td>324.6<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td><td>327.8</td><td>331.0<span class="thin" title="under-sampled percentile — see the note below the tables">†</span></td></tr>
<tr><td>64,000</td><td>—</td><td>—</td><td>—</td><td><em>skipped</em></td><td>—</td></tr>
</tbody>
</table>
</div>
</details>
<footer>Generated by BetterBench 0.6.1 from a corpus v1.0 run. Corpus hash <code>e332dceff176d033</code>. Combined-score weights — code 0.3, reasoning 0.2, prose 0.15, json 0.15, file_edit 0.1, summarization 0.1. Results are only comparable within a corpus version. Stopped at <code>max_tokens</code>: 160/160 runs (100%) — on a thinking model a truncated run measures the thinking phase, not a complete answer. 24 percentiles are marked † — they rest on fewer samples than <code>n · tail ≥ 5</code> requires (a p99 needs 500 observations), so read them as roughly the worst observed rather than as percentiles. The full list is under <code>sample_gate</code> in the results JSON. See METHODOLOGY.md §sample-size.</footer>
</div>
<script>
"use strict";
const D = {"cats": ["chat", "code", "file edit", "json", "math", "prose", "reasoning", "summarization"], "runs": [20, 20, 20, 20, 20, 20, 20, 20], "decode": [16.37031351007575, 16.488196541891, 16.35494297878553, 16.472844773988264, 16.402667417845556, 16.43564246998149, 16.3247884949728, 16.448478826520756], "decodeIqr": [0.2001243849201657, 0.22598953795509402, 0.20583615708016012, 0.30783988369876525, 0.3186286532752476, 0.18869457711322823, 0.29741036869043924, 0.17144880776157834], "cv": [1.0337748530020165, 1.1075733770555314, 1.0718607839562602, 1.3915791011775198, 1.322919686630044, 1.4659056759683442, 1.3733388739326269, 1.0807821590659132], "itlLow": [3.27890353465801, 3.2826707809473787, 3.3190613694447206, 3.3242470580413537, 3.3285623939020734, 3.279656292020596, 3.3028371371007696, 3.303710066404572], "itlMed": [4.700936922970904, 4.735534906990805, 4.832552623749358, 4.903317763024428, 4.894196021263554, 5.000158158956542, 4.592000744403027, 4.396151049983693], "itlHigh": [8.059135866152182, 7.8918345986514, 7.862506737147155, 7.730813925504192, 7.954090634597644, 7.93451873245683, 8.153324067183245, 7.9373211900403], "batched": false, "updP50": [212.725, 211.17000000000002, 206.93, 203.945, 204.325, 199.995, 217.76999999999998, 227.47500000000002], "updP99": [302.5149, 304.0035, 300.0146, 300.3637, 299.28970000000004, 303.7849, 301.06910000000005, 301.7044], "tokPerUpd": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "ttft50": [301.5246913379044, 298.80857507459, 299.0468928260768, 301.51324105998424, 303.45234183349044, 301.03928219922966, 301.5337908982914, 303.23051220114075], "combined": 16.42803192868795, "conc": {"levels": [1, 2, 4, 8], "agg": [15.831223086411482, 16.07387438081645, 16.01503509642685, 15.907148851961828], "t50": [295.50873413791504, 391.81764680334607, 471.58728640961397, 571.7089076072634], "t99": [326.62348443026553, 430.2946179129405, 528.0354384637502, 614.838128088228], "per": [15.799250932795774, 8.009767216121155, 3.993361882205127, 1.99055492734903], "ok": [48, 48, 48, 48], "req": [48, 48, 48, 48]}, "pre": {"depths": [2000, 8000, 16000, 32000], "tok": [1553.0, 6201.0, 12401.0, 24796.5], "low": [675.3565156367841, 499.97042390937673, 408.82011799200455, 324.6463324342869], "med": [678.9362050431866, 502.6728032611123, 412.89747825829204, 327.8102391350566], "high": [682.8766282757899, 507.93742794265773, 416.3052986025797, 331.03268076589615], "t50": [2286.493579222186, 12334.230906725279, 30030.459339138622, 75641.3444821377]}};
const NS = "http://www.w3.org/2000/svg";
const el = (n, a) => { const e = document.createElementNS(NS, n);
for (const k in a) e.setAttribute(k, a[k]); return e; };
const fmt = (v, d) => (v === null || v === undefined) ? "—"
: v.toLocaleString("en-US", { minimumFractionDigits: d, maximumFractionDigits: d });
const has = v => v !== null && v !== undefined;
const maxOf = arrs => Math.max(...arrs.flat().filter(has));
const niceTop = v => { if (!(v > 0)) return 1;
const p = Math.pow(10, Math.floor(Math.log10(v)) - 1);
return Math.ceil(v / (2 * p)) * 2 * p; };
const box = id => document.getElementById(id);
function mkTip(b) { const t = document.createElement("div"); t.className = "tip";
b.appendChild(t); return t; }
function showTip(tip, b, x, y, html) {
tip.innerHTML = html; tip.style.opacity = "1";
let left = x + 14;
if (left + tip.offsetWidth > b.clientWidth) left = x - tip.offsetWidth - 14;
tip.style.left = Math.max(0, left) + "px";
tip.style.top = Math.max(0, y - tip.offsetHeight - 10) + "px";
}
const row = (color, name, val) =>
`<div class="row"><span class="nm">${color
? `<span class="swatch" style="background:${color}"></span>` : ""}${name}</span><b>${val}</b></div>`;
function frame(svg, M, iw, ih, yMin, yMax, yTitle, ticks) {
for (let k = 0; k <= (ticks || 4); k++) {
const v = yMin + ((yMax - yMin) * k) / (ticks || 4);
const y = M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "gridline" }));
const tx = el("text", { x: M.l - 10, y: y + 3.5, class: "tick", "text-anchor": "end" });
tx.textContent = fmt(v, v < 10 ? 1 : 0); svg.appendChild(tx);
}
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: M.t + ih, y2: M.t + ih, class: "baseline" }));
const ay = el("text", { x: M.l, y: M.t - 7, class: "axtitle" });
ay.textContent = yTitle; svg.appendChild(ay);
}
function xLabels(svg, labels, X, y) {
labels.forEach((lab, i) => {
const t = el("text", { x: X(i), y: y, class: "tick", "text-anchor": "middle" });
t.textContent = lab; svg.appendChild(t);
});
}
/* --- grouped / single bars, zero-based --- */
function bars(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = o.height || 340, M = { t: 20, r: 16, b: 50, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMax = o.yMax;
const Y = v => M.t + ih - (ih * v) / yMax;
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
const band = iw / n, ns = o.series.length, GAP = 2;
const bw = Math.min(40, (band - 24 - GAP * (ns - 1)) / ns);
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
if (has(o.ref)) {
const y = Y(o.ref);
svg.appendChild(el("line", { x1: M.l, x2: M.l + iw, y1: y, y2: y, class: "refline" }));
const t = el("text", { x: M.l + iw, y: y - 6, class: "tick", "text-anchor": "end" });
t.textContent = o.refLabel; svg.appendChild(t);
}
const tip = mkTip(b);
o.x.forEach((lab, i) => {
const cx = M.l + band * i + band / 2;
const start = cx - (ns * bw + (ns - 1) * GAP) / 2;
o.series.forEach((s, si) => {
const v = s.v[i]; if (!has(v)) return;
const x = start + si * (bw + GAP);
const r = el("rect", { x: x, y: Y(v), width: bw, height: Math.max(2, ih - (Y(v) - M.t)),
rx: 4, ry: 4, fill: s.color });
r.style.cursor = "crosshair";
const html = `<div class="th">${lab}</div>` +
o.series.map(q => row(ns > 1 ? q.color : null, q.name, o.tipVal(q.v[i]))).join("") +
(o.extra ? o.extra(i) : "");
r.addEventListener("pointerenter", () => {
const rc = svg.getBoundingClientRect();
showTip(tip, b, ((x + bw / 2) / W) * rc.width, (Y(v) / H) * rc.height, html);
});
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
svg.appendChild(r);
});
});
b.appendChild(svg);
}
/* --- floating range bars with a median tick --- */
function rangeBars(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = 340, M = { t: 20, r: 16, b: 50, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMax = o.yMax;
const Y = v => M.t + ih - (ih * v) / yMax;
frame(svg, M, iw, ih, 0, yMax, o.yTitle);
const band = iw / n, bw = Math.min(34, band - 26);
xLabels(svg, o.x, i => M.l + band * i + band / 2, M.t + ih + 20);
const tip = mkTip(b);
o.x.forEach((lab, i) => {
const lo = o.low[i], hi = o.high[i], md = o.med[i];
if (!has(lo) || !has(hi)) return;
const cx = M.l + band * i + band / 2, x = cx - bw / 2;
const r = el("rect", { x: x, y: Y(hi), width: bw, height: Math.max(3, Y(lo) - Y(hi)),
rx: 4, ry: 4, fill: "var(--s1-mid)" });
r.style.cursor = "crosshair";
svg.appendChild(r);
if (has(md)) svg.appendChild(el("line", { x1: x, x2: x + bw, y1: Y(md), y2: Y(md),
stroke: "var(--ink)", "stroke-width": 2 }));
const html = `<div class="th">${lab}</div>` +
row(null, "99% high", o.tipVal(hi)) + row(null, "median", o.tipVal(md)) +
row(null, "1% low", o.tipVal(lo)) + (o.extra ? o.extra(i) : "");
r.addEventListener("pointerenter", () => {
const rc = svg.getBoundingClientRect();
showTip(tip, b, (cx / W) * rc.width, (Y(hi) / H) * rc.height, html);
});
r.addEventListener("pointerleave", () => { tip.style.opacity = "0"; });
});
b.appendChild(svg);
}
/* --- line chart with optional band --- */
function line(id, o) {
const b = box(id); if (!b) return;
const W = 900, H = 320, M = { t: 20, r: 24, b: 52, l: 64 };
const iw = W - M.l - M.r, ih = H - M.t - M.b;
const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, role: "img", "aria-label": o.aria });
const n = o.x.length, yMin = o.yMin, yMax = o.yMax;
const X = i => M.l + (n === 1 ? iw / 2 : (iw * i) / (n - 1));
const Y = v => M.t + ih - (ih * (v - yMin)) / (yMax - yMin);
frame(svg, M, iw, ih, yMin, yMax, o.yTitle);
xLabels(svg, o.x, X, M.t + ih + 20);
if (o.xTitle) {
const t = el("text", { x: M.l, y: H - 8, class: "axtitle" });
t.textContent = o.xTitle; svg.appendChild(t);
}
if (o.band && o.band.low.every(has) && o.band.high.every(has)) {
const up = o.band.high.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" ");
const dn = o.band.low.map((v, i) => "L" + X(n - 1 - i) + " " + Y(o.band.low[n - 1 - i])).join(" ");
svg.appendChild(el("path", { d: up + " " + dn + " Z", fill: "var(--s1-soft)", stroke: "none" }));
}
svg.appendChild(el("path", {
d: o.v.map((v, i) => (i ? "L" : "M") + X(i) + " " + Y(v)).join(" "),
fill: "none", stroke: "var(--s1)", "stroke-width": 2,
"stroke-linejoin": "round", "stroke-linecap": "round" }));
o.v.forEach((v, i) => svg.appendChild(el("circle", {
cx: X(i), cy: Y(v), r: 5, fill: "var(--s1)", stroke: "var(--surface)", "stroke-width": 2 })));
const cross = el("line", { class: "cross", y1: M.t, y2: M.t + ih, opacity: 0 });
svg.appendChild(cross);
const hit = el("rect", { x: M.l, y: M.t, width: iw, height: ih, fill: "transparent" });
svg.appendChild(hit);
b.appendChild(svg);
const tip = mkTip(b);
hit.addEventListener("pointermove", ev => {
const rc = svg.getBoundingClientRect();
const px = ((ev.clientX - rc.left) / rc.width) * W;
let i = 0, best = Infinity;
for (let k = 0; k < n; k++) { const d = Math.abs(X(k) - px); if (d < best) { best = d; i = k; } }
cross.setAttribute("x1", X(i)); cross.setAttribute("x2", X(i)); cross.setAttribute("opacity", 1);
showTip(tip, b, (X(i) / W) * rc.width, (Y(o.v[i]) / H) * rc.height,
`<div class="th">${o.tipHead(i)}</div>` + o.tipBody(i));
});
hit.addEventListener("pointerleave", () => { tip.style.opacity = "0"; cross.setAttribute("opacity", 0); });
}
/* ------------------------------ build ------------------------------ */
if (D.cats.length) {
bars("cb-decode", {
aria: "Median decode throughput per category.",
x: D.cats, yTitle: "DECODE T/S (MEDIAN)",
yMax: niceTop(maxOf([D.decode])), height: 350,
ref: D.combined, refLabel: "combined " + fmt(D.combined, 1),
series: [{ name: "decode t/s", color: "var(--s1)", v: D.decode }],
tipVal: v => fmt(v, 1) + " t/s",
extra: i => row(null, "±IQR", fmt(D.decodeIqr[i], 1)) +
row(null, "CV", fmt(D.cv[i], 1) + "%") +
row(null, "passes", D.runs[i])
});
if (D.batched) {
/* Grouped bars, not a floating range bar: p50 and p99 can differ by two
orders of magnitude (a 17 ms rhythm against a 1.3 s stall), and a bar
floating between them collapses the p50 end onto the axis. */
bars("cb-itl", {
aria: "Stream-update gap p50 and p99 by category.",
x: D.cats, yTitle: "UPDATE GAP (MS)",
yMax: niceTop(maxOf([D.updP99, D.updP50])), height: 320,
series: [{ name: "p50", color: "var(--s1)", v: D.updP50 },
{ name: "p99", color: "var(--s2)", v: D.updP99 }],
tipVal: v => fmt(v, 1) + " ms",
extra: i => row(null, "tok/update", fmt(D.tokPerUpd[i], 2)) +
row(null, "passes", D.runs[i])
});
} else {
rangeBars("cb-itl", {
aria: "Inter-token latency range per category, 1% low to 99% high.",
x: D.cats, yTitle: "INSTANTANEOUS T/S",
yMax: niceTop(maxOf([D.itlHigh])),
low: D.itlLow, med: D.itlMed, high: D.itlHigh,
tipVal: v => fmt(v, 1) + " t/s",
extra: i => row(null, "spread", has(D.itlHigh[i]) && has(D.itlLow[i])
? fmt(D.itlHigh[i] - D.itlLow[i], 1) + " t/s" : "—")
});
}
}
if (D.conc.levels.length > 1) {
line("cb-conc", {
aria: "Aggregate throughput as concurrency rises.",
x: D.conc.levels.map(String), xTitle: "CONCURRENCY LEVEL",
yTitle: "AGGREGATE T/S", yMin: 0, yMax: niceTop(maxOf([D.conc.agg])),
v: D.conc.agg,
tipHead: i => "concurrency " + D.conc.levels[i] + " · " + D.conc.ok[i] + "/" + D.conc.req[i] + " ok",
tipBody: i => row(null, "aggregate", fmt(D.conc.agg[i], 1) + " t/s") +
row(null, "per-req", fmt(D.conc.per[i], 1) + " t/s") +
row(null, "TTFT p50", fmt(D.conc.t50[i], 1) + " ms")
});
bars("cb-ttft", {
aria: "TTFT p50 and p99 by concurrency level.",
x: D.conc.levels.map(String), yTitle: "TTFT (MS)",
yMax: niceTop(maxOf([D.conc.t99, D.conc.t50])), height: 300,
series: [{ name: "p50", color: "var(--s1)", v: D.conc.t50 },
{ name: "p99", color: "var(--s2)", v: D.conc.t99 }],
tipVal: v => fmt(v, 1) + " ms",
extra: i => row(null, "requests", D.conc.ok[i] + "/" + D.conc.req[i])
});
}
if (D.pre.depths.length > 1) {
const lo = Math.min(...D.pre.low.filter(has).concat(D.pre.med.filter(has)));
const hi = Math.max(...D.pre.high.filter(has).concat(D.pre.med.filter(has)));
const pad = (hi - lo) * 0.25 || hi * 0.1;
line("cb-prefill", {
aria: "Prefill throughput by input depth.",
x: D.pre.depths.map(d => d >= 1000 ? (d / 1000) + "k" : String(d)),
xTitle: "TARGET INPUT DEPTH (TOKENS)", yTitle: "PP T/S (MEDIAN)",
yMin: Math.max(0, lo - pad), yMax: hi + pad,
v: D.pre.med, band: { low: D.pre.low, high: D.pre.high },
tipHead: i => D.pre.depths[i].toLocaleString() + " target · "
+ fmt(D.pre.tok[i], 0) + " actual tok",
tipBody: i => row(null, "99% high", fmt(D.pre.high[i], 1)) +
row(null, "median", fmt(D.pre.med[i], 1)) +
row(null, "1% low", fmt(D.pre.low[i], 1)) +
row(null, "TTFT p50", fmt(D.pre.t50[i], 0) + " ms")
});
}
</script>
</body>
</html>
@@ -0,0 +1 @@
Synthetic result made by tools/demo/make_demo.py. Nothing here was measured. Delete this folder once real results replace it.
@@ -0,0 +1,30 @@
DEMO: synthetic run, no BetterBench output. Progress lines as BetterBench prints them:
[single] chat: warmup 3 + 20 runs
[single] code: warmup 3 + 20 runs
[single] file_edit: warmup 3 + 20 runs
[single] json: warmup 3 + 20 runs
[single] math: warmup 3 + 20 runs
[single] prose: warmup 3 + 20 runs
[single] reasoning: warmup 3 + 20 runs
[single] summarization: warmup 3 + 20 runs
[prefill] depth ~2000 tok: warmup 2 + 8
[prefill] depth ~8000 tok: warmup 2 + 8
[prefill] depth ~16000 tok: warmup 2 + 8
[prefill] depth ~32000 tok: warmup 2 + 8
[prefill] skip depth ~64000: needs more context than 32768
[concurrency] level 1: 48 requests
[concurrency] level 2: 48 requests
[concurrency] level 4: 48 requests
[concurrency] level 8: 48 requests
qwen3.8-27b · llama.cpp b11913-7aca0d2ea · 1 slots · image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000
2x Intel Arc B580+Arc Pro B60 · 24 GB · driver 1.17.39395 · 200 W limit
full · concurrency on · bench-standard 0.5.0 · betterbench 0.6.1 · greedy identical 3/3 · 1a3a131531b2
decode (batch 1) 16.4 t/s TTFT p50 301 ms
concurrency 1: 16 t/s 2: 16 t/s 4: 16 t/s 8: 16 t/s
prefill 2k: 679 t/s 8k: 503 t/s 16k: 413 t/s 32k: 328 t/s
bandwidth 270 GB/s effective = 67% of 402 GB/s (weights 16.46 GB, stored files)
power avg 128.1 W, peak 200 W · clock avg 2303 MHz (2100-2400)
energy decode 6.785 J/tok at 110.1 W · prefill 520.722 J/1k tok
energy by conc. 1: 6.963 J/tok 2: 7.67 J/tok 4: 8.52 J/tok 8: 9.42 J/tok
energy (total) 1397.4 kJ, 9.588 J per output token over the whole run
@@ -0,0 +1,21 @@
{
"temperature": 0.7,
"top_p": 0.95,
"top_k": 20,
"greedy": false,
"warmup": 3,
"runs_per_category": 20,
"unique_nonce": true,
"run_concurrency": true,
"concurrency_levels": [1, 2, 4, 8],
"concurrency_requests": 48,
"weights": {
"code": 0.30, "reasoning": 0.20, "prose": 0.15,
"json": 0.15, "file_edit": 0.10, "summarization": 0.10
},
"conf": 0.95,
"target_mde_pct": 1.0,
"ab_max_pairs": 200,
"ab_min_pairs": 12,
"timeout_s": 600.0
}
@@ -0,0 +1,234 @@
{
"bench_standard": "0.5.0",
"created": "2026-10-28T10:00:00+0200",
"endpoint": "http://localhost:8080/v1",
"model": "qwen3.8-27b",
"name": "qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60",
"notes": {
"submitter": "demo",
"gpu": "2x Intel Arc B580+Arc Pro B60 \u00b7 24 GB \u00b7 driver 1.17.39395",
"pcie": "Gen5 x8 \u00b7 ReBAR on",
"power_limit": "200 W",
"host": "AMD Ryzen 7 7700 \u00b7 64 GB RAM \u00b7 Ubuntu 26.04 LTS \u00b7 kernel 7.0.0-38-generic",
"engine": "llama.cpp b11913-7aca0d2ea \u00b7 1 slots \u00b7 image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"model_file": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf \u00b7 16.46 GB \u00b7 standard: Qwen3.8-27B UD-Q4_K_M",
"mem_bw": "402 GB/s measured (torch copy, random, 1024 MiB)",
"parallel": "tp 1 \u00b7 pp 2",
"precision": "weights UD-Q4_K_M \u00b7 kv q8_0",
"launch": "b 2048 \u00b7 ub 512 \u00b7 fa on \u00b7 ctk q8_0 \u00b7 ctv q8_0 \u00b7 ngl 99 \u00b7 np 1 \u00b7 sm layer \u00b7 ts 2,1",
"env_flags": "ZES_ENABLE_SYSMAN=1 \u00b7 ZE_AFFINITY_MASK=0,1",
"spec": "none",
"thinking": "default \u00b7 reasoning seen",
"greedy_check": "identical 3/3 \u00b7 1a3a131531b2",
"run": "full \u00b7 concurrency on \u00b7 bench-standard 0.5.0 \u00b7 betterbench 0.6.1",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured"
},
"mandatory": {
"submitter": "demo",
"tp": "1",
"pp": "2",
"quant": "UD-Q4_K_M",
"kv": "q8_0",
"spec": "none",
"thinking": "default",
"power_limit": "200",
"power_limit_source": "detected",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured",
"betterbench": "0.6.1",
"betterbench_build": "v0.6.1",
"bench_standard": "0.5.0",
"run_mode": "full",
"concurrency": "on"
},
"collected": {
"gpu_vendor": "intel",
"gpu_model": "Arc B580+Arc Pro B60",
"gpu_count": "2",
"gpu_vram_gb": "24",
"gpu_driver": "1.17.39395",
"gpu_power_limit_w": "200",
"gpu_bdf": "0000:03:00.0",
"pcie_link": "Gen5 x8",
"pcie_max": "Gen5 x8",
"rebar": "on",
"cpu_model": "AMD Ryzen 7 7700",
"ram_gb": "64",
"os": "Ubuntu 26.04 LTS",
"kernel": "7.0.0-38-generic",
"virt": "none",
"proxy": "none",
"engine": "llama.cpp",
"engine_version": "b11913-7aca0d2ea",
"engine_slots": "1",
"engine_image": "ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"model_file": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf",
"model_bytes": "16460000000",
"model_sha256": "322e194ff79741c7baa497c240f677f54b201b0efab44ca8e50f122b39123482",
"ctx": "32768",
"gpu_mem_bw_gbs": "402",
"gpu_mem_bw_tool": "torch copy, random, 1024 MiB"
},
"measured": {
"greedy_check": "identical",
"greedy_runs": "3",
"greedy_hash": "1a3a131531b2",
"greedy_reasoning": "yes"
},
"launch": {
"engine": "llama.cpp",
"settings": {
"b": "2048",
"ub": "512",
"fa": "on",
"ctk": "q8_0",
"ctv": "q8_0",
"ngl": "99",
"np": "1",
"sm": "layer",
"ts": "2,1"
},
"env": {
"ZES_ENABLE_SYSMAN": "1",
"ZE_AFFINITY_MASK": "0,1"
},
"flags": {
"--rm": true,
"--name": "llm",
"--device": "/dev/dri",
"-v": "/models:/models",
"-p": "8080:8080",
"-m": "/models/Qwen3.8-27B-UD-Q4_K_M.gguf",
"--alias": "qwen3.8-27b",
"-ngl": "99",
"-sm": "layer",
"-ts": "2,1",
"-c": "32768",
"-np": "1",
"-fa": "on",
"-ctk": "q8_0",
"-ctv": "q8_0",
"-b": "2048",
"-ub": "512",
"--host": "0.0.0.0",
"--port": "8080"
}
},
"server_cmd_file": "server-cmd.txt",
"server_cmd_source": "file:server-cmd.txt",
"betterbench_argv": [
"betterbench",
"run",
"--no-update-check",
"--endpoint",
"http://localhost:8080/v1",
"--model",
"qwen3.8-27b",
"--config",
"mixed/1x-arc-b580_1x-arc-pro-b60/results/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60/config.json",
"--name",
"qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60",
"--out",
"mixed/1x-arc-b580_1x-arc-pro-b60/results/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60.json",
"--max-model-len",
"32768",
"--note",
"submitter=demo",
"--note",
"gpu=2x Intel Arc B580+Arc Pro B60 \u00b7 24 GB \u00b7 driver 1.17.39395",
"--note",
"pcie=Gen5 x8 \u00b7 ReBAR on",
"--note",
"power_limit=200 W",
"--note",
"host=AMD Ryzen 7 7700 \u00b7 64 GB RAM \u00b7 Ubuntu 26.04 LTS \u00b7 kernel 7.0.0-38-generic",
"--note",
"engine=llama.cpp b11913-7aca0d2ea \u00b7 1 slots \u00b7 image ghcr.io/ggml-org/llama.cpp:server-intel@000000000000",
"--note",
"model_file=/models/Qwen3.8-27B-UD-Q4_K_M.gguf \u00b7 16.46 GB \u00b7 standard: Qwen3.8-27B UD-Q4_K_M",
"--note",
"mem_bw=402 GB/s measured (torch copy, random, 1024 MiB)",
"--note",
"parallel=tp 1 \u00b7 pp 2",
"--note",
"precision=weights UD-Q4_K_M \u00b7 kv q8_0",
"--note",
"launch=b 2048 \u00b7 ub 512 \u00b7 fa on \u00b7 ctk q8_0 \u00b7 ctv q8_0 \u00b7 ngl 99 \u00b7 np 1 \u00b7 sm layer \u00b7 ts 2,1",
"--note",
"env_flags=ZES_ENABLE_SYSMAN=1 \u00b7 ZE_AFFINITY_MASK=0,1",
"--note",
"spec=none",
"--note",
"thinking=default \u00b7 reasoning seen",
"--note",
"greedy_check=identical 3/3 \u00b7 1a3a131531b2",
"--note",
"run=full \u00b7 concurrency on \u00b7 bench-standard 0.5.0 \u00b7 betterbench 0.6.1",
"--note",
"special_notes=DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured"
],
"post_run": {
"wall_s": 10907.7,
"energy": {
"joules": 1397378,
"source": "energy counter",
"sampled_s": 10906.0,
"avg_w": 128.1,
"peak_w": 200.0,
"output_tokens": 145740,
"j_per_output_token": 9.588,
"avg_mhz": 2303,
"min_mhz": 2100,
"max_mhz": 2400,
"clock_samples": "5454/5454",
"phases": {
"decode": {
"joules": 537915,
"avg_w": 110.1,
"tokens_incl_warmup_est": 79281,
"j_per_token": 6.785
},
"prefill": {
"joules": 234073,
"avg_w": 193.9,
"tokens_incl_warmup_est": 449516,
"j_per_1k_tokens": 520.722
},
"concurrency": {
"1": {
"joules": 133682,
"avg_w": 110.2,
"tokens_incl_warmup_est": 19200,
"j_per_token": 6.963
},
"2": {
"joules": 147255,
"avg_w": 123.3,
"tokens_incl_warmup_est": 19200,
"j_per_token": 7.67
},
"4": {
"joules": 163590,
"avg_w": 136.5,
"tokens_incl_warmup_est": 19200,
"j_per_token": 8.52
},
"8": {
"joules": 180863,
"avg_w": 149.8,
"tokens_incl_warmup_est": 19200,
"j_per_token": 9.42
}
}
}
},
"roofline": {
"decode_tps_median": 16.41,
"weight_bytes": 16460000000,
"weight_source": "stored files",
"mem_bw_gbs": 402.0,
"gpus": 1,
"effective_gbs": 270.1,
"pct_of_mem_bw": 67.2
}
}
}
@@ -0,0 +1,6 @@
docker run --rm --name llm --device /dev/dri -v /models:/models -p 8080:8080 \
-e ZES_ENABLE_SYSMAN=1 -e ZE_AFFINITY_MASK=0,1 \
ghcr.io/ggml-org/llama.cpp:server-intel@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
-m /models/Qwen3.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
-ngl 99 -sm layer -ts 2,1 -c 32768 -np 1 -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 \
--host 0.0.0.0 --port 8080
@@ -0,0 +1,17 @@
1794455200.000 [single] chat: warmup 3 + 20 runs
1794455487.281 [single] code: warmup 3 + 20 runs
1794456333.791 [single] file_edit: warmup 3 + 20 runs
1794456745.762 [single] json: warmup 3 + 20 runs
1794457003.200 [single] math: warmup 3 + 20 runs
1794457710.664 [single] prose: warmup 3 + 20 runs
1794458979.659 [single] reasoning: warmup 3 + 20 runs
1794459827.912 [single] summarization: warmup 3 + 20 runs
1794460087.256 [prefill] depth ~2000 tok: warmup 2 + 8
1794460111.108 [prefill] depth ~8000 tok: warmup 2 + 8
1794460235.361 [prefill] depth ~16000 tok: warmup 2 + 8
1794460536.759 [prefill] depth ~32000 tok: warmup 2 + 8
1794461294.524 [prefill] skip depth ~64000: needs more context than 32768
1794461294.524 [concurrency] level 1: 48 requests
1794462507.317 [concurrency] level 2: 48 requests
1794463701.802 [concurrency] level 4: 48 requests
1794464900.676 [concurrency] level 8: 48 requests
1 1794455200.000 [single] chat: warmup 3 + 20 runs
2 1794455487.281 [single] code: warmup 3 + 20 runs
3 1794456333.791 [single] file_edit: warmup 3 + 20 runs
4 1794456745.762 [single] json: warmup 3 + 20 runs
5 1794457003.200 [single] math: warmup 3 + 20 runs
6 1794457710.664 [single] prose: warmup 3 + 20 runs
7 1794458979.659 [single] reasoning: warmup 3 + 20 runs
8 1794459827.912 [single] summarization: warmup 3 + 20 runs
9 1794460087.256 [prefill] depth ~2000 tok: warmup 2 + 8
10 1794460111.108 [prefill] depth ~8000 tok: warmup 2 + 8
11 1794460235.361 [prefill] depth ~16000 tok: warmup 2 + 8
12 1794460536.759 [prefill] depth ~32000 tok: warmup 2 + 8
13 1794461294.524 [prefill] skip depth ~64000: needs more context than 32768
14 1794461294.524 [concurrency] level 1: 48 requests
15 1794462507.317 [concurrency] level 2: 48 requests
16 1794463701.802 [concurrency] level 4: 48 requests
17 1794464900.676 [concurrency] level 8: 48 requests
+19
View File
@@ -0,0 +1,19 @@
# Mixed setups
<!-- Generated by tools/cookbook.py build from cookbook.toml and this folder. Don't edit. -->
Different Arc GPUs in one server. Each setup has a folder named after its cards, `<N>x-<gpu>_<N>x-<gpu>` in name order (e.g. `1x-arc-b580_1x-arc-pro-b60`), with the same layout as a GPU folder. Several of the *same* GPU go in that GPU's folder.
> **Demo data.** The results in this folder are synthetic, made by `tools/demo/make_demo.py`. Nothing here was measured.
## Recipes
| setup | model | GPUs | profile | engine | headline | status | recipe |
|---|---|---|---|---|---|---|---|
| Arc B580 + Arc Pro B60 | Qwen3.8-27B | 2 | single-user | llama.cpp | 16.4 t/s decode at batch 1 ★ | demo | [Qwen3.8-27B on Arc Pro B60 + Arc B580 with llama.cpp, single user](1x-arc-b580_1x-arc-pro-b60/qwen3.8-27b/llama.cpp-single-user.md) |
## Results
- 1x-arc-b580_1x-arc-pro-b60: [1 result folder](1x-arc-b580_1x-arc-pro-b60/results/)
Host setup for every recipe: [docs/host-setup.md](../docs/host-setup.md).
+77 -7
View File
@@ -55,13 +55,13 @@ footer{margin-top:48px;color:var(--muted);font-size:13px}
<a href="https://git.linxweiler.xyz/miga/benchmarks">bench-standard</a> run in <code>results/</code>.</p>
</header>
<div class="banner"><strong>Demo data.</strong> The results in this build are synthetic, made to show the layout. Nothing here was measured yet.</div>
<div class="filters"><label>gpu<select name="gpu"><option value="">all</option><option>Arc Pro B65</option><option>Arc B580</option></select></label><label>model<select name="model"><option value="">all</option><option>Qwen3.5-9B</option><option>Qwen3.8-27B</option></select></label><label>profile<select name="profile"><option value="">all</option><option>single-user</option><option>throughput</option></select></label></div>
<div class="filters"><label>gpu<select name="gpu"><option value="">all</option><option>Arc Pro B65</option><option>Arc B580</option><option>mixed: Arc B580 + Arc Pro B60</option></select></label><label>model<select name="model"><option value="">all</option><option>Qwen3.5-9B</option><option>Qwen3.8-27B</option></select></label><label>profile<select name="profile"><option value="">all</option><option>single-user</option><option>throughput</option></select></label></div>
<section>
<h2>Fastest setups</h2>
<div class="table"><table><thead><tr><th>GPU</th><th>model</th><th>profile</th><th>engine</th><th>headline</th>
<th>status</th><th>recipe</th></tr></thead><tbody><tr data-gpu="Arc Pro B65" data-model="Qwen3.5-9B" data-profile="single-user"><td>Arc Pro B65</td><td>Qwen3.5-9B</td><td>single-user</td><td>vllm</td><td><strong>118.2 t/s</strong> decode at batch 1 ★</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-5-9b-vllm-single-user">Qwen3.5-9B on Arc Pro B65 with vLLM, single user</a></td></tr><tr data-gpu="Arc Pro B65" data-model="Qwen3.5-9B" data-profile="single-user"><td>Arc Pro B65</td><td>Qwen3.5-9B</td><td>single-user</td><td>llama.cpp</td><td><strong>64.0 t/s</strong> decode at batch 1</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-5-9b-llama-cpp-single-user">Qwen3.5-9B on Arc Pro B65 with llama.cpp, single user</a></td></tr><tr data-gpu="Arc Pro B65" data-model="Qwen3.8-27B" data-profile="single-user"><td>Arc Pro B65</td><td>Qwen3.8-27B</td><td>single-user</td><td>vllm</td><td><strong>84.5 t/s</strong> decode at batch 1 ★</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-8-27b-vllm-single-user">Qwen3.8-27B on Arc Pro B65 with vLLM, single user</a></td></tr><tr data-gpu="Arc Pro B65" data-model="Qwen3.8-27B" data-profile="single-user"><td>Arc Pro B65</td><td>Qwen3.8-27B</td><td>single-user</td><td>llama.cpp</td><td><strong>22.6 t/s</strong> decode at batch 1</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-8-27b-llama-cpp-single-user">Qwen3.8-27B on Arc Pro B65 with llama.cpp, single user</a></td></tr><tr data-gpu="Arc Pro B65" data-model="Qwen3.8-27B" data-profile="throughput"><td>Arc Pro B65</td><td>Qwen3.8-27B</td><td>throughput</td><td>vllm</td><td><strong>294.1 t/s</strong> peak aggregate throughput ★</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-8-27b-vllm-throughput">Qwen3.8-27B on Arc Pro B65 with vLLM, several users</a></td></tr><tr data-gpu="Arc B580" data-model="Qwen3.5-9B" data-profile="single-user"><td>Arc B580</td><td>Qwen3.5-9B</td><td>single-user</td><td>llama.cpp</td><td><strong>48.2 t/s</strong> decode at batch 1 ★</td><td>demo</td><td><a href="#r-arc-b580-qwen3-5-9b-llama-cpp-single-user">Qwen3.5-9B on Arc B580 with llama.cpp, single user</a></td></tr></tbody></table></div>
<p>★ the fastest recipe for that GPU, model and profile.
<strong>Wanted:</strong> Qwen3.5-9B on Arc Pro B70, Qwen3.8-27B on Arc Pro B70, Qwen3.5-9B on Arc Pro B60, Qwen3.8-27B on Arc Pro B60, Qwen3.5-9B on Arc Pro B50, Qwen3.5-9B on Arc B570, Qwen3.5-9B on Arc A770.</p>
<th>status</th><th>recipe</th></tr></thead><tbody><tr data-gpu="Arc Pro B65" data-model="Qwen3.5-9B" data-profile="single-user"><td>Arc Pro B65</td><td>Qwen3.5-9B</td><td>single-user</td><td>vllm</td><td><strong>118.2 t/s</strong> decode at batch 1 ★</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-5-9b-vllm-single-user">Qwen3.5-9B on Arc Pro B65 with vLLM, single user</a></td></tr><tr data-gpu="Arc Pro B65" data-model="Qwen3.5-9B" data-profile="single-user"><td>Arc Pro B65</td><td>Qwen3.5-9B</td><td>single-user</td><td>llama.cpp</td><td><strong>64.0 t/s</strong> decode at batch 1</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-5-9b-llama-cpp-single-user">Qwen3.5-9B on Arc Pro B65 with llama.cpp, single user</a></td></tr><tr data-gpu="Arc Pro B65" data-model="Qwen3.8-27B" data-profile="single-user"><td>Arc Pro B65</td><td>Qwen3.8-27B</td><td>single-user</td><td>vllm</td><td><strong>84.5 t/s</strong> decode at batch 1 ★</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-8-27b-vllm-single-user">Qwen3.8-27B on Arc Pro B65 with vLLM, single user</a></td></tr><tr data-gpu="Arc Pro B65" data-model="Qwen3.8-27B" data-profile="single-user"><td>Arc Pro B65</td><td>Qwen3.8-27B</td><td>single-user</td><td>llama.cpp</td><td><strong>22.6 t/s</strong> decode at batch 1</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-8-27b-llama-cpp-single-user">Qwen3.8-27B on Arc Pro B65 with llama.cpp, single user</a></td></tr><tr data-gpu="Arc Pro B65" data-model="Qwen3.8-27B" data-profile="throughput"><td>Arc Pro B65</td><td>Qwen3.8-27B</td><td>throughput</td><td>vllm</td><td><strong>294.1 t/s</strong> peak aggregate throughput ★</td><td>demo</td><td><a href="#r-arc-pro-b65-qwen3-8-27b-vllm-throughput">Qwen3.8-27B on Arc Pro B65 with vLLM, several users</a></td></tr><tr data-gpu="Arc B580" data-model="Qwen3.5-9B" data-profile="single-user"><td>Arc B580</td><td>Qwen3.5-9B</td><td>single-user</td><td>llama.cpp</td><td><strong>48.2 t/s</strong> decode at batch 1 ★</td><td>demo</td><td><a href="#r-arc-b580-qwen3-5-9b-llama-cpp-single-user">Qwen3.5-9B on Arc B580 with llama.cpp, single user</a></td></tr><tr data-gpu="Arc B580" data-model="Qwen3.8-27B" data-profile="single-user"><td>2× Arc B580</td><td>Qwen3.8-27B</td><td>single-user</td><td>vllm</td><td><strong>51.3 t/s</strong> decode at batch 1 ★</td><td>demo</td><td><a href="#r-arc-b580-qwen3-8-27b-2x-vllm-single-user">Qwen3.8-27B on 2× Arc B580 with vLLM, single user</a></td></tr><tr data-gpu="Arc B580" data-model="Qwen3.8-27B" data-profile="single-user"><td>2× Arc B580</td><td>Qwen3.8-27B</td><td>single-user</td><td>llama.cpp</td><td><strong>15.9 t/s</strong> decode at batch 1</td><td>demo</td><td><a href="#r-arc-b580-qwen3-8-27b-2x-llama-cpp-single-user">Qwen3.8-27B on 2× Arc B580 with llama.cpp, single user</a></td></tr><tr data-gpu="mixed: Arc B580 + Arc Pro B60" data-model="Qwen3.8-27B" data-profile="single-user"><td>Arc B580 + Arc Pro B60</td><td>Qwen3.8-27B</td><td>single-user</td><td>llama.cpp</td><td><strong>16.4 t/s</strong> decode at batch 1 ★</td><td>demo</td><td><a href="#r-mixed-1x-arc-b580-1x-arc-pro-b60-qwen3-8-27b-llama-cpp-single-user">Qwen3.8-27B on Arc Pro B60 + Arc B580 with llama.cpp, single user</a></td></tr></tbody></table></div>
<p>★ the fastest recipe for that GPU setup, model and profile.
<strong>Wanted:</strong> Qwen3.5-9B on Arc Pro B70, Qwen3.8-27B on Arc Pro B70, Qwen3.5-9B on Arc Pro B60, Qwen3.8-27B on Arc Pro B60, Qwen3.5-9B on Arc Pro B50, Qwen3.8-27B on 2× Arc Pro B50, Qwen3.5-9B on Arc B570, Qwen3.5-9B on Arc A770, Qwen3.8-27B on 2× Arc A770.</p>
</section>
<section>
<h2>Recipes</h2>
@@ -214,7 +214,75 @@ cd /models/RedHatAI/Qwen3.8-27B-INT4 &amp;&amp; sha256sum *.safetensors | LC_ALL
<h3 id="arc-b580-qwen3-5-9b-llama-cpp-single-user-why-these-flags">Why these flags</h3>
<p>Same as the <a href="#r-arc-pro-b65-qwen3-5-9b-llama-cpp-single-user">B65 recipe</a>.</p>
<h3 id="arc-b580-qwen3-5-9b-llama-cpp-single-user-pitfalls">Pitfalls</h3>
<ul><li>The B580 has a PCIe 4.0 x8 link. Without ReBAR it is much slower: check <code>lspci -vv</code> as in <a href="../docs/host-setup.md">host setup</a>.</li></ul><p><a href="../arc-b580/qwen3.5-9b/llama.cpp-single-user.md">arc-b580/qwen3.5-9b/llama.cpp-single-user.md</a></p></article>
<ul><li>The B580 has a PCIe 4.0 x8 link. Without ReBAR it is much slower: check <code>lspci -vv</code> as in <a href="../docs/host-setup.md">host setup</a>.</li></ul><p><a href="../arc-b580/qwen3.5-9b/llama.cpp-single-user.md">arc-b580/qwen3.5-9b/llama.cpp-single-user.md</a></p></article><article id="r-arc-b580-qwen3-8-27b-2x-llama-cpp-single-user" data-gpu="Arc B580" data-model="Qwen3.8-27B" data-profile="single-user"><h2>Qwen3.8-27B on 2× Arc B580 with llama.cpp, single user</h2><p>Layer split over two 12 GB cards: simple, little PCIe traffic, but one card works at a time.</p><div class="chips"><span class="chip demo">demo data</span><span class="chip">2× Arc B580</span><span class="chip">PCIe Gen4 x8 CPU · Gen4 x8 CPU</span><span class="chip">llama.cpp</span><span class="chip">UD-Q4_K_M · kv q8_0</span><span class="chip">spec none</span><span class="chip">thinking default</span><span class="chip">tp 1 · pp 2</span></div><p>The first half of the layers on one card, the second half on the other. Only one small activation crosses PCIe per token, but the cards take turns, so decode runs at about the speed of one card reading half the weights, then the other. [<code>-sm row</code>](tried.md) was slower.</p>
<blockquote><p><strong>Demo data.</strong> These numbers are synthetic, made by <code>tools/demo/make_demo.py</code> to show the layout. Nothing here was measured.</p></blockquote>
<p><strong>decode at batch 1: 15.9 t/s</strong> · one submitter · 1 run</p>
<div class="table"><table><thead><tr><th>metric</th><th>first run</th></tr></thead><tbody><tr><td>GPUs</td><td>2× Arc B580 · tp 1 · pp 2</td></tr><tr><td>PCIe topology (declared)</td><td>Gen4 x8 CPU · Gen4 x8 CPU</td></tr><tr><td>decode at batch 1 (median)</td><td>15.9 t/s</td></tr><tr><td>time to first token (median)</td><td>330 ms</td></tr><tr><td>concurrency, aggregate</td><td>1: 15 · 2: 16 · 4: 16 · 8: 16 t/s</td></tr><tr><td>prefill</td><td>2k: 619 · 8k: 459 · 16k: 378 t/s</td></tr><tr><td>decode at batch 1 per GPU</td><td>7.9 t/s</td></tr><tr><td>memory bandwidth reached</td><td>n/a: bench-standard computes it for tensor parallel over equal GPUs only</td></tr><tr><td>decode energy</td><td>n/a: bench-standard samples the power of one GPU</td></tr></tbody></table></div>
<div class="table"><table><thead><tr><th>run</th><th>submitter</th><th>date</th><th>decode at batch 1</th><th>TTFT</th><th>report</th></tr></thead><tbody><tr><td><code>261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580</code></td><td>demo</td><td>2026-10-27</td><td>15.9 t/s</td><td>330 ms</td><td><a href="../arc-b580/results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580.html">html</a></td></tr></tbody></table></div>
<p>Reproduce it: start the server with the launch command below, save that command as <code>server-cmd.txt</code>, then run <a href="https://git.linxweiler.xyz/miga/benchmarks">bench-standard</a>:</p>
<pre><code>./bench.sh --endpoint http://localhost:8080/v1 --model qwen3.8-27b \
--tp 1 --pp 2 --quant UD-Q4_K_M --kv q8_0 --spec none --thinking default \
--submitter YOUR_NAME --server-cmd-file server-cmd.txt --full</code></pre>
<p>bench.sh records PCIe and power for one GPU only: put the link of every GPU in <code>--special-notes</code>, as in the recipe's <code>topology</code>.</p>
<h3 id="arc-b580-qwen3-8-27b-2x-llama-cpp-single-user-requirements">Requirements</h3>
<ul><li>Two Arc B580, host set up as in <a href="../docs/host-setup.md">host setup</a></li><li>Docker</li><li>The standard file <code>Qwen3.8-27B-UD-Q4_K_M.gguf</code>, as in the <a href="#r-arc-pro-b65-qwen3-8-27b-llama-cpp-single-user">B65 recipe</a></li></ul>
<h3 id="arc-b580-qwen3-8-27b-2x-llama-cpp-single-user-launch">Launch</h3>
<pre><code>docker run --rm --name llm --device /dev/dri -v /models:/models -p 8080:8080 \
-e ZES_ENABLE_SYSMAN=1 \
ghcr.io/ggml-org/llama.cpp:server-intel@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
-m /models/Qwen3.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
-ngl 99 -sm layer -ts 1,1 -c 16384 -np 1 -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 \
--host 0.0.0.0 --port 8080</code></pre>
<h3 id="arc-b580-qwen3-8-27b-2x-llama-cpp-single-user-why-these-flags">Why these flags</h3>
<div class="table"><table><thead><tr><th>flag</th><th>why</th></tr></thead><tbody><tr><td><code>-sm layer</code></td><td>whole layers per GPU; declared to bench.sh as <code>--pp 2</code></td></tr><tr><td><code>-ts 1,1</code></td><td>half the layers on each card</td></tr><tr><td><code>-c 16384</code></td><td>what fits next to the weights on 2 × 12 GB</td></tr></tbody></table></div>
<h3 id="arc-b580-qwen3-8-27b-2x-llama-cpp-single-user-pitfalls">Pitfalls</h3>
<ul><li>Declare <code>--tp 1 --pp 2</code> for <code>-sm layer</code>, and <code>--tp 2 --pp 1</code> for <code>-sm row</code>.</li><li>bench.sh's bandwidth figure assumes tensor parallelism, so it's left out here.</li></ul><p><a href="../arc-b580/qwen3.8-27b/2x-llama.cpp-single-user.md">arc-b580/qwen3.8-27b/2x-llama.cpp-single-user.md</a></p></article><article id="r-arc-b580-qwen3-8-27b-2x-vllm-single-user" data-gpu="Arc B580" data-model="Qwen3.8-27B" data-profile="single-user"><h2>Qwen3.8-27B on 2× Arc B580 with vLLM, single user</h2><p>The 27B doesn't fit one 12 GB card: split it over two with tensor parallelism plus MTP.</p><div class="chips"><span class="chip demo">demo data</span><span class="chip">2× Arc B580</span><span class="chip">PCIe Gen4 x8 CPU · Gen4 x8 CPU</span><span class="chip">vllm</span><span class="chip">w4a16 · kv fp16</span><span class="chip">spec mtp:5</span><span class="chip">thinking default</span><span class="chip">tp 2 · pp 1</span></div><p>Two consumer cards for the 27B: 24 GB together, enough for the INT4 weights and a short context. Each card holds half of every layer, and they exchange activations over PCIe after every layer, so the link to the CPU decides how well this scales.</p>
<blockquote><p><strong>Demo data.</strong> These numbers are synthetic, made by <code>tools/demo/make_demo.py</code> to show the layout. Nothing here was measured.</p></blockquote>
<p><strong>decode at batch 1: 51.3 t/s</strong> · one submitter · 1 run</p>
<div class="table"><table><thead><tr><th>metric</th><th>first run</th></tr></thead><tbody><tr><td>GPUs</td><td>2× Arc B580 · tp 2 · pp 1</td></tr><tr><td>PCIe topology (declared)</td><td>Gen4 x8 CPU · Gen4 x8 CPU</td></tr><tr><td>decode at batch 1 (median)</td><td>51.3 t/s</td></tr><tr><td>time to first token (median)</td><td>261 ms</td></tr><tr><td>concurrency, aggregate</td><td>1: 51 · 2: 51 · 4: 52 · 8: 53 t/s</td></tr><tr><td>prefill</td><td>2k: 1,657 t/s</td></tr><tr><td>decode at batch 1 per GPU</td><td>25.7 t/s</td></tr><tr><td>memory bandwidth reached</td><td>n/a: speculative decoding makes several tokens per pass over the weights</td></tr><tr><td>decode energy</td><td>n/a: bench-standard samples the power of one GPU</td></tr></tbody></table></div>
<div class="table"><table><thead><tr><th>run</th><th>submitter</th><th>date</th><th>decode at batch 1</th><th>TTFT</th><th>report</th></tr></thead><tbody><tr><td><code>261027_demo_qwen3.8-27b_vllm_2x-arc-b580</code></td><td>demo</td><td>2026-10-27</td><td>51.3 t/s</td><td>261 ms</td><td><a href="../arc-b580/results/261027_demo_qwen3.8-27b_vllm_2x-arc-b580/261027_demo_qwen3.8-27b_vllm_2x-arc-b580.html">html</a></td></tr></tbody></table></div>
<p>Reproduce it: start the server with the launch command below, save that command as <code>server-cmd.txt</code>, then run <a href="https://git.linxweiler.xyz/miga/benchmarks">bench-standard</a>:</p>
<pre><code>./bench.sh --endpoint http://localhost:8000/v1 --model qwen3.8-27b \
--tp 2 --pp 1 --quant w4a16 --kv fp16 --spec mtp:5 --thinking default \
--submitter YOUR_NAME --server-cmd-file server-cmd.txt --full</code></pre>
<p>bench.sh records PCIe and power for one GPU only: put the link of every GPU in <code>--special-notes</code>, as in the recipe's <code>topology</code>.</p>
<h3 id="arc-b580-qwen3-8-27b-2x-vllm-single-user-requirements">Requirements</h3>
<ul><li>Two Arc B580, both in slots wired to the CPU (see Pitfalls), host set up as in <a href="../docs/host-setup.md">host setup</a></li><li>Docker</li><li>The <code>RedHatAI/Qwen3.8-27B-INT4</code> checkpoint, as in the <a href="#r-arc-pro-b65-qwen3-8-27b-vllm-single-user">B65 recipe</a></li></ul>
<h3 id="arc-b580-qwen3-8-27b-2x-vllm-single-user-launch">Launch</h3>
<pre><code>docker run --rm --name llm --device /dev/dri --ipc=host -v /models:/models -p 8000:8000 \
-e ZE_AFFINITY_MASK=0,1 \
intel/vllm:0.30.0-xpu@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
vllm serve /models/RedHatAI/Qwen3.8-27B-INT4 --served-model-name qwen3.8-27b \
--tensor-parallel-size 2 --dtype float16 --max-model-len 8192 --max-num-seqs 1 \
--gpu-memory-utilization 0.95 \
--speculative-config &#x27;{&quot;method&quot;:&quot;mtp&quot;,&quot;num_speculative_tokens&quot;:5}&#x27; \
--host 0.0.0.0 --port 8000</code></pre>
<h3 id="arc-b580-qwen3-8-27b-2x-vllm-single-user-why-these-flags">Why these flags</h3>
<div class="table"><table><thead><tr><th>flag</th><th>why</th></tr></thead><tbody><tr><td><code>--tensor-parallel-size 2</code></td><td>each GPU holds half of every layer</td></tr><tr><td><code>ZE_AFFINITY_MASK=0,1</code></td><td>the two B580s, as Level Zero numbers them; check with <code>xpu-smi discovery</code></td></tr><tr><td><code>--max-model-len 8192</code></td><td>after the weights, little memory is left per card for the KV cache</td></tr><tr><td><code>--gpu-memory-utilization 0.95</code></td><td>the weights fill most of the 2 × 12 GB</td></tr><tr><td><code>--speculative-config</code> mtp, 5 tokens</td><td>as on one card: drafts are checked in one pass</td></tr></tbody></table></div>
<h3 id="arc-b580-qwen3-8-27b-2x-vllm-single-user-pitfalls">Pitfalls</h3>
<ul><li>A slot wired to the chipset (often the second x16 slot, electrically x4) slows every layer. <code>lspci -vv</code> shows the link width of each card. Declare both in the run's <code>--special-notes</code>: bench.sh reads only the first card.</li><li>Two cards draw twice the power, but bench.sh samples one. The energy figure is left out.</li></ul><p><a href="../arc-b580/qwen3.8-27b/2x-vllm-single-user.md">arc-b580/qwen3.8-27b/2x-vllm-single-user.md</a></p></article><article id="r-mixed-1x-arc-b580-1x-arc-pro-b60-qwen3-8-27b-llama-cpp-single-user" data-gpu="mixed: Arc B580 + Arc Pro B60" data-model="Qwen3.8-27B" data-profile="single-user"><h2>Qwen3.8-27B on Arc Pro B60 + Arc B580 with llama.cpp, single user</h2><p>36 GB from two different cards: layers split 2:1 by VRAM.</p><div class="chips"><span class="chip demo">demo data</span><span class="chip">Arc B580 + Arc Pro B60</span><span class="chip">PCIe Gen5 x8 CPU · Gen4 x8 CPU</span><span class="chip">llama.cpp</span><span class="chip">UD-Q4_K_M · kv q8_0</span><span class="chip">spec none</span><span class="chip">thinking default</span><span class="chip">tp 1 · pp 2</span></div><p>A B60 with a spare B580 next to it: 24 + 12 GB is room for the 27B with a 32k context. vLLM's tensor parallelism wants equal cards, so this is a llama.cpp layer split, with the share of layers set by each card's VRAM.</p>
<blockquote><p><strong>Demo data.</strong> These numbers are synthetic, made by <code>tools/demo/make_demo.py</code> to show the layout. Nothing here was measured.</p></blockquote>
<p><strong>decode at batch 1: 16.4 t/s</strong> · one submitter · 1 run</p>
<div class="table"><table><thead><tr><th>metric</th><th>first run</th></tr></thead><tbody><tr><td>GPUs</td><td>Arc B580 + Arc Pro B60 · tp 1 · pp 2</td></tr><tr><td>PCIe topology (declared)</td><td>Gen5 x8 CPU · Gen4 x8 CPU</td></tr><tr><td>decode at batch 1 (median)</td><td>16.4 t/s</td></tr><tr><td>time to first token (median)</td><td>301 ms</td></tr><tr><td>concurrency, aggregate</td><td>1: 16 · 2: 16 · 4: 16 · 8: 16 t/s</td></tr><tr><td>prefill</td><td>2k: 679 · 8k: 503 · 16k: 413 · 32k: 328 t/s</td></tr><tr><td>decode at batch 1 per GPU</td><td>8.2 t/s</td></tr><tr><td>memory bandwidth reached</td><td>n/a: bench-standard computes it for tensor parallel over equal GPUs only</td></tr><tr><td>decode energy</td><td>n/a: bench-standard samples the power of one GPU</td></tr></tbody></table></div>
<div class="table"><table><thead><tr><th>run</th><th>submitter</th><th>date</th><th>decode at batch 1</th><th>TTFT</th><th>report</th></tr></thead><tbody><tr><td><code>261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60</code></td><td>demo</td><td>2026-10-28</td><td>16.4 t/s</td><td>301 ms</td><td><a href="../mixed/1x-arc-b580_1x-arc-pro-b60/results/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60.html">html</a></td></tr></tbody></table></div>
<p>Reproduce it: start the server with the launch command below, save that command as <code>server-cmd.txt</code>, then run <a href="https://git.linxweiler.xyz/miga/benchmarks">bench-standard</a>:</p>
<pre><code>./bench.sh --endpoint http://localhost:8080/v1 --model qwen3.8-27b \
--tp 1 --pp 2 --quant UD-Q4_K_M --kv q8_0 --spec none --thinking default \
--submitter YOUR_NAME --server-cmd-file server-cmd.txt --full</code></pre>
<p>bench.sh records PCIe and power for one GPU only: put the link of every GPU in <code>--special-notes</code>, as in the recipe's <code>topology</code>.</p>
<h3 id="mixed-1x-arc-b580-1x-arc-pro-b60-qwen3-8-27b-llama-cpp-single-user-requirements">Requirements</h3>
<ul><li>An Arc Pro B60 and an Arc B580, host set up as in <a href="../docs/host-setup.md">host setup</a></li><li>Docker</li><li>The standard file <code>Qwen3.8-27B-UD-Q4_K_M.gguf</code>, as in the <a href="#r-arc-pro-b65-qwen3-8-27b-llama-cpp-single-user">B65 recipe</a></li></ul>
<h3 id="mixed-1x-arc-b580-1x-arc-pro-b60-qwen3-8-27b-llama-cpp-single-user-launch">Launch</h3>
<pre><code>docker run --rm --name llm --device /dev/dri -v /models:/models -p 8080:8080 \
-e ZES_ENABLE_SYSMAN=1 -e ZE_AFFINITY_MASK=0,1 \
ghcr.io/ggml-org/llama.cpp:server-intel@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
-m /models/Qwen3.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
-ngl 99 -sm layer -ts 2,1 -c 32768 -np 1 -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 \
--host 0.0.0.0 --port 8080</code></pre>
<h3 id="mixed-1x-arc-b580-1x-arc-pro-b60-qwen3-8-27b-llama-cpp-single-user-why-these-flags">Why these flags</h3>
<div class="table"><table><thead><tr><th>flag</th><th>why</th></tr></thead><tbody><tr><td><code>-sm layer -ts 2,1</code></td><td>two thirds of the layers on the 24 GB B60, one third on the 12 GB B580</td></tr><tr><td><code>ZE_AFFINITY_MASK=0,1</code></td><td>device 0 must be the B60 for <code>-ts 2,1</code>; check the order with <code>xpu-smi discovery</code></td></tr></tbody></table></div>
<h3 id="mixed-1x-arc-b580-1x-arc-pro-b60-qwen3-8-27b-llama-cpp-single-user-pitfalls">Pitfalls</h3>
<ul><li>bench.sh records the PCIe link, power limit and bandwidth of the first device only. Declare the other card's in <code>--special-notes</code>.</li><li>Decode is set by the slower card's share: the B580's 456 GB/s for its third of the layers.</li></ul><p><a href="../mixed/1x-arc-b580_1x-arc-pro-b60/qwen3.8-27b/llama.cpp-single-user.md">mixed/1x-arc-b580_1x-arc-pro-b60/qwen3.8-27b/llama.cpp-single-user.md</a></p></article>
</section>
<section>
<h2>Tried and lost</h2>
@@ -224,6 +292,8 @@ cd /models/RedHatAI/Qwen3.8-27B-INT4 &amp;&amp; sha256sum *.safetensors | LC_ALL
<blockquote><p><strong>Demo data.</strong> These runs are synthetic. Nothing here was measured.</p></blockquote></article><article id="t-arc-pro-b65-qwen3-8-27b-tried-md" data-gpu="Arc Pro B65" data-model="Qwen3.8-27B"><h2>Qwen3.8-27B on Arc Pro B65: what lost</h2><p>Every variant someone tried against a recipe for this model and card, with the run that shows it. Add yours when you try something: a loss saves the next person the run.</p>
<p>Quick runs unless marked full: good for a direction, not for exact numbers.</p>
<div class="table"><table><thead><tr><th>change</th><th>decode t/s</th><th>TTFT</th><th>peak t/s</th><th>vs. the recipe</th><th>run</th></tr></thead><tbody><tr><td>no speculative decoding — the baseline: bandwidth-bound like llama.cpp</td><td>30.9</td><td>185 ms</td><td>31</td><td>-63% decode at batch 1 vs <a href="#r-arc-pro-b65-qwen3-8-27b-vllm-single-user">vllm-single-user</a></td><td><a href="../arc-pro-b65/results/261022_demo_qwen3.8-27b_vllm_1x-arc-pro-b65_quick/261022_demo_qwen3.8-27b_vllm_1x-arc-pro-b65_quick.html">2026-10-22</a></td></tr><tr><td>MTP with 3 draft tokens</td><td>76.1</td><td>190 ms</td><td>76</td><td>-10% decode at batch 1 vs <a href="#r-arc-pro-b65-qwen3-8-27b-vllm-single-user">vllm-single-user</a></td><td><a href="../arc-pro-b65/results/261022_demo_qwen3.8-27b_vllm_1x-arc-pro-b65_quick_2/261022_demo_qwen3.8-27b_vllm_1x-arc-pro-b65_quick_2.html">2026-10-22</a></td></tr><tr><td>MTP with 7 draft tokens — more drafts rejected on prose</td><td>79.4</td><td>194 ms</td><td>80</td><td>-6% decode at batch 1 vs <a href="#r-arc-pro-b65-qwen3-8-27b-vllm-single-user">vllm-single-user</a></td><td><a href="../arc-pro-b65/results/261022_demo_qwen3.8-27b_vllm_1x-arc-pro-b65_quick_3/261022_demo_qwen3.8-27b_vllm_1x-arc-pro-b65_quick_3.html">2026-10-22</a></td></tr><tr><td><code>-ub 1024</code> instead of 512 — prefill faster, decode the same</td><td>22.4</td><td>199 ms</td><td>22</td><td>-1% decode at batch 1 vs <a href="#r-arc-pro-b65-qwen3-8-27b-llama-cpp-single-user">llama.cpp-single-user</a></td><td><a href="../arc-pro-b65/results/261021_demo_qwen3.8-27b_llama.cpp_1x-arc-pro-b65_quick/261021_demo_qwen3.8-27b_llama.cpp_1x-arc-pro-b65_quick.html">2026-10-21</a></td></tr><tr><td>f16 KV cache instead of q8_0 — within noise, at twice the KV memory</td><td>22.7</td><td>206 ms</td><td>23</td><td>+1% decode at batch 1 vs <a href="#r-arc-pro-b65-qwen3-8-27b-llama-cpp-single-user">llama.cpp-single-user</a></td><td><a href="../arc-pro-b65/results/261021_demo_qwen3.8-27b_llama.cpp_1x-arc-pro-b65_quick_2/261021_demo_qwen3.8-27b_llama.cpp_1x-arc-pro-b65_quick_2.html">2026-10-21</a></td></tr></tbody></table></div>
<blockquote><p><strong>Demo data.</strong> These runs are synthetic. Nothing here was measured.</p></blockquote></article><article id="t-arc-b580-qwen3-8-27b-tried-md" data-gpu="Arc B580" data-model="Qwen3.8-27B"><h2>Qwen3.8-27B on Arc B580: what lost</h2><p>Quick runs unless marked full: good for a direction, not for exact numbers.</p>
<div class="table"><table><thead><tr><th>change</th><th>decode t/s</th><th>TTFT</th><th>peak t/s</th><th>vs. the recipe</th><th>run</th></tr></thead><tbody><tr><td><code>-sm row</code> instead of <code>-sm layer</code> — splits every layer: PCIe traffic per layer outweighs both cards working</td><td>11.8</td><td>407 ms</td><td>12</td><td>-26% decode at batch 1 vs <a href="#r-arc-b580-qwen3-8-27b-2x-llama-cpp-single-user">2x-llama.cpp-single-user</a></td><td><a href="../arc-b580/results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580_quick/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580_quick.html">2026-10-27</a></td></tr></tbody></table></div>
<blockquote><p><strong>Demo data.</strong> These runs are synthetic. Nothing here was measured.</p></blockquote></article>
</section>
<section>
@@ -231,8 +301,8 @@ cd /models/RedHatAI/Qwen3.8-27B-INT4 &amp;&amp; sha256sum *.safetensors | LC_ALL
<div class="table"><table><thead><tr><th>GPU</th><th>VRAM</th><th>memory bandwidth (spec)</th><th>architecture</th></tr></thead>
<tbody><tr><td>Arc Pro B70</td><td>32 GB</td><td>608 GB/s</td><td>Xe2 (Battlemage)</td></tr><tr><td>Arc Pro B65</td><td>32 GB</td><td>608 GB/s</td><td>Xe2 (Battlemage)</td></tr><tr><td>Arc Pro B60</td><td>24 GB</td><td>456 GB/s</td><td>Xe2 (Battlemage)</td></tr><tr><td>Arc Pro B50</td><td>16 GB</td><td>224 GB/s</td><td>Xe2 (Battlemage)</td></tr><tr><td>Arc B580</td><td>12 GB</td><td>456 GB/s</td><td>Xe2 (Battlemage)</td></tr><tr><td>Arc B570</td><td>10 GB</td><td>380 GB/s</td><td>Xe2 (Battlemage)</td></tr><tr><td>Arc A770</td><td>16 GB</td><td>560 GB/s</td><td>Xe-HPG (Alchemist)</td></tr></tbody></table></div>
</section>
<footer>Generated by <code>tools/cookbook.py build</code> from 6 recipes and
14 result folders · newest run 2026-10-26.</footer>
<footer>Generated by <code>tools/cookbook.py build</code> from 9 recipes and
18 result folders · newest run 2026-10-28.</footer>
</main>
<script>
const sel = [...document.querySelectorAll('.filters select')];
+209 -81
View File
@@ -37,7 +37,18 @@ FIELDS = ("title", "summary", "model", "quant", "kv", "engine", "gpu", "profile"
"spec", "thinking", "results")
ZERO_DIGEST = "0" * 64
# Top-level folders that are not GPU folders.
RESERVED = {"docs", "tools", "site"}
RESERVED = {"docs", "tools", "site", "mixed"}
def setup(gpu, n=1):
"""(folder, gpu_model as bench.sh records it, label) for a recipe's GPUs:
one name with a count, or for a mixed setup a list with one name per card."""
if isinstance(gpu, list):
names = sorted(gpu)
counts = {g: names.count(g) for g in dict.fromkeys(names)}
return ("mixed/" + "_".join(f"{c}x-{slug(g)}" for g, c in counts.items()), "+".join(counts),
" + ".join(f"{c}× {g}" if c > 1 else g for g, c in counts.items()))
return slug(gpu), gpu, gpu if n == 1 else f"{n}× {gpu}"
def slug(s):
@@ -115,6 +126,10 @@ def metrics(meta, res):
"decode_j_per_token": decode_e.get("j_per_token"), "decode_w": decode_e.get("avg_w")}
def plural(n, word):
return f"{n} {word}{'' if n == 1 else 's'}"
def num(x, dec=1):
return "—" if x is None else f"{x:,.{dec}f}"
@@ -131,20 +146,25 @@ class Cookbook:
self.root = Path(root)
self.errors, self.warnings = [], []
self.config = tomllib.loads((self.root / "cookbook.toml").read_text(encoding="utf-8"))
# One folder per GPU: <gpu>/<model>/<engine>-<profile>.md, <gpu>/<model>/tried.md
# and <gpu>/results/<run>/.
# One folder per GPU: <gpu>/<model>/[<N>x-]<engine>-<profile>.md,
# <gpu>/<model>/tried.md and <gpu>/results/<run>/. Setups of different GPUs
# get the same layout under mixed/<setup>/.
self.gpu_dirs = {slug(g): g for g in self.config["gpus"]}
for d in sorted(self.root.iterdir()):
if d.is_dir() and not d.name.startswith(".") and d.name not in RESERVED | set(self.gpu_dirs):
self.warning(d.name, "not a GPU in cookbook.toml, so nothing in it is checked")
mixed = self.root / "mixed"
self.homes = list(self.gpu_dirs) + (
[d.relative_to(self.root).as_posix() for d in sorted(mixed.iterdir()) if d.is_dir()]
if mixed.exists() else [])
self.results = self._load_results()
docs = [p for g in self.gpu_dirs for p in sorted((self.root / g).glob("*/*.md"))
docs = [p for h in self.homes for p in sorted((self.root / h).glob("*/*.md"))
if p.parent.name != "results"]
self.recipes = self._load_docs([p for p in docs if p.name != "tried.md"], self._recipe)
self.tried = self._load_docs([p for p in docs if p.name == "tried.md"], self._tried)
for r in self.results.values():
if not r["used"]:
self.warning(f"results/{r['id']}", "not cited by any recipe or tried log")
self.warning(f"{r['home']}/results/{r['id']}", "not cited by any recipe or tried log")
def error(self, where, msg):
self.errors.append(f"{where}: {msg}")
@@ -155,9 +175,10 @@ class Cookbook:
# ------------------------------------------------------------ loading
def _load_results(self):
out = {}
dirs = [(gpu, d) for g, gpu in self.gpu_dirs.items() if (self.root / g / "results").exists()
for d in sorted((self.root / g / "results").iterdir()) if d.is_dir()]
for gpu, d in dirs:
dirs = [(h, d) for h in self.homes if (self.root / h / "results").exists()
for d in sorted((self.root / h / "results").iterdir()) if d.is_dir()]
for home, d in dirs:
gpu = self.gpu_dirs.get(home) # None in mixed/: the recipes check those
where = d.relative_to(self.root).as_posix()
try:
meta = json.loads((d / "meta.json").read_text(encoding="utf-8"))
@@ -170,12 +191,12 @@ class Cookbook:
self.error(where, f"{f} missing")
if ((res.get("env") or {}).get("notes") or {}) != meta.get("notes"):
self.error(where, "the notes in meta.json and the results file differ (edited?)")
if (meta.get("collected") or {}).get("gpu_model") != gpu:
if gpu and (meta.get("collected") or {}).get("gpu_model") != gpu:
self.error(where, f"ran on {(meta.get('collected') or {}).get('gpu_model')}, "
f"but it is in the {gpu} folder")
m = meta.get("mandatory") or {}
cmd = d / "server-cmd.txt"
out[d.name] = {"id": d.name, "dir": d, "meta": meta, "res": res,
out[d.name] = {"id": d.name, "dir": d, "home": home, "meta": meta, "res": res,
"demo": (d / "DEMO").exists(), "submitter": m.get("submitter"),
"full": m.get("run_mode") == "full",
"created": (meta.get("created") or "")[:10],
@@ -204,14 +225,31 @@ class Cookbook:
return None
rid = rel[:-len(".md")]
tp, pp = int(f.get("tp", 1)), int(f.get("pp", 1))
want = f"{slug(f['gpu'])}/{slug(f['model'])}/{slug(f['engine'])}-{f['profile']}"
mixed = isinstance(f["gpu"], list)
names = list(f["gpu"]) if mixed else [f["gpu"]]
n = len(names) if mixed else int(f.get("gpus", 1))
if mixed and len(set(names)) < 2:
self.error(rel, "a mixed setup needs two different GPUs; for N of one GPU use "
"gpu = NAME and gpus = N")
if mixed and int(f.get("gpus", n)) != n:
self.error(rel, f"gpus = {f['gpus']} but gpu lists {n}")
home, gpu_model, setup_label = setup(f["gpu"], n)
prefix = f"{n}x-" if n > 1 and not mixed else ""
want = f"{home}/{slug(f['model'])}/{prefix}{slug(f['engine'])}-{f['profile']}"
if rid != want:
self.error(rel, f"should be {want}.md for its gpu, model, engine and profile")
self.error(rel, f"should be {want}.md for its gpu, gpus, model, engine and profile")
if f["profile"] not in PROFILES:
self.error(rel, f"profile {f['profile']!r}: use one of {', '.join(PROFILES)}")
return None
if f["gpu"] not in self.config["gpus"]:
self.error(rel, f"gpu {f['gpu']!r} is not an Intel Arc GPU listed in cookbook.toml")
for g in dict.fromkeys(names):
if g not in self.config["gpus"]:
self.error(rel, f"gpu {g!r} is not an Intel Arc GPU listed in cookbook.toml")
if tp * pp != n:
self.error(rel, f"tp × pp is {tp * pp}, but the recipe runs on {n} GPU{'s' if n > 1 else ''}")
topology = f.get("topology")
if n > 1 and not (isinstance(topology, list) and len(topology) == n):
example = ", ".join(['"Gen5 x8 CPU"'] * n)
self.error(rel, f"declare topology: one PCIe link per GPU, e.g. topology = [{example}]")
if f["model"] not in self.config["models"]:
self.error(rel, f"model {f['model']!r} is not a standard model listed in cookbook.toml")
cmd = launch_block(body)
@@ -224,7 +262,9 @@ class Cookbook:
self.error(rel, f"result {rid_} is not in results/")
continue
res["used"] = True
self._check_run(rel, f, tp, pp, res)
if res["home"] != home:
self.error(rel, f"{rid_} is in {res['home']}/results, not {home}/results")
self._check_run(rel, f, tp, pp, gpu_model, res)
if cmd is not None:
if res["cmd"] is None:
self.error(rel, f"{rid_} has no server-cmd.txt")
@@ -262,10 +302,12 @@ class Cookbook:
if age > self.config["stale_after_days"]:
self.warning(rel, f"stale: the newest run is {age} days old; re-run it on a current engine")
return {"id": rid, "rel": rel, "path": path, "front": f, "body": body, "cmd": cmd,
"runs": runs, "demo": demo, "status": status, "tp": tp, "pp": pp,
"runs": runs, "demo": demo, "status": status, "tp": tp, "pp": pp, "n": n,
"mixed": mixed, "home": home, "gpu_model": gpu_model, "label": setup_label,
"group": f"mixed: {setup_label}" if mixed else f["gpu"], "topology": topology or [],
"value": runs[0]["metrics"][metric] if runs else None}
def _check_run(self, rel, f, tp, pp, res):
def _check_run(self, rel, f, tp, pp, gpu_model, res):
m = res["meta"].get("mandatory") or {}
c = res["meta"].get("collected") or {}
notes = res["meta"].get("notes") or {}
@@ -283,22 +325,25 @@ class Cookbook:
self.error(rel, f"{w}: {k} is {f[k]!r} in the recipe but {m.get(k)!r} in the run")
if (m.get("tp"), m.get("pp")) != (str(tp), str(pp)):
self.error(rel, f"{w}: tp/pp {tp}/{pp} in the recipe but {m.get('tp')}/{m.get('pp')} in the run")
self._check_where(rel, f, res)
self._check_where(rel, gpu_model, f["engine"], res)
def _check_where(self, rel, f, res):
def _check_where(self, rel, gpu_model, engine, res):
# gpu_count isn't checked: bench.sh counts every GPU in the machine, not
# the ones the server uses. tp × pp says how many it uses.
c = res["meta"].get("collected") or {}
if c.get("gpu_vendor") != "intel" or c.get("gpu_model") != f["gpu"]:
if c.get("gpu_vendor") != "intel" or c.get("gpu_model") != gpu_model:
self.error(rel, f"{res['id']} ran on {c.get('gpu_vendor')} {c.get('gpu_model')}, "
f"not {f['gpu']}")
if c.get("engine") != f["engine"]:
self.error(rel, f"{res['id']} ran on {c.get('engine')}, not {f['engine']}")
f"not {gpu_model}")
if c.get("engine") != engine:
self.error(rel, f"{res['id']} ran on {c.get('engine')}, not {engine}")
def _tried(self, rel, path, f, body):
for k in ("model", "gpu"):
if k not in f:
self.error(rel, f"front matter lacks {k}")
return None
want = f"{slug(f['gpu'])}/{slug(f['model'])}/tried.md"
home, _, label = setup(f["gpu"])
want = f"{home}/{slug(f['model'])}/tried.md"
if rel != want:
self.error(rel, f"should be {want}")
entries = []
@@ -315,14 +360,18 @@ class Cookbook:
self.error(rel, f"{res['id']}: say what changed (change = ...)")
res["used"] = True
bf = base["front"]
if (bf["model"], bf["gpu"]) != (f["model"], f["gpu"]):
if (bf["model"], base["home"]) != (f["model"], home):
self.error(rel, f"recipe {base['id']} is for another model or GPU")
if res["home"] != home:
self.error(rel, f"{res['id']} is in {res['home']}/results, not {home}/results")
if f"standard: {bf['model']} " not in res["meta"].get("notes", {}).get("model_file", ""):
self.error(rel, f"{res['id']}: not the standard {bf['model']} file")
self._check_where(rel, bf, res)
self._check_where(rel, base["gpu_model"], bf["engine"], res)
entries.append({"change": t.get("change", ""), "note": t.get("note", ""),
"recipe": base, "result": res})
return {"rel": rel, "path": path, "front": f, "body": body, "entries": entries}
mixed = isinstance(f["gpu"], list)
return {"rel": rel, "path": path, "front": f, "body": body, "entries": entries, "home": home,
"label": label, "group": f"mixed: {label}" if mixed else f["gpu"]}
# ------------------------------------------------------------ generated Markdown
def link(self, target, src):
@@ -339,11 +388,14 @@ class Cookbook:
if not rc["runs"]:
return "No runs yet."
p = rc["runs"][0]["metrics"]
n = len(rc["runs"])
runs = len(rc["runs"])
L += [f"**{label}: {num(rc['value'], dec)} {unit}** · {rc['status']} · "
f"{n} run{'s' if n > 1 else ''}", "",
"| metric | first run |", "|---|---|",
f"| decode at batch 1 (median) | {num(p['decode_tps'])} t/s |",
f"{runs} run{'s' if runs > 1 else ''}", "",
"| metric | first run |", "|---|---|"]
if rc["n"] > 1:
L += [f"| GPUs | {rc['label']} · tp {rc['tp']} · pp {rc['pp']} |",
f"| PCIe topology (declared) | {' · '.join(rc['topology'])} |"]
L += [f"| decode at batch 1 (median) | {num(p['decode_tps'])} t/s |",
f"| time to first token (median) | {num(p['ttft_ms'], 0)} ms |"]
if p["concurrency"]:
L.append("| concurrency, aggregate | " + " · ".join(
@@ -351,13 +403,21 @@ class Cookbook:
if p["prefill"]:
L.append("| prefill | " + " · ".join(
f"{k // 1000}k: {num(v, 0)}" for k, v in sorted(p["prefill"].items())) + " t/s |")
if rc["n"] > 1 and unit == "t/s" and rc["value"]:
L.append(f"| {label} per GPU | {num(rc['value'] / rc['n'])} t/s |")
# bench-standard scales bandwidth by tp only, and samples the power of one GPU.
if f["spec"] != "none":
L.append("| memory bandwidth reached | n/a: speculative decoding makes several tokens "
"per pass over the weights |")
elif rc["pp"] > 1 or rc["mixed"]:
L.append("| memory bandwidth reached | n/a: bench-standard computes it for tensor parallel "
"over equal GPUs only |")
elif p["bw_pct"] is not None:
L.append(f"| memory bandwidth reached | {num(p['bw_pct'], 0)}% of "
f"{num(p['mem_bw_gbs'], 0)} GB/s measured |")
if p["decode_j_per_token"] is not None:
if rc["n"] > 1:
L.append("| decode energy | n/a: bench-standard samples the power of one GPU |")
elif p["decode_j_per_token"] is not None:
L.append(f"| decode energy | {num(p['decode_j_per_token'], 2)} J/token at "
f"{num(p['decode_w'], 0)} W |")
L += ["", f"| run | submitter | date | {label} | TTFT | report |", "|---|---|---|---|---|---|"]
@@ -374,6 +434,9 @@ class Cookbook:
f" --tp {rc['tp']} --pp {rc['pp']} --quant {f['quant']} --kv {f['kv']} "
f"--spec {f['spec']} --thinking {f['thinking']} \\",
" --submitter YOUR_NAME --server-cmd-file server-cmd.txt --full", "```"]
if rc["n"] > 1:
L += ["", "bench.sh records PCIe and power for one GPU only: put the link of every GPU in "
"`--special-notes`, as in the recipe's `topology`."]
return "\n".join(L)
def tried_md(self, td):
@@ -397,11 +460,11 @@ class Cookbook:
return "\n".join(L)
def best(self):
"""The fastest recipe per (gpu, model, profile)."""
"""The fastest recipe per (setup folder, GPU count, model, profile)."""
top = {}
for rc in self.recipes:
f = rc["front"]
key = (f["gpu"], f["model"], f["profile"])
key = (rc["home"], rc["n"], f["model"], f["profile"])
higher = PROFILES[f["profile"]][3]
cur = top.get(key)
if rc["value"] is not None and (cur is None or
@@ -409,32 +472,64 @@ class Cookbook:
top[key] = rc
return top
def gpu_recipes(self, gpu):
return sorted((r for r in self.recipes if r["front"]["gpu"] == gpu),
key=lambda r: (r["front"]["model"], list(PROFILES).index(r["front"]["profile"]),
def starred(self, rc):
return self.best().get((rc["home"], rc["n"], rc["front"]["model"], rc["front"]["profile"])) is rc
def home_recipes(self, home):
return sorted((r for r in self.recipes if r["home"] == home),
key=lambda r: (r["front"]["model"], r["n"], list(PROFILES).index(r["front"]["profile"]),
r["front"]["engine"]))
def headline(self, rc, star=False):
_, label, unit, _ = PROFILES[rc["front"]["profile"]]
return f"{num(rc['value'], 2 if unit == 'J/tok' else 1)} {unit} {label}{' ★' if star else ''}"
def fastest_single_user(self, homes):
"""Per model, the fastest single-user recipe in these folders, any GPU count."""
top = {}
for rc in self.recipes:
m = rc["front"]["model"]
if rc["home"] in homes and rc["front"]["profile"] == "single-user" and rc["value"] is not None \
and (m not in top or rc["value"] > top[m]["value"]):
top[m] = rc
def count(rc):
return "" if rc["n"] == 1 or rc["mixed"] else f", {rc['n']}×"
return " · ".join(f"{m}: {num(rc['value'])} t/s ({rc['front']['engine']}{count(rc)})"
for m, rc in sorted(top.items()))
def index_md(self):
"""The GPU table in the top-level README."""
best = self.best()
L = ["| GPU | VRAM | bandwidth (spec) | recipes | fastest for one user |", "|---|---|---|---|---|"]
for gpu, g in self.config["gpus"].items():
rows = self.gpu_recipes(gpu)
fastest = [best[k] for k in sorted(best) if k[0] == gpu and k[2] == "single-user"]
top = " · ".join(f"{rc['front']['model']}: {num(rc['value'])} t/s ({rc['front']['engine']})"
for rc in fastest) or "none yet: wanted"
L.append(f"| [{gpu}]({slug(gpu)}/README.md) | {g['vram_gb']} GB | {g['mem_bw_gbs']} GB/s | "
f"{len(rows)} | {top} |")
d = slug(gpu)
L.append(f"| [{gpu}]({d}/README.md) | {g['vram_gb']} GB | {g['mem_bw_gbs']} GB/s | "
f"{len(self.home_recipes(d))} | {self.fastest_single_user([d]) or 'none yet: wanted'} |")
mixed = [h for h in self.homes if h.startswith("mixed/")]
n = sum(len(self.home_recipes(h)) for h in mixed)
L.append(f"| [Mixed setups](mixed/README.md) | {len(mixed)} setup{'s' if len(mixed) != 1 else ''} | — | "
f"{n} | {self.fastest_single_user(mixed) or 'none yet'} |")
return "\n".join(L)
def recipe_table(self, rows, home):
L = ["| model | GPUs | profile | engine | headline | status | recipe |", "|---|---|---|---|---|---|---|"]
for rc in rows:
f = rc["front"]
L.append(f"| {f['model']} | {rc['n']} | {f['profile']} | {f['engine']} | "
f"{self.headline(rc, self.starred(rc))} | {'demo' if rc['demo'] else rc['status']} | "
f"[{f['title']}]({rc['id'].removeprefix(home + '/')}.md) |")
return L
def results_md(self, home, up):
n = sum(1 for r in self.results.values() if r["home"] == home)
where = (f"{plural(n, 'result folder')} in [`results/`](results/), as bench.sh wrote them."
if n else "None yet. Runs go in `results/` here, as bench.sh writes them.")
return ["", "## Results", "", where,
f"Host setup for every recipe: [docs/host-setup.md]({up}docs/host-setup.md)."]
def gpu_md(self, gpu):
"""A GPU folder's README, generated whole."""
g, d, best = self.config["gpus"][gpu], slug(gpu), self.best()
rows = self.gpu_recipes(gpu)
g, d = self.config["gpus"][gpu], slug(gpu)
rows = self.home_recipes(d)
L = [f"# {gpu}", "",
"<!-- Generated by tools/cookbook.py build from cookbook.toml and this folder. Don't edit. -->",
"", f"{g['vram_gb']} GB VRAM · {g['mem_bw_gbs']} GB/s memory bandwidth (spec) · {g['arch']}", ""]
@@ -445,38 +540,70 @@ class Cookbook:
"`tools/demo/make_demo.py`. Nothing here was measured.", ""]
L += ["## Recipes", ""]
if rows:
L += ["| model | profile | engine | headline | status | recipe |", "|---|---|---|---|---|---|"]
for rc in rows:
f = rc["front"]
star = best.get((gpu, f["model"], f["profile"])) is rc
L.append(f"| {f['model']} | {f['profile']} | {f['engine']} | {self.headline(rc, star)} | "
f"{'demo' if rc['demo'] else rc['status']} | "
f"[{f['title']}]({rc['id'].removeprefix(d + '/')}.md) |")
L += ["", "★ the fastest recipe for that model and profile on this GPU."]
L += self.recipe_table(rows, d)
L += ["", "★ the fastest recipe for that model, GPU count and profile. Several of this GPU: "
"files named `<N>x-<engine>-<profile>.md`. With other GPUs: [mixed setups](../mixed/README.md)."]
else:
L.append("None yet.")
tried = [t for t in self.tried if t["front"]["gpu"] == gpu]
tried = [t for t in self.tried if t["home"] == d]
if tried:
L += ["", "## What lost", ""] + [
f"- [{t['front']['model']}]({t['rel'].removeprefix(d + '/')}): {len(t['entries'])} variants"
f"- [{t['front']['model']}]({t['rel'].removeprefix(d + '/')}): {plural(len(t['entries']), 'variant')}"
for t in tried]
wanted = [m for gg, m in self.wanted() if gg == gpu]
wanted = [m + (f" on {setup(gpu, n)[2]}" if n > 1 else "") for gg, n, m in self.wanted() if gg == gpu]
if wanted:
L += ["", "## Wanted", "", "Fits in VRAM, no single-user recipe yet: " + ", ".join(wanted) +
". See [CONTRIBUTING.md](../CONTRIBUTING.md)."]
n = sum(1 for r in self.results.values() if r["dir"].parent.parent.name == d)
where = (f"{n} result folder{'s' if n != 1 else ''} in [`results/`](results/), as bench.sh wrote them."
if n else "None yet. Runs go in `results/` here, as bench.sh writes them.")
L += ["", "## Results", "", where,
"Host setup for every recipe: [docs/host-setup.md](../docs/host-setup.md)."]
return "\n".join(L + self.results_md(d, "../")) + "\n"
def mixed_md(self):
"""mixed/README.md: setups of different Arc GPUs in one server."""
homes = [h for h in self.homes if h.startswith("mixed/")]
rows = [rc for h in homes for rc in self.home_recipes(h)]
L = ["# Mixed setups", "",
"<!-- Generated by tools/cookbook.py build from cookbook.toml and this folder. Don't edit. -->", "",
"Different Arc GPUs in one server. Each setup has a folder named after its cards, "
"`<N>x-<gpu>_<N>x-<gpu>` in name order (e.g. `1x-arc-b580_1x-arc-pro-b60`), with the same "
"layout as a GPU folder. Several of the *same* GPU go in that GPU's folder.", ""]
if any(r["demo"] for r in rows):
L += ["> **Demo data.** The results in this folder are synthetic, made by "
"`tools/demo/make_demo.py`. Nothing here was measured.", ""]
L += ["## Recipes", ""]
if rows:
L += ["| setup | model | GPUs | profile | engine | headline | status | recipe |",
"|---|---|---|---|---|---|---|---|"]
for rc in rows:
f = rc["front"]
L.append(f"| {rc['label']} | {f['model']} | {rc['n']} | {f['profile']} | {f['engine']} | "
f"{self.headline(rc, self.starred(rc))} | {'demo' if rc['demo'] else rc['status']} | "
f"[{f['title']}]({rc['id'].removeprefix('mixed/')}.md) |")
else:
L.append("None yet.")
tried = [t for t in self.tried if t["home"].startswith("mixed/")]
if tried:
L += ["", "## What lost", ""] + [
f"- [{t['front']['model']} on {t['label']}]({t['rel'].removeprefix('mixed/')}): "
f"{plural(len(t['entries']), 'variant')}" for t in tried]
L += ["", "## Results", ""] + [
f"- {h.removeprefix('mixed/')}: [{plural(sum(1 for r in self.results.values() if r['home'] == h), 'result folder')}]"
f"({h.removeprefix('mixed/')}/results/)" for h in homes
if (self.root / h / "results").exists()]
L += ["", "Host setup for every recipe: [docs/host-setup.md](../docs/host-setup.md)."]
return "\n".join(L) + "\n"
def wanted(self):
have = {(r["front"]["gpu"], r["front"]["model"]) for r in self.recipes
"""(gpu, count, model): the fewest of one GPU the model fits in, without a
single-user recipe for that count yet."""
have = {(r["home"], r["n"], r["front"]["model"]) for r in self.recipes
if r["front"]["profile"] == "single-user"}
return [(g, m) for g, gv in self.config["gpus"].items()
for m, mv in self.config["models"].items()
if gv["vram_gb"] >= mv["min_vram_gb"] and (g, m) not in have]
out = []
for g, gv in self.config["gpus"].items():
for m, mv in self.config["models"].items():
n = next((k for k in sorted(self.config.get("gpu_counts", [1, 2]))
if gv["vram_gb"] * k >= mv["min_vram_gb"]), None)
if n and (slug(g), n, m) not in have:
out.append((g, n, m))
return out
# ------------------------------------------------------------ build
def outputs(self):
@@ -492,6 +619,7 @@ class Cookbook:
out[readme] = fill(readme.read_text(encoding="utf-8"), "index", self.index_md())
for gpu in self.config["gpus"]:
out[self.root / slug(gpu) / "README.md"] = self.gpu_md(gpu)
out[self.root / "mixed" / "README.md"] = self.mixed_md()
out[self.root / "site" / "index.html"] = site_html(self, out)
return out
@@ -659,23 +787,22 @@ def site_html(cb, generated):
return Path(os.path.relpath(target, site)).as_posix() + (f"#{frag}" if frag else "")
return link
def attrs(f):
return (f'data-gpu="{html.escape(f["gpu"])}" data-model="{html.escape(f["model"])}" '
def attrs(rc):
f = rc["front"]
return (f'data-gpu="{html.escape(rc["group"])}" data-model="{html.escape(f["model"])}" '
f'data-profile="{html.escape(f["profile"])}"')
def opts(name, values):
return (f'<label>{name}<select name="{name}"><option value="">all</option>' +
"".join(f'<option>{html.escape(v)}</option>' for v in values) + "</select></label>")
best = cb.best()
rows = []
for rc in sorted(cb.recipes, key=lambda r: (list(cb.config["gpus"]).index(r["front"]["gpu"])
if r["front"]["gpu"] in cb.config["gpus"] else 99,
r["front"]["model"], r["front"]["profile"], -(r["value"] or 0))):
for rc in sorted(cb.recipes, key=lambda r: (cb.homes.index(r["home"]), r["front"]["model"], r["n"],
r["front"]["profile"], -(r["value"] or 0))):
f = rc["front"]
_, label, unit, _ = PROFILES[f["profile"]]
star = best.get((f["gpu"], f["model"], f["profile"])) is rc
rows.append(f'<tr {attrs(f)}><td>{html.escape(f["gpu"])}</td><td>{html.escape(f["model"])}</td>'
star = cb.starred(rc)
rows.append(f'<tr {attrs(rc)}><td>{html.escape(rc["label"])}</td><td>{html.escape(f["model"])}</td>'
f'<td>{f["profile"]}</td><td>{html.escape(f["engine"])}</td>'
f'<td><strong>{num(rc["value"], 2 if unit == "J/tok" else 1)} {unit}</strong> '
f'{label}{" ★" if star else ""}</td>'
@@ -688,11 +815,13 @@ def site_html(cb, generated):
_, body = split_front(generated[rc["path"]])
chips = [f["engine"], f"{f['quant']} · kv {f['kv']}", f"spec {f['spec']}",
f"thinking {f['thinking']}", f"tp {rc['tp']} · pp {rc['pp']}"]
if rc["n"] > 1:
chips[:0] = [rc["label"], "PCIe " + " · ".join(rc["topology"])]
status = ('<span class="chip demo">demo data</span>' if rc["demo"] else
f'<span class="chip{" good" if rc["status"].startswith("verified") else ""}">'
f'{rc["status"]}</span>')
articles.append(
f'<article id="r-{anchor(rc["id"])}" {attrs(f)}><h2>{html.escape(f["title"])}</h2>'
f'<article id="r-{anchor(rc["id"])}" {attrs(rc)}><h2>{html.escape(f["title"])}</h2>'
f'<p>{md_inline(f["summary"], linker(rc["path"]))}</p><div class="chips">{status}' +
"".join(f'<span class="chip">{html.escape(c)}</span>' for c in chips) + "</div>" +
md_to_html(body, linker(rc["path"]), shift=1, prefix=anchor(rc["id"]) + "-") +
@@ -703,13 +832,12 @@ def site_html(cb, generated):
f = td["front"]
_, body = split_front(generated[td["path"]])
body = re.sub(r"\A\s*# .*\n", "", body) # the article has its own heading
tried.append(f'<article id="t-{anchor(td["rel"])}" data-gpu="{html.escape(f["gpu"])}" '
tried.append(f'<article id="t-{anchor(td["rel"])}" data-gpu="{html.escape(td["group"])}" '
f'data-model="{html.escape(f["model"])}"><h2>{html.escape(f["model"])} on '
f'{html.escape(f["gpu"])}: what lost</h2>' +
f'{html.escape(td["label"])}: what lost</h2>' +
md_to_html(body, linker(td["path"]), shift=1, prefix=anchor(td["rel"]) + "-") + "</article>")
gpus = sorted({r["front"]["gpu"] for r in cb.recipes}, key=lambda g: list(cb.config["gpus"]).index(g)
if g in cb.config["gpus"] else 99)
gpus = list(dict.fromkeys(r["group"] for r in sorted(cb.recipes, key=lambda r: cb.homes.index(r["home"]))))
models = sorted({r["front"]["model"] for r in cb.recipes})
profiles = [p for p in PROFILES if any(r["front"]["profile"] == p for r in cb.recipes)]
newest = max((r["created"] for r in cb.results.values()), default="—")
@@ -738,8 +866,8 @@ def site_html(cb, generated):
<h2>Fastest setups</h2>
<div class="table"><table><thead><tr><th>GPU</th><th>model</th><th>profile</th><th>engine</th><th>headline</th>
<th>status</th><th>recipe</th></tr></thead><tbody>{"".join(rows)}</tbody></table></div>
<p>★ the fastest recipe for that GPU, model and profile.
{("<strong>Wanted:</strong> " + ", ".join(f"{html.escape(m)} on {html.escape(g)}" for g, m in wanted) + ".") if wanted else ""}</p>
<p>★ the fastest recipe for that GPU setup, model and profile.
{("<strong>Wanted:</strong> " + ", ".join(f"{html.escape(m)} on {setup(g, n)[2]}" for g, n, m in wanted) + ".") if wanted else ""}</p>
</section>
<section>
<h2>Recipes</h2>
+21 -7
View File
@@ -43,6 +43,7 @@ SPEC_MID = statistics.median(c[2] for c in CATEGORIES.values())
GPUS = {
"Arc Pro B65": {"vram": "32", "power": "200", "link": "Gen4 x16", "bw": "532", "mhz": 2800},
"Arc B580": {"vram": "12", "power": "190", "link": "Gen4 x8", "bw": "401", "mhz": 2850},
"Arc Pro B60": {"vram": "24", "power": "200", "link": "Gen5 x8", "bw": "402", "mhz": 2400},
}
# (model, engine): served id, file, bytes, loaded GiB as vLLM logs it
MODELS = {
@@ -94,6 +95,15 @@ RUNS = [
"decode": 64.0, "ttft": 205, "pp": 1500, "conc": [62, 118, 205, 296], "watts": 170},
{"recipe": "arc-b580/qwen3.5-9b/llama.cpp-single-user", "date": "261024",
"decode": 48.2, "ttft": 120, "pp": 2500, "conc": [47, 48, 48, 48], "watts": 140},
{"recipe": "arc-b580/qwen3.8-27b/2x-vllm-single-user", "date": "261027",
"decode": 52.0, "ttft": 260, "pp": 1650, "conc": [51, 51, 52, 52], "watts": 120},
{"recipe": "arc-b580/qwen3.8-27b/2x-llama.cpp-single-user", "date": "261027",
"decode": 15.9, "ttft": 330, "pp": 620, "conc": [15, 16, 16, 16], "watts": 95},
{"recipe": "arc-b580/qwen3.8-27b/2x-llama.cpp-single-user", "date": "261027", "quick": True,
"sub": [("-sm layer", "-sm row")], "declare": {"tp": 2, "pp": 1},
"decode": 11.8, "ttft": 410, "pp": 480, "conc": [11, 12, 12, 12], "watts": 88},
{"recipe": "mixed/1x-arc-b580_1x-arc-pro-b60/qwen3.8-27b/llama.cpp-single-user", "date": "261028",
"decode": 16.4, "ttft": 300, "pp": 680, "conc": [16, 16, 16, 16], "watts": 110},
{"recipe": "arc-pro-b65/qwen3.8-27b/vllm-single-user", "date": "261026", "submitter": "demo-2",
"decode": 82.1, "ttft": 196, "pp": 1490, "conc": [81, 81, 82, 82], "watts": 175},
]
@@ -210,13 +220,17 @@ def make(run, bench, ids):
declared = {k: front[k] for k in ("quant", "kv", "spec", "thinking")} | run.get("declare", {})
quick = run.get("quick", False)
submitter = run.get("submitter", "demo")
gpu, engine = GPUS[front["gpu"]], ENGINES[front["engine"]]
names = front["gpu"] if isinstance(front["gpu"], list) else [front["gpu"]] * int(front.get("gpus", 1))
home, gpu_model, _ = cookbook.setup(front["gpu"], len(names))
# bench.sh reads PCIe, power and bandwidth from the first GPU only
gpu, engine = GPUS[names[0]], ENGINES[front["engine"]]
served, mfile, mbytes, loaded = MODELS[(front["model"], front["engine"])]
tp, pp = (str(run.get("declare", {}).get(k, front.get(k, 1))) for k in ("tp", "pp"))
sha = next(l.split("\t")[3].strip() for l in (bench / "dev" / "models.tsv").open()
if l.startswith(front["model"] + "\t") and f"\t{front['quant']}\t" in l)
slug = cookbook.slug
name = f"{slug(served)}_{slug(front['engine'])}_1x-{slug(front['gpu'])}"
name = f"{slug(served)}_{slug(front['engine'])}_{int(tp) * int(pp)}x-{slug(gpu_model)}"
rid = f"{run['date']}_{slug(submitter)}_{name}" + ("_quick" if quick else "")
base, i = rid, 1
while rid in ids:
@@ -230,7 +244,7 @@ def make(run, bench, ids):
t0 = 1792000000 + int(run["date"]) % 1000 * 86400 + 36000 + (i - 1) * 7200
endpoint = f"http://localhost:{engine['port']}/v1"
mandatory = {"submitter": submitter, "tp": "1", "pp": "1", **declared,
mandatory = {"submitter": submitter, "tp": tp, "pp": pp, **declared,
"power_limit": gpu["power"], "power_limit_source": "detected",
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured",
"betterbench": "0.6.1", "betterbench_build": "v0.6.1", "bench_standard": "0.5.0",
@@ -239,7 +253,7 @@ def make(run, bench, ids):
"power_limit", "power_limit_source", "special_notes",
"betterbench", "betterbench_build", "bench_standard",
"run_mode", "concurrency")}
collected = {"gpu_vendor": "intel", "gpu_model": front["gpu"], "gpu_count": "1",
collected = {"gpu_vendor": "intel", "gpu_model": gpu_model, "gpu_count": str(len(names)),
"gpu_vram_gb": gpu["vram"], "gpu_driver": "1.17.39395", "gpu_power_limit_w": gpu["power"],
"gpu_bdf": "0000:03:00.0", "pcie_link": gpu["link"], "pcie_max": gpu["link"], "rebar": "on",
"cpu_model": "AMD Ryzen 7 7700", "ram_gb": "64", "os": "Ubuntu 26.04 LTS",
@@ -248,13 +262,13 @@ def make(run, bench, ids):
"engine_image": engine["image"], "model_file": mfile, "model_bytes": str(mbytes),
"model_sha256": sha, "ctx": str(ctx), "gpu_mem_bw_gbs": gpu["bw"],
"gpu_mem_bw_tool": "torch copy, random, 1024 MiB"}
if loaded:
collected["model_loaded_gib"] = loaded
if loaded: # vLLM logs the weights per worker
collected["model_loaded_gib"] = f"{float(loaded) / int(tp):.2f}"
measured = {"greedy_check": "identical", "greedy_runs": "3",
"greedy_hash": hashlib.sha256(f"{front['model']}{front['quant']}".encode()).hexdigest()[:12],
"greedy_reasoning": "yes"}
d = ROOT / cookbook.slug(front["gpu"]) / "results" / rid
d = ROOT / home / "results" / rid
shutil.rmtree(d, ignore_errors=True)
d.mkdir(parents=True)
with tempfile.TemporaryDirectory() as tmp:
+49 -1
View File
@@ -74,7 +74,7 @@ def test_verified_needs_two_submitters():
def repo(tmp_path):
root = tmp_path / "cookbook"
shutil.copytree(cookbook.ROOT, root, ignore=shutil.ignore_patterns(".git", "__pycache__", "*.html"))
for d in root.glob("*/results/*"): # validate only needs the reports to exist
for d in [*root.glob("*/results/*"), *root.glob("mixed/*/results/*")]: # only the reports' existence matters
if d.is_dir():
(d / f"{d.name}.html").touch()
return root
@@ -145,3 +145,51 @@ def test_result_must_sit_in_its_gpu_folder(repo):
def test_stray_top_level_folder_warns(repo):
(repo / "arc-b999").mkdir()
assert any("arc-b999: not a GPU" in w for w in cookbook.Cookbook(repo).warnings)
# ---------------------------------------------------------------- multi-GPU and mixed
MULTI = "arc-b580/qwen3.8-27b/2x-vllm-single-user.md"
MIXED = "mixed/1x-arc-b580_1x-arc-pro-b60/qwen3.8-27b/llama.cpp-single-user.md"
def test_setup_names_folders_like_bench_sh_names_gpus():
assert cookbook.setup("Arc B580", 2) == ("arc-b580", "Arc B580", "2× Arc B580")
assert cookbook.setup(["Arc Pro B60", "Arc B580"]) == \
("mixed/1x-arc-b580_1x-arc-pro-b60", "Arc B580+Arc Pro B60", "Arc B580 + Arc Pro B60")
def test_multi_gpu_needs_topology(repo):
edit(repo / MULTI, 'topology = ["Gen4 x8 CPU", "Gen4 x8 CPU"]\n', "")
assert "declare topology" in errors(repo)
def test_tp_times_pp_is_the_gpu_count(repo):
edit(repo / MULTI, "tp = 2\n", "")
assert "tp × pp is 1, but the recipe runs on 2 GPUs" in errors(repo)
def test_gpu_count_is_in_the_file_name(repo):
shutil.move(repo / MULTI, repo / "arc-b580/qwen3.8-27b/vllm-single-user.md")
assert "should be arc-b580/qwen3.8-27b/2x-vllm-single-user.md" in errors(repo)
def test_mixed_needs_different_gpus(repo):
edit(repo / MIXED, 'gpu = ["Arc Pro B60", "Arc B580"]', 'gpu = ["Arc B580", "Arc B580"]')
assert "a mixed setup needs two different GPUs" in errors(repo)
def test_mixed_run_must_be_in_its_setup_folder(repo):
run = "261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60"
src = repo / "mixed/1x-arc-b580_1x-arc-pro-b60/results" / run
dst = repo / "mixed/1x-arc-a770_1x-arc-b580/results"
dst.mkdir(parents=True)
shutil.move(src, dst / run)
assert f"{run} is in mixed/1x-arc-a770_1x-arc-b580/results, not mixed/1x-arc-b580_1x-arc-pro-b60/results" \
in errors(repo)
def test_wanted_takes_the_fewest_gpus_that_fit():
wanted = cookbook.Cookbook().wanted()
assert ("Arc A770", 2, "Qwen3.8-27B") in wanted
assert not any(g == "Arc B580" and m == "Qwen3.8-27B" for g, _, m in wanted) # has a 2× recipe
assert not any(g == "Arc B570" and m == "Qwen3.8-27B" for g, _, m in wanted) # 2 × 10 GB is too small