[GH-ISSUE #4182] Strata 0.2.6 (DSV4.1 engine 0.1.51) on RTX 5090 D v2 24 GB / 128 GB RAM: full-residency near-miss, and --prefill-chunk 16384 gives 4.2x prefill over the auto 8192 #1836

Closed
opened 2026-11-04 01:54:29 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @biurquezjoselina-design on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4182

Strata 0.2.6 (DSV4.1 engine 0.1.51) on RTX 5090 D v2 24 GB / 128 GB RAM: full-residency near-miss, and --prefill-chunk 16384 gives 4.2x prefill over the auto 8192

Hi,

Follow-up to our 0.2.4 report (engine 0.1.49, decode 8.6-10.2 tok/s, RAM store stuck ~50 GB). 0.2.5/0.2.6 fixed exactly that: the store now grows to ~99.5-99.9 GB and decode is up across the board. Setup was again flawless with --gguf-dir-served local shards (we drive engine 0.1.51 via server.py + a hand-written config, same pack layout). All numbers below are the engine's own log lines ("maya ds4 serve:"), streaming chat, temperature 0, r1-style segments.

System

CPU / RAM Intel 14700KF / 128 GB DDR5-4800
GPU RTX 5090 D v2 24 GB, Windows 10
Model ISTA-DASLab GSQ-RCO IQ2_XXS 1017 set (4 shards) + Engram IQ4_NL, local dir
Engine args --serve --pack ... --max-context 8192 --eos 1 --dspark auto --dspark-conf 0.65 (+ variant flags per test)

1. Decode gains (0.1.49 -> 0.1.51)

segment (prompt tok) 0.1.49 0.1.51 default 0.1.51 --experts 5
short (66-78) 8.6 11.70 15.82
long-2000 (1896-1909) 7.9 8.38 18.29
long-8000 (7290-7304) 10.2 12.04 14.40

Warm conversation-cache hits push decode to 18.7-19.5 tok/s on repeat visits to the same conversation. DSpark auto-off as designed (log: routed experts 132 GB vs 23 GB VRAM, verify rounds read 3.3x a token's bytes), we did not force it.

2. The 0.2.6 full-residency rule misses on this box by ~15 GB - by design, but is there a knob?

Log at load:

ds4: RAM store: 111.5 GB of RAM free after the GPU's weights: store sized 99.5 GB, not 107.7
ds4: RAM store: 9429 of the profile's hottest experts read in (73.2 GB) in 72.4 s
ds4: 13965 routed experts on the CPU lane (120.5 GB, in place in the model's files), 20 threads

CPU-side expert pool is 118.6-120.5 GB; free-after-GPU is ~111.5-111.9 GB. The all-or-none rule (all experts + 8 GiB spare) needs ~126-128 GB, so it never triggers here and the remaining ~45 GB of experts keep streaming from NVMe. We understand "all or none, never a part" is deliberate. Questions:

  1. Is there (or could there be) a knob to force full residency anyway (e.g. spare = 2-4 GB, or an explicit --experts-resident=force)? We would happily trade page-file headroom for zero SSD reads; the box is dedicated.
  2. If full residency is impossible at 128 GB, is a "fill the store to the brim with the profile's hottest experts beyond the current 99.5 GB cap" mode sensible? The store cap looks like free-RAM minus ~12 GB of deliberate headroom; reclaiming half of that (~6 GB, ~600 more experts) may help long-tail experts.
  3. Minor: store read-in took 134.5 s on first load and 72.4 s on a later one (same pack, same profile). Is the difference just NVMe cache warmth, or is read-in parallelism adaptive?

3. --prefill-chunk 16384 gives 4.2x prefill over the auto 8192 on a 24 GB card

The auto rule keeps 8192 for >=16 GB NVIDIA cards. On this card larger chunks are dramatically better (cold prompts, nonce-busted, best-of-runs under light desktop load):

--prefill-chunk prefill @7,302-tok prompt prefill @1,908-tok decode @7,302
8192 (auto) 217.7 tok/s 47.9 tok/s 12.04 tok/s
16384 907.9 tok/s 257.4 tok/s 18.89 tok/s
32768 590.4 tok/s 168.7 tok/s 16.73 tok/s

16384 is the sweet spot; 32768 regresses (consistent with what we see on the Qwen side). Suggestion: let the auto rule try 16384 when VRAM headroom after weights+caches is comfortable (this card had ~480 MiB free at 8192, and 16384 still fit), or expose the auto threshold. Long-prompt TTFT at 8K went from ~34 s to ~8 s with the same answers.

Notes

  • Desktop was under concurrent CPU load (agent build jobs) during some runs; we report best-of-runs from the engine log and re-ran any outlier (one 8192 run showed decode 4.5-6.4 tok/s under load spikes; re-run matched the table).
  • Logs kept at H:\Strata-0.2.6\strata-dsv41-0.1.51-test.log, bench results result-r1-0151-*.json next to it. Happy to run any A/B.
Originally created by @biurquezjoselina-design on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4182 # Strata 0.2.6 (DSV4.1 engine 0.1.51) on RTX 5090 D v2 24 GB / 128 GB RAM: full-residency near-miss, and --prefill-chunk 16384 gives 4.2x prefill over the auto 8192 Hi, Follow-up to our 0.2.4 report (engine 0.1.49, decode 8.6-10.2 tok/s, RAM store stuck ~50 GB). 0.2.5/0.2.6 fixed exactly that: the store now grows to ~99.5-99.9 GB and decode is up across the board. Setup was again flawless with `--gguf-dir`-served local shards (we drive engine 0.1.51 via server.py + a hand-written config, same pack layout). All numbers below are the engine's own log lines ("maya ds4 serve:"), streaming chat, temperature 0, r1-style segments. ## System | | | |---|---| | CPU / RAM | Intel 14700KF / 128 GB DDR5-4800 | | GPU | RTX 5090 D v2 24 GB, Windows 10 | | Model | ISTA-DASLab GSQ-RCO IQ2_XXS 1017 set (4 shards) + Engram IQ4_NL, local dir | | Engine args | `--serve --pack ... --max-context 8192 --eos 1 --dspark auto --dspark-conf 0.65` (+ variant flags per test) | ## 1. Decode gains (0.1.49 -> 0.1.51) | segment (prompt tok) | 0.1.49 | 0.1.51 default | 0.1.51 `--experts 5` | |---|---:|---:|---:| | short (66-78) | 8.6 | 11.70 | **15.82** | | long-2000 (1896-1909) | 7.9 | 8.38 | **18.29** | | long-8000 (7290-7304) | 10.2 | 12.04 | **14.40** | Warm conversation-cache hits push decode to 18.7-19.5 tok/s on repeat visits to the same conversation. DSpark auto-off as designed (log: routed experts 132 GB vs 23 GB VRAM, verify rounds read 3.3x a token's bytes), we did not force it. ## 2. The 0.2.6 full-residency rule misses on this box by ~15 GB - by design, but is there a knob? Log at load: ``` ds4: RAM store: 111.5 GB of RAM free after the GPU's weights: store sized 99.5 GB, not 107.7 ds4: RAM store: 9429 of the profile's hottest experts read in (73.2 GB) in 72.4 s ds4: 13965 routed experts on the CPU lane (120.5 GB, in place in the model's files), 20 threads ``` CPU-side expert pool is 118.6-120.5 GB; free-after-GPU is ~111.5-111.9 GB. The all-or-none rule (all experts + 8 GiB spare) needs ~126-128 GB, so it never triggers here and the remaining ~45 GB of experts keep streaming from NVMe. We understand "all or none, never a part" is deliberate. Questions: 1. Is there (or could there be) a knob to force full residency anyway (e.g. spare = 2-4 GB, or an explicit `--experts-resident=force`)? We would happily trade page-file headroom for zero SSD reads; the box is dedicated. 2. If full residency is impossible at 128 GB, is a "fill the store to the brim with the profile's hottest experts beyond the current 99.5 GB cap" mode sensible? The store cap looks like free-RAM minus ~12 GB of deliberate headroom; reclaiming half of that (~6 GB, ~600 more experts) may help long-tail experts. 3. Minor: store read-in took 134.5 s on first load and 72.4 s on a later one (same pack, same profile). Is the difference just NVMe cache warmth, or is read-in parallelism adaptive? ## 3. `--prefill-chunk 16384` gives 4.2x prefill over the auto 8192 on a 24 GB card The auto rule keeps 8192 for >=16 GB NVIDIA cards. On this card larger chunks are dramatically better (cold prompts, nonce-busted, best-of-runs under light desktop load): | `--prefill-chunk` | prefill @7,302-tok prompt | prefill @1,908-tok | decode @7,302 | |---|---:|---:|---:| | 8192 (auto) | 217.7 tok/s | 47.9 tok/s | 12.04 tok/s | | **16384** | **907.9 tok/s** | **257.4 tok/s** | 18.89 tok/s | | 32768 | 590.4 tok/s | 168.7 tok/s | 16.73 tok/s | 16384 is the sweet spot; 32768 regresses (consistent with what we see on the Qwen side). Suggestion: let the auto rule try 16384 when VRAM headroom after weights+caches is comfortable (this card had ~480 MiB free at 8192, and 16384 still fit), or expose the auto threshold. Long-prompt TTFT at 8K went from ~34 s to ~8 s with the same answers. ## Notes - Desktop was under concurrent CPU load (agent build jobs) during some runs; we report best-of-runs from the engine log and re-ran any outlier (one 8192 run showed decode 4.5-6.4 tok/s under load spikes; re-run matched the table). - Logs kept at `H:\Strata-0.2.6\strata-dsv41-0.1.51-test.log`, bench results `result-r1-0151-*.json` next to it. Happy to run any A/B.
bsakaguchi 2026-11-04 01:54:29 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 26, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6408463911 --> @github-actions[bot] commented on GitHub (Oct 26, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2026):

Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.

To bring it back: fix the title (area prefix) and the missing parts, then comment /reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.

<!-- gh-comment-id:6553368358 --> @github-actions[bot] commented on GitHub (Nov 1, 2026): Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection. To bring it back: fix the title (area prefix) and the missing parts, then comment `/reopen`. A check runs and reopens it, or tells you what is still missing. See [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1836
No description provided.