mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2525] [CLOSED] bench: community reports - RTX 4090 and Minisforum MS-01 + 4x Tesla V100 SXM2 (NVLink), Flash-Next at 204800 / 262144, engine 0.1.44.1 #4096
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4096
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2525
Author: @Dmitry-B
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:bench/2026-10-14-rtx4090-v100-upstream📝 Commits (2)
f272408bench: community report - RTX 4090, Flash-Next IQ3_XXS at 204800, engine 0.1.44.193d121ebench: 4x Tesla V100 SXM2 (Minisforum MS-01) community report - Flash-Next IQ3_S at 262144, engine 0.1.44.1 vs 0.1.43📊 Changes
68 files changed (+15963 additions, -0 deletions)
View changed files
➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/README.md(+167 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/config.json(+74 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/env.json(+247 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/help-on-repeat-185.sh(+73 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/baseline/engine-log.txt(+25 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/baseline/phases.json(+200 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/baseline/runs.json(+588 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/control/engine-log.txt(+25 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/control/phases.json(+200 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/control/runs.json(+588 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-forced-2/engine-log.txt(+0 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-forced-2/phases.json(+200 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-forced-2/runs.json(+590 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-forced/engine-log.txt(+25 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-forced/phases.json(+200 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-forced/runs.json(+590 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-on-2/engine-log.txt(+0 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-on-2/phases.json(+200 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-on-2/runs.json(+589 -0)➕
bench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/interconnect-experiments/help-on/engine-log.txt(+25 -0)...and 48 more files
📄 Description
Two reports of the same release on two different machines, measured 2026-10-14/15 with one method, one prompt generator and one case set, so they can be read side by side. Each is self-contained: the previous version was re-measured in the same session, and a same-binary control gives the noise band that decides what is a change.
bench/results/2026-10-14-community-rtx4090-iq3xxs-200k-code/- RTX 4090, IQ3_XXS, context 204800, code-explanation prompts; the follow-up of the 2026-10-08 report (same PC, same model, same config), so it covers 0.1.41, 0.1.42, 0.1.43/0.1.43.1 and 0.1.44/0.1.44.1 at oncebench/results/2026-10-14-community-rtx4090-iq3xxs-200k-ru/- the same sweep with Russian prosebench/results/2026-10-14-community-4x-tesla-v100-iq3-s-262k-code/- a Minisforum MS-01 mini PC driving a 4-slot SXM2 NVLink carrier board (4x Tesla V100-SXM2-16GB) with--layer-split auto, IQ3_S, context 262144, measured out to 260331 prompt tokens (99.3% of the window); first report from this machine in this formatThe reason for publishing them together is that they are the positive and the negative half of one claim: the two defaults that turned on in 0.1.41 and 0.1.42 are adaptive. On the single-card RTX 4090, which streams experts from NVMe, they give +31% short-prompt reading and +13.8% decode, and both effects were isolated to their own feature by turning each one off. On the four-card V100 machine, where 98% of the experts are resident, the engine's own start log turns
STRATA_ROUTE_TAIL_SKIPoff by itself and never arms the CPU prefill share - and neither gain appears. That is the designed behaviour, and now it is measured on both sides.Hardware, model, configuration
Machine 1 - RTX 4090. RTX 4090 24 GB (23028 MiB), Ryzen 9 7950X, 46464 MiB RAM, NVMe (ADATA LEGEND 960), Ubuntu 26.04.1, kernel 7.0.0-38, driver 610.57.04, CUDA 13.4. Model
qwen3.8-flash-next-iq3_xxs, context 204800, INT8 KV,--mmap-experts, expert cache auto (6986 slots / 11.24 GiB), MTP draft pack,--spec 4,draft_vocab=cyrillic, experimental speed projection (control vector, layers 4-44),--vram-reserve-mib 989,--pool-workers 10, andenv: {"STRATA_PF_FUSED": "1"}in the server config. Engine compiled from source forsm_89with CUDA 13.4 - the release publishes Windows archives only, so this is the only path on Linux; 0.1.38 … 0.1.40.3 and 0.1.44.1 in these reports were all built the same way on this machine.Unchanged from the previous reports: the launch command (compared line by line in the server log), the server config files, the learned expert profile, and the engine's auto prompt chunk -
8192 tokens, a 96-slot ringin 0.1.38 through 0.1.44.1 - so the numbers are comparable with the earlier reports from this PC.Machine 2 - a Minisforum MS-01 mini PC plus a four-slot SXM2 carrier board. Host: MS-01 (DMI: "Micro Computer (HK) Tech Limited" / "Venus Series", board AHWSA, BIOS AHWSA.1.22 of 2024-03-12), i9-13900H (14 cores / 20 threads, Raptor Lake-P), 96 GB DDR5, 2 TB NVMe (SOLIDIGM P44 Pro), 2x 10GbE SFP+ + 2x 2.5GbE, Ubuntu 26.04.1, kernel 7.0.0-38, driver 580.178.04. RAM is not a constraint: ~16.7 GiB in use with the model loaded, peak 17.5 GiB of the 96 GB installed (under 19%).
The GPUs are not PCIe cards in a server: they are four SXM2 modules on a Spring V100 SXM2 4-GPU carrier board (model V100-SXM2-NVLINK_D V2.10) - NVLink 2.0 in NVIDIA's Hybrid Cube Mesh, host side behind a Broadcom PEX8748 Gen3 switch with two external SFF-8654 channels (single x16 or 8+8 bifurcation), the modules liquid-cooled on a 360 mm AIO loop as the board's manual requires. The board ships with a
PCIe x16 -> 2 x SFF-8654transition board; only one cable is used here, and the link runs as x8, because the MS-01's full-length slot is wired electrically as x8 - measured, not assumed:/sys/bus/pci/devices/0000:00:01.0reportsmax_link_width = 8, the negotiated link is 8.0 GT/s x8, the board's x16-capable upstream port negotiates x8 Gen3, and each of the four GPUs behind the switch also negotiates x8 Gen3. So four x8 GPU downlinks share one x8 host uplink (4:1 oversubscription, ~7.9 GB/s shared), while NVLink is fully up: 6 links per card at 25.781 GB/s,nvidia-smi topo -mreports NV2 between every pair - ~155 GB/s per direction per card. Whether Strata's inter-layer traffic goes over NVLink or the PCIe switch was probed - see below.Model
qwen3.8-flash-next-iq3_s, context 262144, INT8 KV,--mmap-experts,--vram-reserve-mib 512,--pool-workers 12,--spec 4,draft_vocab=cyrillic, the same kind of control vector and online-learned expert profile. Engine built on the machine with a private CUDA 12.8 toolkit and a private gcc-14 forsm_70(STRATA_EXPERIMENTAL_SM60=ON,engine-cuda12/BUILD.jsonrecords"source": "local"); 0.1.43 and 0.1.44.1 were both built with that same toolchain, and the two trees' server configs were compared before the swap and are byte-identical. Sizing from the start log:layer split: CUDA3 runs layers 37-47, expert cache 5442 slots (11.37 GiB),token graph hit path: 24088 resident experts,layer split: 98% of the experts resident, the prompt path's streamed ring 96 slots, and the prompt path borrows cache slots from the other three cards. The prompt chunk is the same8192 tokens, a 96-slot ringas on machine 1, which is what makes the two reports method-comparable.An interconnect probe was run on machine 2 (
nvlink-probe.py, raw datanvlink-probe-phases.json). DCGM's NVLink byte counters are not obtainable there — DCGM 4.7.0 has no profiling module on that host, and that does not change with a root host engine — so the probe measures the other side of the same question: any byte not going over NVLink has to cross the card's PCIe link, and those counters work unprivileged. Result: idle is exactly 0 on all four cards; a generation request moves ≤ 0.7 GB per card (matchingdocs/MULTI_GPU.md: a few hundred KB per verify window); a 125 351-token prompt moves 62–78 GB into and 7–12 GB out of every card, sustained 1.2–1.6 GB/s with peaks of 5–6 GB/s against the ~7.9 GB/s ceiling of the Gen3 x8 link the machine has. The engine's P2P prompt routes are not enabled in this configuration (STRATA_PREFILL_HELPunset, no--peer-device, andsrc/prefill/prefill.cpp:1591takes the mapped-host routewhether or not the cards could reach each other (measured there)). So on this machine the prompt path is PCIe-bound, and that is a plausible mechanism for the small long-prompt regression — stated as a hypothesis, not separated by these runs.P2P itself was then measured directly (
p2p-probe.cu, results inp2p-probe-results.json), because the code comment behindpp->p2p = falserecords that the host route was chosen from measurements on 2x RTX 3090, PCIe 4.0 x16 each, no P2P (src/prefill/prefill.cpp:1560-1570) — i.e. on hardware where the P2P branch could not be turned on at all. On this board it can be:cudaDeviceCanAccessPeeris 1/1 on all six pairs withAccessSupported=1,NativeAtomicSupported=1,PerformanceRank=0, NVML reportsNVLINK=OKfor every pair, and peer copies run at 38.4 GB/s idle and 29.4–29.9 GB/s while the server is doing a 31375-token prefill — a bandwidth this PCIe fabric cannot produce (7.9 GB/s per card behind one shared x8 uplink), which is also indirect evidence that an enabled P2P route really would use NVLink here. Enabling peer access costs 0 MiB of device memory, so it is not blocked by the 256–1350 MiB of VRAM free with the model loaded. What the prompt path actually moves is 62–78 GB into each card against 7–12 GB between cards, so the first thing a P2P route would change is the smaller flow; whether the dominant flow could also be served from a peer's resident copy is the question I cannot answer from the counters. A platform dossier — capability matrix, measured peer bandwidth under load, the byte budget per phase, the code map, and a validation protocol that works without DCGM counters — is innvlink-platform-dossier.md, together with the probes. A branch is enough to test any of this here: the machine builds from source with a private CUDA 12.8 / gcc-14 in ~20 minutes and rolls back in 2.A follow-up run (2026-10-15) measured both fabrics and the two prompt-path knobs — dossier §8, data in
interconnect-experiments/. With the model unloaded, so that all six pairs can be measured: card↔card 38.8 GB/s on every pair in either direction, host→card 6.29 GB/s one card at a time and 1.56 GB/s per card when all four stream at once (6.29 / 4 = 1.57 — the 4:1 oversubscription measured rather than inferred). Summing the four cards per second during one 125351-token prefill: 5.25 GB/s in a median second, 7.67 GB/s at p95, 9.33 GB/s in the worst second, 33 of 75 seconds at or above 6 GB/s — against a nominal Gen3 x8 ceiling of 7.88 GB/s per direction, so a long prefill here runs at about two thirds of its host link.--peer-deviceis refused together with--layer-splitby the argument parser itself (strata generate: --peer-device cannot be combined with --layer-split (use one or the other)), which closes the configuration question: in 0.1.44.1 no flag or environment variable makes a layer-split machine issue a GPU→GPU copy.STRATA_PREFILL_HELPandSTRATA_PREFILL_HELP_FRACwere then run in two sessions each against a control at 120 / 2048 / 3072 / 4096 / 32768 / 131072 tokens: no change in reading speed anywhere (every difference inside the control band); the helper raised card→host traffic by 15–20 GB per request in one session and not in the next, and where it engaged it cost no measurable time. The one anomaly seen alongside it — two 14–21 s stalls at 131072 tokens with the reading rate unchanged — did not reproduce.Method (identical in both reports)
Full warm-up sweep run first and discarded (on machine 1 its first 4K read ran at 1522.7 tok/s with a 2.62 s TTFT against 2155.7-2166.5 tok/s and 1.85 s in the measured pass - the cold expert cache, not the version), then 4K / 16K / 32K / 64K / 128K and the top of the configured context, plus a generation-only case; 3 runs per configuration, medians reported; a random marker in every prompt so the prefix cache is never reused (the reused column reports 0 in every run of both machines); throughput from the engine's timing fields; TTFT over streaming;
tools/needle_bench.pyat 32K and 128K, depths 10/50/90; peak VRAM sampled every 2 s (per card on the four-card machine). The whole session on each machine - warm-up, measurement, control, previous version, opt-outs - ran as one detached process, so nothing was interleaved by the driver.What each folder contains
runs.json(0.1.44.1) plus reference runs, so each comparison is self-contained:runs-0.1.40.3-previous.json(machine 1) /runs-0.1.43-previous.json(machine 2) - the previous version, re-measured in the same session: its binary / whole tree was swapped in, the server restarted, the warm-up sweep run and discarded, then the same sweep measured, then swapped back;runs-0.1.44.1-control.json- a full repeat of the sweep on the identical 0.1.44.1 binary: the noise band of this method (machine 1: prompt -5.8…+2.1%, decode -6.7…+8.9% depending on the case; machine 2: prompt within ±0.3%, decode -4.4…+1.8%);runs-0.1.44.1-no-tail-skip.jsonandruns-0.1.44.1-no-cpu-share.json- the same build with one new default turned off each, which is what turns "consistent with X" into "caused by X";runs-long-context.json,runs-long-context-control.json,runs-long-context-0.1.40.3.jsonand the matchingneedles-long-context*.json- the same sweep extended to 156291 / 185531 / 200015 actual prompt tokens out of the configured 204800;runs-0.1.44.1-cpu-share-on.json- the same build withenv: {"STRATA_PREFILL_CPU_SHARE": "1"}forced on, i.e. the direct test of why the short-prompt gain does not appear on this machine;needles-0.1.40.3.json/needles-0.1.43.json- the recall check of the previous version (6/6 on both machines).Results: RTX 4090, IQ3_XXS, 204800
ROUTE_TAIL_SKIP=0moved 128K prompt speed by only -0.6%). Peak VRAM/RAM at 200K are the same as at 128K, and recall at 192K is 3/3 on both versions.STRATA_PREFILL_CPU_SHARE=0the same build reads 213.8 tok/s with a 0.78 s TTFT - back to the 0.1.40.3 level - while turning onlySTRATA_ROUTE_TAIL_SKIPoff leaves it at 290.4. First measurement of this default on this PC.STRATA_ROUTE_TAIL_SKIP=7. The generation-only case is the one configuration where every run of every version generated exactly 1024 tokens with unchanged draft acceptance (77.8% -> 79.0%): 141.1 -> 160.6 tok/s, against a same-binary band of +1.1%. WithSTRATA_ROUTE_TAIL_SKIP=0the same 0.1.44.1 binary decodes at 142.0 tok/s, i.e. exactly the 0.1.40.3 number, whileSTRATA_PREFILL_CPU_SHARE=0leaves it at 161.1. Grouping the runs by the setting rather than by version gives +13.8% (gen-only), +8.8% (4096-prompt, 256 tokens in every run), +3.5% (32768-prompt). So the release's "+10-20% decode on 12-16 GB cards that miss experts" is the right order of magnitude on a 24 GB card with a 6986-slot expert cache too, and it shrinks as the prompt gets longer.Results: Minisforum MS-01 + 4x Tesla V100 (NVLink), IQ3_S, 262144
The two halves together: the new defaults are adaptive
Both features that produced the large gains on machine 1 are switched off by the engine itself on machine 2, and the start logs say why, verbatim:
STRATA_ROUTE_TAIL_SKIP(the +13.8% decode gain): machine 1 logsSTRATA_ROUTE_TAIL_SKIP=7 is ON (default); machine 2 logsSTRATA_ROUTE_TAIL_SKIP is off by default: 98.0% of the experts are in the GPU cache, so few are missed and skipping them costs more draft acceptance than it saves; STRATA_ROUTE_TAIL_SKIP=7 turns it on. The decode expert cache hit rate measured in these runs is 99.9-100.0% (e.g. 272357 hits / 272550 lookups), consistent with that decision.prefill: the CPU share is ON by default for prompt chunks below 1024 tokens; machine 2 never prints that line.include/strata/prefill/share_rules.hppstates the rule - "With every expert resident in the GPU's cache nothing is streamed, so there is nothing to take" - andsrc/prefill/prefill.cppsays the default is armed only for "CUDA builds, one GPU, no batch slots", while this is a four-GPU--layer-split autobuild. Tested directly rather than by inference: withenv: {"STRATA_PREFILL_CPU_SHARE": "1"}forced on, the 163-token case moves 203.7 -> 208.5 tok/s (against a ±0.7% band - a small move, nothing like +31%) and 4K reading does not move at all.So the "+31% short prompts / +10-20% decode" headline of 0.1.41-0.1.42 is real on machines that stream experts, and both features correctly stay out of the way on a machine where they would cost more than they save. If it is useful, the release notes could say so explicitly - the current wording reads as a universal number.
Limitations stated in the reports
Synthetic prompts, greedy decoding, early stops on repetitive text (which is why the decode column is not comparable when lengths differ - at 156K-200K on machine 1 that is the case for three of the four rows, and on machine 2 for all of them), the OS not isolated. The long-context and opt-out runs used code-style prompts only; on machine 2 only the code variant was run at all, and nothing above the configured context was measured. Machine 1 no longer serves the interactive agent that ran the measurements (that agent is on another host), so no observer traffic could enter those runs; machine 2 does serve it, so agent traffic overlaps those runs - it is present in the measured run, the control and the previous-version run alike, and the ±0.3% control band shows it is small but not zero. The engines are built with CUDA 13.4 (machine 1) and a private CUDA 12.8 for
sm_70(machine 2) while the release binaries use CUDA 13.0 - every version inside each comparison was built the same way on that machine, so the comparisons are internal, but neither is a comparison against published Linux binaries, of which there are none for this tag. Opt-ins not tested:STRATA_IO_PREFETCH/STRATA_IO_PF_STAGE,STRATA_UNBUFFERED_LOAD,pin=N,STRATA_SPEC_GUMBEL,STRATA_MMVQ_IL=0,STRATA_STAGER_SLEEP=0,--conversation-cache-mib,--batch/--batch-groups,--kv k8v4. The measurement script is a local script, not included in the PR; available on request.No engine changes in this PR - measurements only.
Unrelated note found while testing this release
tools/test_setup_golden.pyfails 8 subtests on any Linux machine at v0.1.44.1 (test_yesandtest_enter_for_every_question, all on theunsloth UD-Q4_K_XLcases). The only difference is one line of the written config: the baseline intools/test_setup_golden.jsonrecords"exe": "<T>/engine/strata-vision.exe"for the new Unsloth entries, whilesetup.pywritesstrata-visionon Linux; all 5.exeoccurrences in the fixture are in those new entries, and the qwen entries of the same fixture are normalized correctly. Reproduced in a cleangit worktreeof the tag, so it is not a machine-state issue - the new entries look like they were recorded on Windows.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.