mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3923] [Engine] Re-test on 0.1.48 (32 GB PC, Gyro-S): CPU prefill share is still off by default and still worth 2.9-3.4x prompt speed #1677
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#1677
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 @oldwinter on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3923
Continues #2478 (closed as not planned in the 0.2.0-beta tracker reset, which asked for a re-test
on 0.2.0-beta). Re-tested on 0.2.4.1 / engine 0.1.48, still armable only by hand, and on this machine
the gain is larger than in the original report: 2.9-3.4x on prompt reading (4.4-7.5x on the
shortest prompt tried) with no failures.
What happens
Setup's own config (
--resident-experts,--prefill auto) leaves the CPU prefill share off on a32 GB PC. From the engine log of an untouched
strata launchstart:Same machine, timer only changes when the CPU share is persisted (
strata launch --preset ... --set STRATA_PREFILL_CPU_SHARE=auto --save-preset ...):Note the plan gets worse by its own metric (85 GB -> 253 GB of drive reads per 32K prompt, chunk
8192 -> 2048) yet prompt reading is much faster in practice, because the CPU keeps the experts that
the file tier would otherwise fetch. The original report saw the same pattern (1.0 GiB of file pages
against 2.9 without the share).
Measurements
Gyro-S (Qwen3.8-Flash-Next, trellis experts, pack with
experts.bin), 64K context, int8 KV, MTPdraft on, RTX 4060 Ti 16 GB + Ryzen 5 7500F (AVX-512) + 32 GB RAM + NVMe, Windows 11 26200,
/v1/chat/completions,max_tokens=8,temperature=0,reasoning_effort=none, wall clock of thewhole request. Fresh prompts each time (no prefix cache hit).
=auto, chunk 2048 plan)Decode: 9.6 tok/s on a fresh start with the share on (17-25 tok/s with a warm page cache, off or on),
so decode is not obviously harmed here, unlike the warning text.
Question (same as the original)
Can setup/
strata launchdecide this itself instead of the user? Two candidates:STRATA_PREFILL_CPU_SHARE=autowhen the resident set is smaller than what the file tier wouldhave to feed (here: 9.4 GiB resident vs 16.1 GiB of file pages on a 32 GB PC).
2048/16 chunks: the read estimate grew 3x while throughput grew 3.4x, so the planner and the
actual bottleneck disagree on this setup.
Environment
c33fa7ba6d0d5b104983736b50c4e1d61f207b1bf-023-rel, commit6f8800aefe27), CUDA 13.0, archs 75/86/89/120agentionai/Qwen3.8-Flash-Next-Gyro-GGUF,Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf,low-RAM mode, pictures off (the reader does not start here, see #3921)
file is a fixed 43.2 GB, not system-managed
@coryjett commented on GitHub (Oct 28, 2026):
A second data point, from a layer split rather than one card: 2x RTX 3090 on PCIe 3.0 x16 (one per socket, Xeon E5-2620 v3), Flash-Next IQ3_S, Strata 0.2.7 / engine 0.1.52, ~78% of the experts resident across the two cards. The share is off by default under a split too; with
STRATA_PREFILL_CPU_SHARE=autoandSTRATA_PREFILL_CPU_SHARE_MAX=4096set explicitly, incremental reads of 300-4,000 tokens onto a cached ~66K context (the coding-agent shape) got 8-13% faster over the curve: about -0.6 s at 1K and -0.9 s at 1.5K, flat above 2K. The 32K read, decode and greedy output were unchanged within production's own spread, and it has been in production since. Much smaller than your 2.9-3.4x, which fits: here only ~22% of the experts stream, on your 32 GB PC most of them do. The prefill help share (STRATA_PREFILL_HELP) did not add to it, since the help only runs above the share's maximum. Tables and raw per-run files in #4468 (bench/results/2026-10-28-community-t630-2x3090-pcie3/, rounds r24-r26).@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. 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.