[Benchmark] RTX 5090 / Qwen3.8-Flash-Next / IQ3_S / 512K YaRN x2 + KV streaming (community suite + deep battery)

Open Beginner friendly
#7,537 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp, python

Research direction

Start with the attached README.md and the standard suite output, then review the report files and reproduction script linked in the issue. Check that the reported configuration, measurements, limitations, and evidence are presented together in the community benchmark format. Done means the benchmark report is ready to add to the repository as a results folder.

Written by the indexing model from the issue text.

Description

Results-only report (community format, no engine changes). One machine, two parts, same day, same engine build:

  • Part A: standard community suite (terminal/tools/strata_bench.py) — tool output attached unchanged (results-standard-suite.json, engine-log-excerpt.txt).
  • Part B: custom deep-context battery at 409K prompt tokens — the first published configuration-class report we know of for 512K context + --rope-scaling yarn --rope-scale 2 + --kv int8 --kv-resident 32768 streaming + ESP control vector on a 5090 under WSL2: 12/12 exact verbatim needles + relational PASS at 408,783 measured tokens, ≈244 t/s mean decode at that depth with 92% of KV streamed, 8,502.9 t/s prefill at 180K.

All files for the report are attached to this issue (README.md text is pasted below; raw evidence JSON + the reproduction script are attached files). The same package is ready as a PR branch (docs/bench-results/2026-11-29-community-rtx-5090-wsl2-512k-streaming-iq3s/) if maintainers prefer it merged as a folder — happy to open the PR after forking.

Required stages: Part A + Part B speed/recall rows. Optional/skipped: vision, concurrency, multi-slot, sustained thermals — labelled in the report. Discarded run disclosed: one shapes repeat (r2) contaminated by background agent load was excluded and re-run quiet.


Community benchmark: RTX 5090 under WSL2 — Qwen3.8-Flash-Next IQ3_S at 512K with YaRN ×2 and KV streaming

Measured on 2026-11-29 by st3inerd. Two parts on the same machine and the same engine build:

  • Part A — the standard community suite (terminal/tools/strata_bench.py, suite 1, 3 runs per test). Tool output attached unchanged: results.json, engine-log-excerpt.txt.
  • Part B — a custom deep-context battery at 409K prompt tokens (recall + speed at 12× the resident KV line), because no published report covers this configuration class: 512K context, --kv-resident 32768 with streaming, YaRN ×2, under WSL2.

Summary medians: fresh 16K prompt 7,987 t/s; agent-session follow-up turns 221 t/s decode at 70.9% cache reuse; 180K fresh prefill 8,502.9 t/s; decode 189.3 t/s at 180K and ≈244 t/s mean at 409K with 92% of KV streamed from pinned RAM; 12/12 exact verbatim needles + relational PASS at 408,783 measured prompt tokens.

Hardware and software

  • GPU: NVIDIA GeForce RTX 5090, 32 GiB VRAM, PCIe Gen5 x16 (engine probe: 56.8 GB/s H2D), power limit 600 W. A second GPU (RTX 5070 Ti) is installed but assigned off for this server (gpu_roles: {0: main, 1: off}); it runs an unrelated workload outside these measurements.
  • CPU: AMD Ryzen 9 9950X3D (16c/32t); installed RAM: 93.6 GiB.
  • Storage: NVMe (Samsung 990 EVO Plus / 9100 PRO); model files on an NTFS volume read through WSL2.
  • OS: Windows 11 (10.0.26300) + WSL2, kernel 6.18.33.2-microsoft-standard. GPU driver 621.01; engine is the CUDA 13.0 prebuilt release (release archive id ebda56cbaa19+cuda13.0), project/engine 0.1.70 (= app v0.2.23). Not a git checkout; engine version from the install and the startup banner.
  • GPU clocks not pinned. Background during Part B runs: the agent client connected but idle; no other GPU workloads in the measurement windows (one contaminated shapes run was discarded and re-run — see Limitations).

Model and configuration

Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_S two-shard split (Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf, -00002-of-00002.gguf) + mmproj-Qwen3.8-Flash-Next-BF16.gguf. Repository revision was not recorded at download; SHA-256 hashes of all three files are in model-hashes.txt. MTP draft pack fetched by the installer (Qwen/Qwen3.8-Flash-Next tensors, prepared path <data>/mtp/rt).

Part A server (started by the benchmark tool at 13:20:31, engine's own engine started: line, paths shortened):

strata.exe --serve --pack <data>/packs/iq3_s --native <IQ3_S-00001> --ple-gguf <IQ3_S-00002>
  --expert-profile <install>/terminal/data/expert-profile.bin --expert-cache auto --prefill auto
  --spec 4 --mtp <data>/mtp/rt --max-context 524288 --rope-scaling yarn --rope-scale 2
  --kv int8 --kv-resident 32768 --vision --vram-reserve-mib 700
  --control-vector-scaled <install>/terminal/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0
  --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --spec-min-p 0.5 --vram-elastic

Part B production server (cold boot 13:30:26, same core flags, plus explicit pool/adapt/conversation-cache settings — the exact startup line is in engine-log-excerpt.txt and deep-engine_rows.jsonl provenance):

  … identical core … --vram-reserve-mib 1500 --vram-elastic --pool-workers 10 --adapt-every 1
  --adapt-swaps 80 --adapt-decay 0.97 --conversation-cache-mib 8192 --conversation-cache-min-tokens 1024

Changed-from-default settings, stated explicitly: --max-context 524288 (native is 262,144), --rope-scaling yarn --rope-scale 2, --kv-resident 32768 (streaming beyond it; startup line: KV streaming: 32768 of 524288 cells per QSA layer in VRAM, the K/V in 6.19 GiB of pinned RAM), experimental speed projection on (engine-shipped control-vector pack for this model, scale 1.0, layers 4–44, project mode, per-layer), --spec-min-p 0.5, vision on (max_tokens 4096; not measured here). Expert cache auto sized to 11,449 slots / 21.73 GiB, prefilled 11449/11449 at start; idle vram_free 1,523 MiB.

Method

  • Part A: python terminal/tools/strata_bench.py with the install configuration; the tool started the server, discarded one warm-up chat and one 1K prompt, used unique prompt tags, 3 runs per test, thinking off / temperature 0 for the suite. Total suite time 41 s. Results reproduced verbatim from the tool's own README; raw per-request data in results.json.
  • Part B: custom battery (deep-probe-battery.py attached, direct /v1/chat/completions, no session layer, no compression, single context np1). Deterministic word-list corpus, seed 99114, 1,214,227 chars (calibrated 0.337 tok/char for this corpus) with 12 hidden codeword needles at distributed depths plus one relational question; loaded to 408,783 measured prompt tokens, then 14 probe requests. Engine rows taken from the server's own /metrics matched exact on prompt_total (a ±5% window match was the known capture bug, fixed). Shapes run separately (prose/coding/math, 3 repeats) in a quiet window. Thinking on, production sampling. Same battery ran twice this day: on 0.1.67 (boot 12:28:09) and on 0.1.70 (boot 13:30:26); both cold, same core config. Raw evidence: deep-answers.json, deep-grade.json, deep-engine_rows.jsonl.

Results — Part A (standard community suite, 0.1.70, medians with ranges)

Configuration Actual prompt tokens Reused Generated Runs Prompt tok/s Decode tok/s TTFT s
short chat 46 (43-51) 0 100 9 not measured 164.8 (144.1-226.0) 0.28 (0.25-0.33)
4K prompt, fresh 4,019 0 24 cap 3 4,825.9 (4,727.1-4,896.4) not measured 0.86 (0.85-0.87)
16K prompt, fresh 16,058 0 24 cap 3 7,987.1 (7,703.5-8,122.8) not measured 2.05 (2.01-2.11)
agent session follow-ups 14,992 at last turn see results.json ≤64 3 see results.json 221.0 (170.7-276.9) 0.80 (0.60-0.98)

Conversation-cache behaviour across the 5-turn agent sessions: 70.9% of earlier-turn tokens reused; 5 tokens re-read per session; first-turn TTFT 0.83 s. Full per-turn table in the tool output and results.json.

Results — Part B (deep-context battery, 0.1.70, cold boot 13:30)

Instrument Result
180K fresh prefill 8,502.9 t/s (engine row)
180K decode 189.3 t/s @ hit 0.869
409K fresh prefill (408,783 tok) 7,544 t/s
Decode at ~409K, 14 probes mean ≈244 t/s (range 158.6-282.3) with 92% of KV streamed; KV block-read VRAM hits 95.6-96.2%
Draft acceptance (deep probes) 85-90%
Deep-prefix reuse across separate conversations sharing the 409K prefix from the first probe: 377,340 tokens reused instantly, ~31.4K re-read at ~6,050 t/s (~5.2 s/turn)
Verbatim recall at 408,783 tokens 12/12 exact codewords + relational PASS
Health self-check decode 226.3, prefill 8,034 @206K, expert hit 95.4%, PCIe 0.000, idle VRAM free 1,523 MiB; zero only N MiB / LOW: warnings

Comparison on the same day and machine, engine 0.1.67 (boot 12:28:09, same core config — labelled separately, not part of the 0.1.70 result): 180K prefill 8,230.9 / 8,475.8 t/s; 180K decode 149.4 / 181.2 @ 0.855; deep decode mean ≈181 (120.6-227.2); draft acceptance ~78-82%; first ~5 deep follow-ups cold-read ≈54 s each; 12/12 needles + relational PASS as well. The 0.1.70 delta on this workload is +35% deep decode and instant deep-prefix reuse, with identical quality fixtures.

Correctness and limitations

  • Part B is a custom battery, not the standard protocol — Part A is the suite run. Needle tests measure recall on these inputs, not general model quality. Fixture seed and script are attached for reproduction.
  • WSL2/NTFS is not a native Linux deployment; a second GPU exists but is not used by the engine; clocks are not pinned; one machine, one configuration.
  • ESP (speed projection) is on; generated text can differ from the bare card (documented engine behaviour). The quality checks here are recall/relational, not style.
  • Background honesty: during Part B the serving engine also hosted one idle agent context (np1; no concurrent generation in measurement windows). One shapes run (r2) was contaminated by the agent session generating in the same window and was discarded and re-run quietly; the contaminated numbers are not used as claims.
  • Host RAM at 93.6 GiB showed the conversation cache declining deep parks (refused_total=18, ram_floor) during back-to-back deep runs; disclosed as a machine limit, not an engine fault.
  • Not measured here: vision, concurrency (--clients), multi-slot, sustained thermals, TTFT at 409K fresh prompts.

deep-answers.json

deep-grade.json

deep-engine_rows.json

deep-probe-battery.py

engine-log-excerpt.txt

ISSUE-BODY.md

part-b-engine-startup-line.txt

README.md

results-standard-suite.json

Dominant language
C++
Stars
11.6k
Forks
1k
Avg merge
6d 2h
Merged PRs (30d)
21

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Niko1221/Strata

All issues in Niko1221/Strata

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.