mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3897] [Engine] Slow expert loading (~0.15 GiB/s) on Windows with 0.1.45 and 0.1.47 #1666
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#1666
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 @chonger1209 on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3897
Area
Engine
Reproduction status
Reproduced locally with actual load/unload tests; this is not an unconfirmed static-analysis finding. Root cause is unknown.
Steps to reproduce
/v1/loadwith{"model":"qwen3.8-flash-next-iq3_s"}and wait for loading to finish. Record elapsed time and the expert-loading throughput in the engine log./v1/stt/unloadwith the same model, verify both engines exited, and wait five seconds. This route is supplied by our local service adapter.Expected behavior
Loading should not show the observed large slowdown compared with earlier runs on this machine (1.09 GiB/s in an earlier October 23 run). We are asking for diagnosis, not claiming a guaranteed throughput or a confirmed engine regression.
Actual behavior
The expert-loading stage reports 0.14–0.15 GiB/s for 46.84 GiB. Full loading takes 327–381 seconds. Loading eventually succeeds; there is no fatal loading error. Relevant warnings and raw log excerpts are included below.
Problem
Model startup became noticeably slower on October 23. Expert loading now reports 0.14–0.15 GiB/s, with full loading taking 5–6 minutes in isolated tests.
An earlier October 23 run reported 1.09 GiB/s, while a later reload reported 0.14 GiB/s, using engine 0.1.47 with the same logged launch arguments. The slowdown occurred after unload/reload, but causality has not been established.
Environment
76f90e5843Configuration
Native expert packs, PLE GGUF, MTP and the vision projector are enabled; model files are on the NVMe SSD.
Controlled tests
Tests on October 24, 2026 (UTC+8) used a separate localhost server, the same model files and parameters, and no inference requests.
During the first test an external MCP prewarm mechanism unexpectedly launched the normal service and its vision process. That service was stopped and automatic prewarming disabled before subsequent tests. The second and third tests still reproduced the slowdown.
The 0.1.45 comparison replaced only the native main and vision engines, retaining the current Python server. This was not a full application rollback.
After each unload, both engine processes exited, available RAM returned to approximately 76 GiB, and free GPU memory returned to approximately 22 GiB.
Log excerpts
0.1.47, second load:
0.1.45:
Both versions also warned that PLE direct I/O measured approximately 20 MB/s. This may not have the same cause as slow expert loading.
Observations and limitations
Questions
@github-actions[bot] commented on GitHub (Oct 24, 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:
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
@github-actions[bot] commented on GitHub (Oct 24, 2026):
Thanks, this follows the format now.
@chonger1209 commented on GitHub (Oct 24, 2026):
Follow-up: partial improvement after a reboot and a change in the Windows launch environment; the cause is still unknown.
On October 24 (UTC+8), Windows was rebooted at approximately 14:06. With the same 0.1.47 engine, model and logged inference arguments, the subsequent load reported:
The service reported expert loading complete at 152 seconds into its startup progress. The complete load request ran from 14:12:53 to readiness at 14:16:06 (about 193 seconds). The reported expert throughput improved from the previous 0.13–0.15 GiB/s, but remains below the earlier 1.09 GiB/s observation.
Two launch/memory details may be useful:
We also discovered that the new scheduled task had the default Priority 7, and the running pythonw host and Python service processes were verified as Below Normal. We could not query the native engine's priority due to AccessDenied. The task remains configured to run with ordinary user privileges.
After this load, we changed the task configuration to Priority 4 (Normal). The running service was not restarted, and its host/service processes still had Below Normal priority when checked. Therefore, the improvement to 0.36 GiB/s cannot be attributed to that priority configuration change. Its effect has not yet been tested.
These are observational differences, not a controlled A/B result: the reboot and process-launch changes are confounded. We are leaving the current service running rather than interrupting active work for more tests.
Would comparing Windows Job/resource limits, process/token context, or CPU/I/O priority be a useful next diagnostic? Are there specific read-only measurements you would recommend capturing during the next naturally occurring load?
The loading issue is not resolved.
@chonger1209 commented on GitHub (Oct 29, 2026):
Follow-up: recent expert-arena loading is much faster, but the cause is still unconfirmed.
Two naturally occurring starts after Windows reboots now report the following (times are UTC+8):
Both starts used 2 MiB large pages. The October 29 log says:
These figures describe the expert-arena stage, not total application startup time.
Relevant changes since the original report:
a42cc3d7df70.This is observational evidence, not an isolated engine-version or large-page A/B. Large pages also succeeded in the original slow runs, and the earlier 0.36 GiB/s follow-up, so their success alone does not explain the improvement. We have not repeated the original isolated load/unload comparison under the new setup, and have not established a specific fix for the original slowdown.
I am leaving this issue open for now: recent starts are much better, but the root cause and longer-term recurrence remain unknown.
@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.