Skip to content

[Benchmark] 2x RTX 4090 (TRX40, layer-split 22): engine 0.1.57 vs 0.1.60 (v0.2.14) - read +28.2%, decode equal, +221 slots; #6089 shrink-panic never fires here #6091

Closed

Description

@udqe

TL;DR

Measured 2026-11-16 (JST), one machine, engine 0.1.57 (0.2.13 era) vs 0.1.60 (0.2.14, which ships the two-card fixes #4522 and #4549):

  • layer-split 22 across 2x RTX 4090, production config: warm long read 2,551 -> 3,272 tok/s (+28.2%), decode equal (median 155.5 vs 154.8; post-read decode 154 -> 164), expert cache 6,662 -> 6,883 slots (+221) at identical settings. No stability events (0 WER / 0 nvlddmkm across 4+4 boots).
  • Single-card lane (one 4090 behind a Gen3 x8 link): read +12.5%, decode +3.3% (62.7 vs 60.7 median) - the new prompt kernels favor the 4090 here too, complementing [Engine] Nvidia v100 performance slow down -12% with "own kernels" #6088's SM70 finding.
  • Answer drift is real (temp 0, seed 42, identical prefix 203-349 chars then divergence) - as the 0.2.14 release note says; both outputs looked coherent.
  • [Engine] Cap WDDM expert cache shrink step to 256 MiB to avoid VRAM over-reduction #6089's WDDM shrink-panic never fires on this rig: 54 boots of history show one benign shrink line per boot, settling at free 1,356-1,633 MiB against a 2,048 MiB reserve. No 1.0-1.4 GiB double-chop, no dead-VRAM gap.

Setup

Component Value
GPUs 3x RTX 4090 24 GB; the tested pair: GPU0 (helper, layers 0-21) + GPU2 (main, layers 22-47 + draft head), both CPU-direct on the TRX40 root complex
CPU / RAM Threadripper (TRX40), 128 GiB; arena pinned 39 GiB (cap 40), PLE table in RAM (26.8 GiB)
OS / driver Windows 11 ja-JP, driver 610.88
Model Qwen3.8-Flash-Next Unsloth UD-IQ4_XS (v31 pack), --max-context 307200 --kv int8 --kv-resident 32768 --spec 4 --pipeline-windows 2 --pcie-frac 0.20
Split --layer-split 22 (fixed), gpu_roles helper/main
Env STRATA_ROUTE_PRIOR=1.0 STRATA_ROUTE_TAIL_SKIP=0 STRATA_HC_Q8=1 STRATA_PIN_BY_NEED=1 STRATA_ARENA_PIN_GIB=40 STRATA_PREFILL_CPU_SHARE=auto
Arms identical config JSON, only exe/vision differ: feed 0.1.57-windows-cuda13 vs the 0.1.60-windows-cuda13 tarball from v0.2.14
Method production engine stopped for the window (no contention, verified idle GPU0 during both arms); per arm: dedicated decode warm-up x2, measured decode 512 tok x5 (median reported), one warm 13,471-token read, 2 drift probes (temp 0, seed 42), nvidia-smi 3 s sampling

Split22 results (the 2-card regime the 0.2.14 notes mark "not compared")

Metric 0.1.57 0.1.60 Delta
read, 13,471 tok, warm 2,551.4 tok/s 3,271.7 tok/s +28.2%
decode 512, median of 5 156.6 (range 144-162) 152.4 (range 146-166) ~0 (distributions overlap)
decode 512 after the read 153.9 163.5 +6%
expert cache after sizing 6,662 slots / 14.67 GiB 6,883 slots / 15.15 GiB +221 slots
draft acceptance (x5) 84-86% 84-86% =
busy power (both cards) ~233 W ~251 W n/a

Both arms ran identical regimes per the engine logs (PLE-ram chosen, arena pinned 39 GiB via 34 slices, cudaHostRegister limited to 40 GiB ... multi-GPU under WDDM on both, one benign shrink line each). So the delta is attributable to 0.1.60's prompt-kernel path plus whatever #4522/#4549 free on the last card (+0.5 GiB of cache is visible in the slot line).

Single-card lane (secondary)

One 4090 on a Gen3 x8 riser link, same pack, same protocol, PROD idle windows: read (warm, mmap experts) 849 -> 956 (+12.5%); decode median (true-warm protocol) 60.7 -> 62.7 (+3.3%); SM clocks identical (2745 MHz). Method note from the hard way: a first-run-after-boot read looks catastrophically slow (192 vs 830-930 tok/s) - cold profile fill, not a version effect; always warm before comparing.

Drift

Three probe prompts, temp 0, seed 42: outputs identical for 203-349 chars, then differ; both coherent, no degeneration seen in 4 arms x 2-3 probes. Consistent with the release note "answers may differ". Teams with pinned output baselines should re-baseline when moving to 0.1.60.

#6089 cross-report (does not fire here)

PROD log history on this rig (52 boots) plus the two test boots: every boot prints at most one only 135X-163X MiB free once the slots are written (reserve 2048 MiB); shrinking the expert cache, then settles - free lands slightly BELOW the reserve, never a GiB-scale dead gap, never the 1.0-1.4 GiB double-chop pattern. --layer-split is fixed 22 here so the cost-model degradation path (#6089's second symptom) is not exercised. Data point for the fix discussion: on a TRX40 + 2x4090 WDDM pair the laggy-free-read condition does not appear (with STRATA_PIN_BY_NEED=1 + STRATA_ARENA_PIN_GIB=40 pinning 39 GiB - unknown whether that is what keeps the reads honest).

Limits

One machine. n=5 decode samples, n=1 read per arm (warm; the +28% read is one pair of samples each - though the effect size is far outside the sample noise we saw on the single-card lane, where three repeat reads landed within 3%). Production context 307K with int8 KV; results may not transfer to other packs/quantizations. The 0.1.60 arm also bundles unrelated 0.2.14 engine changes, so this is a version delta, not an isolation of #4522/#4549 alone.

(AI-assisted posting again: the model served by this repo's engine ran the measurements and wrote this report from local engine logs; all numbers are measured lines. No engine changes, results only.)

Activity

  1. Niko1221 commented on Nov 18, 2026

    @Niko1221
    Owner

    Thank you for the benchmark. The results are saved in our benchmark records, so I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions