mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #126] [MERGED] Windows: the expert load runs 24x slower from Task Scheduler (0.05 vs 1.42 GiB/s); a hint names the cause #2470
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#2470
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/126
Author: @Zauberio
Created: 9/29/2026
Status: ✅ Merged
Merged: 9/29/2026
Merged by: @Niko1221
Base:
main← Head:fix/load-rate-task-scheduler-hint📝 Commits (1)
ade1aacWindows: name the Task Scheduler load throttle (24x) and how to fix it📊 Changes
2 files changed (+35 additions, -0 deletions)
View changed files
📝
docs/DETAILS.md(+22 -0)📝
src/program/generate.cpp(+13 -0)📄 Description
The symptom
When the serve is started from Task Scheduler (a common way to have Strata up at logon), the ~40 GB expert
load crawls at ~0.05 GiB/s (13-14 min until
ready). The same binary, same args and same cache statestarted from a terminal or SSH loads at 1.4-1.5 GiB/s (~35 s).
The cause (measured)
The Task Scheduler registration defaults: Priority 7 (Below normal) and no
<RunLevel>(aleast-privilege token). Re-registering the task with
Priority 4+<RunLevel>HighestAvailable</RunLevel>makes the same task-spawned chain run at 1.42 GiB/s (35 s).
Elimination matrix (RTX 5070 Ti, Ryzen 7 9800X3D, NVMe, 64 GB RAM, Swift-1.5 IQ3_XXS, the v0.1.20 engine):
--serve --vision), SSHstart /normal)So it is the launch context - not the disk, the cache state, memory pressure, or the engine's serve/vision
mode. Note the priority class alone did not help (processes verified at Normal, still 0.05 GiB/s), so the
run-level/limited token or the scheduler's I/O treatment is implicated. Both registration settings were
changed together, so the isolated effect of each is not measured. (Possible connection: a limited token
strips
SeLockMemoryPrivilege, which the large-pages path wants - not proven.)This PR
registration settings that restore full speed.
under the
loaded ... GiB at ...line, so users do not blame their disk.Verified: the tree compiles (MSVC + CUDA sm_120, the setup.py recipe), and the hint path was exercised at
runtime - observed printing under the load line (smoke with a temporarily raised threshold; the shipped
threshold is 0.2 GiB/s and the task-context rate measured above is 0.05 GiB/s).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.