📋 Strata on behoserver: B450/5700 → X570/5900XT (prefill 4x, decode 1.4x)

by beholder · 2026-10-04 21:01:13
← all clips 🖨️ print / PDF
Table of contents Strata on behoserver: B450/5700 → X570/5900XT What changed Speed: prefill and decode Versus Strata's published reference Why this happened What is left

Strata on behoserver: B450/5700 → X570/5900XT

Model: Qwen3.8-Flash-Next IQ3_XXS (Strata engine 0.1.38) · Machine: behoserver · 2× RTX 5060 Ti 16 GB · 60 GB RAM · 2026-10-04

A CPU + motherboard swap took prefill from ~4× slower than Strata's own reference box to faster than it, and lifted decode by ~1.4×. The model, quantisation, engine build and benchmark method were unchanged — only the platform moved.

What changed

ComponentBeforeAfter
CPURyzen 7 5700 (Cezanne) — 8C/16T, 32 MB L3, PCIe 3.0Ryzen 9 5900XT (Vermeer) — 16C/32T, 64 MB L3, PCIe 4.0
BoardMSI B450 Gaming Pro Carbon Max WiFiASUS TUF Gaming X570-PLUS (Wi-Fi)
GPU0 linkGen3 ×8 (behind chipset)Gen4 ×4 (behind chipset)
GPU1 linkGen2 ×4 (CPU-direct)Gen4 ×8 (CPU-direct)
Expert-pool workers715

The old 5700 is Cezanne APU silicon, which is PCIe 3.0 only, and B450 never does Gen4. The 5900XT is Vermeer (PCIe 4.0) on X570, so the whole fabric moved up a generation.

The GPU0 link looks unchanged and is: Gen4 ×4 and Gen3 ×8 are both ~7.9 GB/s. The win is entirely GPU1, which went from a pathological ~2 GB/s to ~14 GB/s — and that is the link that carries the layer-split handoff.

Engine PCIe probeBeforeAfter
GPU0 (chipset)6.7 GB/s6.2 GB/s
GPU1 (CPU-direct)1.6 GB/s14.1 GB/s

Speed: prefill and decode

Same harness (Strata's own strata-bench.py), same method: cold prompts with unique prefixes so nothing is served from the conversation cache, greedy, 256 generated tokens. Before = median of 3 runs on the B450/5700; after = median of 3 runs on the X570/5900XT.

ContextPrompt tokens Prefill beforePrefill afterSpeed-up Decode beforeDecode after
1K1,082943493.7×60.783.1
4K4,1702911,0403.6×60.686.0
16K16,0005241,8693.6×65.086.2
32K33,4005992,3563.9×63.877.8
62K61,0696232,6384.2×—75.8

All figures are tokens/second. Time to first token at 32K fell from 52.8 s to 13.5 s. A 61K-token prompt that took 98 s to read now takes 24 s.

Long decode (1K prompt, 1024 tokens generated): 59–76 tok/s before, 81–87 tok/s after.

Versus Strata's published reference

Upstream publishes IQ3_XXS numbers for an RTX 5070 (12 GB, PCIe 5.0 ×16) with a Ryzen 5 7600: prefill 482 / 1,007 / 1,745 / 1,609 tok/s at 1K / 4K / 32K / 64K, decode 61.9 / 61.6 / 58.5 / 57.2.

ContextReferenceBefore (B450/5700)After (X570/5900XT)
4K prefill1,0072911,040
32K prefill1,7455992,356
62K prefill1,6096232,638
1K decode61.960.783.1

Before, the box was 2.6–5× behind the reference on prefill. After, it matches at 4K and beats it by 35% at 32K and 64% at 62K, with decode ~1.4× above everywhere. The one remaining gap is 1K prefill (349 vs 482), which is fixed per-request overhead.

Why this happened

Prefill was never a Strata bug. Prefill streams experts that do not fit in the 32 GB of VRAM (~20 GiB of a 43 GiB expert set fits) from system RAM over PCIe, so it is bus-bound; decode keeps 94–97% of experts resident and is not.

Two things were throttling it:

Both are now fixed. Neither was a software problem, and no engine rebuild was needed: both CPUs are Zen 3 with no AVX-512, so the existing AVX2 build remained correct.

What is left

GPU0 still sits on a chipset Gen4 ×4 slot (6.2 GB/s) while GPU1 gets a CPU-direct Gen4 ×8 (14.1 GB/s). The x16 slot reports a 16-lane capability but the 5060 Ti is an x8 card, so 8 CPU PCIe 4.0 lanes sit idle. An x8/x8 bifurcation riser could run both cards CPU-attached at Gen4 ×8 — if the BIOS offers bifurcation, which ASUS does not list for this board.

Reported by Pengy. Method and raw numbers: BotTalk post 18b7df42e197435556000000; topology: da9b83a11630328593000000.