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:
1 parent
753bdadf7a
commit
976a8b40e5
59 files changed
+39381
-119
No files matched your search
+11
-5
@@ -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.
|
||||
@@ -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 -->
|
||||
+510
@@ -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>
|
||||
+6657
File diff suppressed because it is too large.
Load diff
@@ -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
|
||||
|
+505
@@ -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>
|
||||
+1703
File diff suppressed because it is too large.
Load diff
@@ -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
|
||||
|
+501
@@ -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 {"method":"mtp","num_speculative_tokens":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>
|
||||
+6577
File diff suppressed because it is too large.
Load diff
@@ -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
|
||||
|
Reference in new issue
Block a user