mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #440] [CLOSED] bench: community report, RTX 5090 + Ryzen 9 9950X3D, IQ3_S at the full 262K window; prefill auto:32768 A/B; conversation-cache 32 GiB demo #2641
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#2641
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/440
Author: @Ambolio
Created: 10/2/2026
Status: ❌ Closed
Base:
main← Head:bench-community-rtx-5090-iq3s-262k📝 Commits (10+)
12fd16cple: --ple-io ram locks the n-gram table in RAM (no SSD read on the prompt/token path)9ec069bple: --ple-io ram: refused on Windows (no mlock), 'locked' only when mlock succeeded else 'loaded (not locked)', neutral comments + --help (review)cf0d12cperf(prefill): allow explicit routed-only staging for large chunks85049daWSL2: survive the driver's ~1 GiB pinned host budget with 3 GPUs2152c8fShow prefill speed alongside decode speed in dashboardf2b5b1csetup: the 3-bit models' 262K context is counted against RAM, not a fixed 90 GB853aa46generate: zero session state for a native pack before the prompt path9086c36tests: bitwise check of native_mmvq's multi_exact contract, with a negative control (#148; CMake on the backend variables, CUDA-only)ec64796generate: the session state is zeroed for every pack in CLI generate mode (#167 follow-up); no .pi/ ignore line89d423fA fatal CUDA fault in the prompt path exits at once instead of hanging until the watchdog (#224); CMake warns when sm_120 is built with CUDA < 13.0 (#220, #224); iq_pack writes native_experts.txt under a temporary name, so a stop part-way leaves no partial pack (#172)📊 Changes
11 files changed (+937 additions, -0 deletions)
View changed files
➕
bench/results/2026-10-02-community-rtx-5090-iq3s/README.md(+131 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/bench-prefill32k.out(+30 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/bench.out(+30 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/bench.py(+159 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/config.json(+57 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/conversation_cache_demo.py(+79 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/demo.json(+57 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/demo.out(+7 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/needles.json(+83 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/needles.out(+10 -0)➕
bench/results/2026-10-02-community-rtx-5090-iq3s/runs-prefill32k.json(+294 -0)📄 Description
Community benchmark report under
bench/results/2026-10-02-community-rtx-5090-iq3s/, results only (no engine changes), in thedocs/COMMUNITY_BENCHMARKS.mdformat.Hardware: RTX 5090 32 GB (Windows 11, WDDM, driver 617.14). The 4K desktop sits on a second GPU, so the 5090 carries no graphics clients — relevant to #279:
--vram-reserve-mib 100shows no stalls here. Ryzen 9 9950X3D (AVX-512), 96 GB RAM, NVMe.Software: engine 0.1.33 release binary (BUILD.json: CUDA 13.0, sm_75/86/89/120+PTX), serve wrapper 0.1.30.
Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S (2 GGUF shards + PLE), MTP
rt, shipped expert profile, vision on CPU (16 threads).Configuration:
--expert-cache auto --prefill auto:32768 --spec 4 --spec-min-p 0.70 --mtp rt --max-context 262144 --kv int8 --kv-resident 65536 --vram-reserve-mib 100 --pcie-frac 0.35 --conversation-cache-mib 32768 --conversation-cache-slots 8,fit_max_tokenson. Expert cache 12,439 slots / 23.61 GiB. Full config inconfig.json.Findings:
cache_n = 0in every measured run — greedy, 256 out, 1 warm-up + 3): prefill 999 / 2,439 / 5,045 / 6,004 tok/s at 1K/4K/32K/128K; decode 144 / 149 / 142 / 125; drafts accepted 75-76%.--prefill auto:32768(theauto:32768form from the help; PR #282's idea): 32K 4,168 -> 5,045 (+21%), 128K 4,450 -> 6,004 (+35%). Larger than #282's +15% at IQ2_XS — consistent with their note that bigger experts gain more. Decode unchanged.needle_bench.py9 of 9 found at 32k/128k/256k x depths 10/50/90 — the 256k rows are 261,669-261,670 prompt tokens, the edge of the 262,144 window, on one 5090.conversation_cache_demo.py): the engine default is off (--conversation-cache-mib 0, 4 slots). With 32 GiB / 8 slots, follow-ups on two interleaved ~65k-token conversations cost 0.6-1.2 s instead of 11-13 s (10-20x); the engine restores 66,251 tokens in 82 ms and a live 160,978-token agent session in 186 ms; after an LRU eviction the partial path still reused 30,560 tokens and read 25,500 fresh at 5,002 tok/s. Parked bytes ~ 30 KB/token; 8 conversations (largest 162k tokens, 3.85 GB) sat in ~20.8 GB.auto:32768the engine warns "0 MiB of VRAM free with everything loaded — add--vram-reserve-mib 612". The prompt-path loan (7,736 slots / 14.64 GiB) peaks during prompt processing; idle free is 485 MiB and no stalls appeared across the full sweep. Is the warning conservative for this shape, or should the loan cap account for the reserve?Limitations: one machine, single stream, greedy, prompts built from repo text; TTFT measured client-side on a FIFO server (includes queue time); the baseline per-run JSON was overwritten by the A/B run (its per-run lines are in
bench.out); no quality suite beyond the needle checks.Measurements and write-up put together with Claude Code on my machine and checked by me.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.