mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4607] [Benchmark] RTX 4090 24 GB: 123.6 tok/s general / 133.3 tok/s text-only (engine 0.1.52, workers 16, spec 6) #2088
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#2088
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 @yuyulz on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4607
中文版
RTX 4090 24 GB(i7-13700F / 64 GB)上的社区基准
2026-10-29 由 user 实测。Windows 11 桌面单卡,Qwen3.8-Flash-Next 的 IQ3_XXS 量化。
这是自己写的测试脚本,不是标准
strata bench run协议:固定一条中文 prompt,300 token 上限,非流式请求,丢弃首次(缓存冷)后取 4~5 轮中位。绝对值仅供参考,所有相对比较都在同一台机器、
同一条 prompt、同一种会话类型下完成。
硬件与软件
strata-engine-0.1.52-windows-x86_64-cuda-cuda13模型与配置
Qwen3.8-Flash-Next-GSQ-RCO-abliterated-IQ3_XXS,两个 GGUF 分片(44.09 GB + 26.82 GB),
mmproj-Qwen3.8-Flash-Next-BF16.gguf(0.85 GB,视觉用)int8;--expert-cache auto;--prefill auto<data>\mtp\rt★ 两种运行模式(本报告的重点)
同一台机器上,我们按用途把配置分成两档,唯一区别是显存预留和是否带视觉:
--vram-reserve-mib--vision)关掉视觉省下的约 2 GB 显存全部给了专家缓存,所以写作模式比通用模式快 7.8%。
两种模式都用了下面列出的全部优化项(
--spec 6+--pool-workers 16)。引擎进程占用的内存:41.5 ~ 43.5 GB(页锁定的专家缓存;模型共 71 GB,显存放不下的部分在内存里)。
方法
Prompt:一段固定的 3,021 字符中文文本(光合作用说明),后接"用三句话总结"。实际约 1,500 token。
max_tokens300,temperature 0.3,enable_thinking: false,非流式。所有配置用同一条 prompt;引擎启动后的第一轮丢弃(专家缓存冷)。
decode tok/s 取自引擎自身日志(
generated in N ms (X tok/s)),不是用总请求时间反算。每一种配置都启动了全新的引擎进程,配置之间不复用状态。
结果
--spec 4,workers 8--spec 4,workers 8--spec 6,workers 8--spec 6,workers 16(通用模式)真正有效的是哪几项
--pool-workers 8→ 16(按物理核)--spec 4→ 6投机解码的接受率随 spec 深度下降(2/3/4/5/6 分别 90.9% / 83.8% / 78.2% / 78.3% / 72.3%),
但净吞吐仍然单调上升(92.2 / 102.9 / 107.8 / 103.7 / 115.7 tok/s,各 4 轮中位)。
★ 警告:显存预留给得太紧会掉一半速度
同一引擎、同一 prompt,只改
--vram-reserve-mib:这与
DETAILS.md里的警告一致:低于约 256 MiB 时引擎开始换页,decode 直接崩塌。24 GB 卡上我们不会让显存剩余低于约 1.5 GB。
正确性说明与局限
strata bench run的结果,只有上面这些自写测试。STRATA_EXCHANGE_ROTATE=1在本机没有效果,日志里从未出现exchange buffer rotation enabled;推测它需要--resident-experts布局,而我们没有用(64 GB 内存装不下 71 GB 的专家)。
STRATA_KVA=1只把首次 prefill 改变了约 5%(约 4.9k token 的 prompt:2353 → 2244 ms),decode 没有变化(114.9 vs 117.8,在噪声内)。
English version
Community benchmark on RTX 4090 24 GB (i7-13700F, 64 GB RAM)
Measured on 2026-10-29 by user. Windows 11 desktop, single GPU, IQ3_XXS
quantization of Qwen3.8-Flash-Next. This is a self-written benchmark, not the
standard
strata bench runprotocol: one fixed Chinese prompt, 300-token cap,non-streaming requests, medians over 4-5 runs after discarding the first
(cold-cache) run. Treat the absolute numbers as indicative; every relative
comparison was made on the same machine, same prompt, same session type.
Hardware and software
strata-engine-0.1.52-windows-x86_64-cuda-cuda13Model and configuration
Qwen3.8-Flash-Next-GSQ-RCO-abliterated-IQ3_XXS, two GGUF shards(44.09 GB + 26.82 GB),
mmproj-Qwen3.8-Flash-Next-BF16.gguf(0.85 GB) for visionint8;--expert-cache auto;--prefill auto<data>\mtp\rtTwo operating modes (the main point of this report)
On the same machine we keep two presets that differ only in VRAM reserve and vision:
--vram-reserve-mibDisabling vision frees about 2 GB of VRAM, which all goes to the expert cache, so
writing mode is 7.8% faster. Both modes use every optimization below
(
--spec 6+--pool-workers 16).Engine RAM footprint: 41.5 - 43.5 GB (page-locked expert cache; the model is
71 GB in total and what does not fit in VRAM lives in RAM).
Method
Prompt: one fixed 3,021-character Chinese text (an explanation of photosynthesis)
followed by "summarize in three sentences". Actual prompt length ~1,500 tokens.
max_tokens300, temperature 0.3,enable_thinking: false, non-streaming.Same prompt for every run; the first run after engine start is discarded because
the expert cache is cold. Decode tok/s comes from the engine's own log line
(
generated in N ms (X tok/s)), not from total request time.Every configuration started a fresh engine process; nothing was reused
between configurations.
Results
--spec 4, workers 8--spec 4, workers 8--spec 6, workers 8--spec 6, workers 16 (general)What actually made it faster
--pool-workers 8->16(physical cores)--spec 4->6--vision,--vram-reserve-mib4096 -> 2048Draft acceptance falls with spec depth (90.9% / 83.8% / 78.2% / 78.3% / 72.3% for
spec 2/3/4/5/6) while net throughput still rises (92.2 / 102.9 / 107.8 / 103.7 /
115.7 tok/s, medians of 4 runs each).
Warning: an over-tight VRAM reserve costs half the speed
Same engine, same prompt, only
--vram-reserve-mibchanged:Matches the warning in
DETAILS.md: below roughly 256 MiB the engine startspaging and decode collapses. On a 24 GB card we would not leave less than ~1.5 GB free.
Correctness and limitations
strata bench runresult yet; only the self-written runs above.STRATA_EXCHANGE_ROTATE=1had no effect here and the log never printedexchange buffer rotation enabled; presumably it needs a--resident-expertslayout, which we do not use (64 GB RAM cannot hold all 71 GB of experts).
STRATA_KVA=1changed the first prefill by about 5% (2353 -> 2244 ms for a~4.9k-token prompt) and decode not at all (114.9 vs 117.8, within noise).
@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you for measuring this and writing it up. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.
感谢你测量并整理了这份报告。我们正在建设 Strata 网站,其中有一个社区基准测试页面,这类结果会在网站上线时添加到那里,所以我们在这里关闭此条目。如果新版本下你的数据有变化,欢迎再次发布。