mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3066] Decode 2x slower under agent frontends (Windows, RTX 3060 12GB): GPU downclocks to P0 during MoE expert misses — locking clocks recovers ~60% #1228
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#1228
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 @ahsvel on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3066
What do you want to do?
Report a performance finding + workaround for agent-frontend users, and suggest a docs note. Related to #1910 (same family, disk side).
Setup
Symptom
--ple-io direct / ram / mmap: no difference on this NVMe rig. 0.1.45 behaves same as 0.1.42.Diagnosis
With a long system prompt, decode is dominated by MoE expert misses: the engine pulls experts from RAM/disk over PCIe, SMs starve, the driver sees low utilization and downclocks to P0 — then every kernel runs ~2x slower. The clock drop is an amplifier of the starvation, not the root cause.
Workaround
Before launching the engine (admin shell):
Result: decode 15 -> 25 tok/s (+60%), clocks stay at 2000 MHz during decode, power ~35-80W.
Reset:
nvidia-smi -rgc; the lock also resets on reboot.Suggestion
Worth a note in the Windows setup docs (or an optional launcher flag) for agent-frontend users: if decode is much slower than prefill implies, watch the core clock during decode — locking it may recover most of the gap.
Caveats
@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.