mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2668] Community benchmark: RTX 4090 48GB and 64GB system RAM. unsloth/Qwen3.8-Flash-Next-GGUF:UD-Q4_K_XL #1062
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#1062
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?
Originally created by @MaximS on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2668
Community benchmark on NVIDIA GeForce RTX 4090 48GB and 64GB system RAM
(Custom RTX 4090 with doubled VRAM. Should be on par with RTX 6000 Ada)
Measured on 2026-10-15 with
tools/strata_bench.py(suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run.Hardware and software
Model and configuration
Environment of the config:
STRATA_HC_Q8=1Method
Run by
python tools/strata_bench.pyagainst the HTTP API of a Strata server (started by the benchmark from the install configuration); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests.tools/ab_engine.py, up to 100 new tokens, 3 runscached_tokens) and timings (prompt_n)Results
Ranges are the lowest and highest of the runs;
Runscounts requests that returned a token.Agent session (conversation cache)
Cache hit over the follow-up turns: 68.5 % (68.3-68.7); earlier-turn tokens read again per session: 74 (4-214) (earlier turns that the cache did not hold; the 13729 (13728-13730) new tokens of the files are read once); first turn (nothing cached) first token: 1.80 s (1.80-1.82).
Per-request data:
results.json. Engine log lines from the start:engine-log-excerpt.txt(when this run started the server).Correctness and limitations
Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server,
nvidia-smi/rocm-smiand the OS; background load and power limits are not recorded. Total time of the suite: 135 s.Peak Temperatures
@hongxianzhi commented on GitHub (Oct 16, 2026):
Community benchmark: RTX 4090 (24 GiB, stock) + 127.8 GiB RAM, unsloth UD-Q4_K_XL at 262,144 — Windows
Measured on 2026-10-15. The suite numbers are
tools/strata_bench.py(3 runs per test, medians withranges); recall, deep-context decode and the wider concurrency curve come from separate runs of a small
script of my own, and are labelled as such. Speeds are the engine's own timings; first-token times are
measured by the client over HTTP.
This thread covers the same model, the same quantization, the same 262,144-token context, the same tool and
the same engine version on hardware that splits the RAM and VRAM the other way round: the expert cache gets
half the VRAM (24 GiB vs 48 GiB) but twice the RAM (127.8 GiB vs 60.7 GiB) behind it. So I am posting my
numbers here rather than opening a near-duplicate issue — the two reports are directly comparable, and
together they show the model's native 262,144-token window running on a stock 24 GiB card.
Hardware and software
296b59d2; engine 0.1.44.1 (engine\strata.exeas setup installed it — not a local source build)Model and configuration
qwen3.8-flash-next-unsloth-ud-q4_k_xl(unsloth UD-Q4_K_XL, 4 GGUF shards, about 104 GB on disk)mmproj-Qwen3.8-Flash-Next-BF16.gguf,--visionon; expert profiledata/expert-profile.bin; MTP draftmtp/rt--kv int8,--kv-resident 32768;--expert-cache auto→ 4,727 slots / 13.79 GiB in VRAM at this context; about 200 MiB VRAM free while serving (floor seen: 55 MiB with the vision encoder loading)--pcie-frac 0.20 --spec-min-p 0.50 --pool-workers 7 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97; the install's calibration probe measured 87.7 → 99.9 tok/s when it picked theseSTRATA_HC_Q8=1, andSTRATA_ROUTE_TAIL_SKIP=0in the configuration I shipMethod
python tools/strata_bench.py --runs 3 --clients 4 --long; the 131,072 armsby
python tools/strata_bench.py --runs 3 --clients 2. Model loading is not timed; the tool's own warm-upis used. Every fresh prompt carries a unique tag, so the conversation cache cannot help those tests.
STRATA_ROUTE_TAIL_SKIP=0vsthe default rank 7), so they are a controlled pair; they were run back to back with the same suite, the
same client count and 3 runs each.
from the engine's own lines. Deep-context decode: same script at 69 / 57,829 / 173,386-token prompts.
the wall time of the burst. These runs are separate from the
strata_bench.pytables.Results
262,144-token context,
--runs 3 --clients 4 --longConcurrency, 4 clients (1 parallel slot, requests beyond that wait): total 47.6 tok/s (46.0-48.5); first
token p50 5.007 s, p95 9.166 s; request latency p50 6.924 s, p95 10.922 s; errors 0.
Same hardware and suite, tail skip at its default rank 7 (
STRATA_ROUTE_TAIL_SKIPunset)Concurrency, 4 clients (1 parallel slot): total 59.6 tok/s (55.6-60.2); first token p50 4.091 s, p95
7.229 s; request latency p50 5.613 s, p95 8.866 s; errors 0.
The 131,072-token arms (
--runs 3 --clients 2)Five server configurations, one suite each. All at
--max-context 131072,--spec 4,--mtp rt,--expert-cache auto,--prefill auto,--kv int8 --kv-resident 32768,--vision.STRATA_ROUTE_TAIL_SKIP=0, 1 slotparallel: 2parallel: 2+--vram-reserve-mib 1728--batch-mtpA sixth,
--max-context 262144with the tail skip on but without the calibration values(
--pcie-frac/--pool-workers/--adapt-*): chat 74.9 (63.0-82.8), 4K 1321.1, 16K 2524.2, agent 92.2(71.7-108.0), 2 clients 59.0 (51.2-60.0).
Side by side with the opening report (same model, quantization, context, tool, engine 0.1.44.1)
Both machines land in the same range at 262,144, one with the VRAM to hold more experts and one with the RAM
to hold them. These two runs differ in CPU, PCIe generation, OS, power limit and launch settings, so the
numbers are descriptive only — nothing here isolates which of those explains a difference.
Separate runs: deep-context decode, recall, vision
87.3 tok/s; 57,829-token prompt → 86.8 tok/s (prefill 2,447 tok/s); 173,386-token prompt → 95.1 tok/s
(prefill 3,235 tok/s).
prompt (109 s and 103 s). So 262,144 is usable, not just configurable.
STRATA_ROUTE_TAIL_SKIP=0: 53.3 / 58.9 / 59.9 / 58.9; withparallel: 4: 44.5 / 54.7 / 65.0 / 64.4 and amuch better p95 first token at 4 clients (3.95 s vs 11.55 s with 1 slot, at about 9 % less total tok/s).
What the settings did (measured on this machine)
262,144, with everything else equal, +36 % (58.5 → 79.3) and +9 % on prompt ingestion. It also raises
agent-session decode (73.1 → 84.1) and 4-client total (47.6 → 59.6). I did not measure what it costs
in answer quality, so I ship it off; anyone who wants the speed can set
STRATA_ROUTE_TAIL_SKIP=7.parallelis not a win for aggregate throughput here. At 131,072 with skip on, 2 slots cost thesingle request 67.8 → 40.6 and the 2-client total 55.8 → 35.8, and the expert cache shrinks (4,727 → 4,079
slots). 4 slots buy a better first token under load (p95 3.95 s vs 11.55 s) at about 9 % less total tok/s.
One slot plus queueing is the better default on a 24 GiB card.
--vram-reserve-mibabove 700 costs speed: 1,728 (and 1,600 in another sweep) measured −8 % to −10 %at 4–8 clients. 700 held up in about 20 sessions here, including the 257k-token prompt, 8 clients and
images; the lowest free VRAM I saw was 55 MiB while the vision encoder loaded.
it picked
--pcie-frac 0.20 --spec-min-p 0.50 --pool-workers 7and the adaptive-tier values; in the suitethe chat median moved 74.9 → 79.3 between the two 262,144 configurations that differ by those values and
by client count (2 vs 4), so treat that as directional, not a controlled A/B.
--host-core last(63.6/68.5/72.3/70.4 vs 64.6/69.4/71.0/71.2 at 1/2/4/8 clients) and--batch-mtpwere inside run-to-run noise.--prefill 16384was not retested (docs measure it slower).Correctness and limitations
correctness checks here, and the needle measures recall on those inputs, not overall quality.
--batch/sweeping of parallel slots above 4. Clocks, power draw andtemperatures were not captured, and background load was not controlled.
strata_bench.py; the engine's own timing lines were used, but I did not publish those per-request files.ranges).
tools/strata_bench.pywroteREADME.md,results.jsonandengine-log-excerpt.txtfor alleight runs (five arms at 131,072, three at 262,144) into a scratch folder on this machine. I can attach them
here, or open a pull request that adds the folder under
bench/results/— say which is more useful.@hongxianzhi commented on GitHub (Oct 16, 2026):
An addendum to my earlier report on this config, in case someone reads the numbers above later.
Re-calibrated and re-measured. My earlier numbers were taken with the calibration the installer
had made while
STRATA_ROUTE_TAIL_SKIPwas still on. I re-ransetup.py --calibratefor UD-Q4_K_XL inthe same mode as the measurements (tail skip off), which moved
--spec-min-p 0.5 → 0.7and--adapt-swaps 80 → 160(--pcie-frac 0.20and--pool-workers 7unchanged), then re-measured thesame day with the same command (
tools/strata_bench.py --runs 3 --clients 4 --long):So the retune is worth 7-10 % single-stream and nothing measurable with four clients (+0.4 %, inside
the run-to-run spread); those two knobs did not move that number. The 256K context, the 128K API cap
and the quality framing of the earlier post are unchanged.
For comparison, the same suite on the same machine with the two IQ3-class files of the same model
(also calibrated here, also tail skip off): IQ3_XXS 109.2 tok/s chat decode / 2634.9-4771.2 prompt /
95.3 at four clients, and IQ3_S 92.2 / 2158.7-4228.6 / 74.8. IQ3_S is 9-22 % slower than IQ3_XXS at
every length and holds 6.9 GiB more experts in RAM, which matches the registry note in
setup.py("about 15% slower than IQ3_XXS and 7 GB more RAM").
All three run folders and a comparison summary are in PR #2795
(https://github.com/Niko1221/Strata/pull/2795). Speed only — no quality measurement was run.
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.