mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4066] [GUI] Windows desktop stutter with 3-second NVIDIA telemetry polling, even with no model loaded #1764
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#1764
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 @fawninmyheart on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4066
Area
[GUI] (the desktop app)
Desktop app, Terminal or source?
Official Windows CUDA 13 desktop app, installed in a separate directory. Local diagnostic modifications are disclosed below.
What happened
With the desktop app open and no model loaded / no inference requests, typing, Backspace, and switching tabs in other applications (Codex and Microsoft Edge) intermittently felt delayed, sometimes roughly half a second. This is a user-perceived estimate, not an instrumented input-latency measurement.
Keeping the Strata desktop and host running, but bypassing only the periodic
readGpuTelemetry()call, noticeably improved typing and browser-tab switching on this machine. CPU/RAM sampling continued. Unloading the model alone had not noticeably helped.Expected: leaving an unloaded desktop app open should not noticeably interfere with input and other applications.
This report concerns GPU polling and interaction responsiveness. The separate disk/WMI polling problem is already reported in #3939; we isolated that problem before the GPU comparison below.
Smallest steps or command that reproduce it
Observed locally on the hardware below:
STRATA_DISABLE_GPU_MONITOR=1in its launch environment. Leave models unloaded and repeat those interactions.The environment variable is a local diagnostic addition, not an existing Strata option:
This is an isolation workaround, not a proposed complete production fix.
Reproduction status
Reproduced locally on one machine; one before/after restart comparison for the GPU-specific workaround. The perceived improvement was confirmed by the person using the local keyboard/display. This is not a controlled benchmark or a claim about all NVIDIA systems.
Strata version
The shipped polling code was inspected. The same relevant code is also present in upstream commit
7dd5cf18e68c639a8773e096c5c79f971ea2a9f5:monitor.mjslines 110–117 samples sensors every >=3 seconds (without overlapping a pending sample), before checking whether the engine is running.device-probes.mjslines 75–82 normally runs annvidia-smi --query-gpu=...command plusnvidia-smi dmon -s t -c 1per sample; a failed full query adds a basic-query fallback.Graphics card, memory and system
Model, size and settings
The issue was first noticed after loading a Qwen3.8-Flash-Next-derived UD-IQ4_XS model across both GPUs. It persisted after unloading that model. Both GPU-polling comparison arms had zero loaded model instances, so no inference benchmark or model-throughput claim is being made.
Logs and measured evidence
Two 25-second samples on 2026-10-25, same computer. Process cumulative CPU times were sampled through native Windows system-information calls approximately once per second; per-logical-CPU times every 100 ms. The diagnostic samplers did not invoke WMI, performance-counter queries, or any GPU/
nvidia-smicommand.nvidia-smi.exePIDs observednvidia-smiCPU, single-logical-core equivalentnvidia-smiCPU, single-logical-core equivalentThe captured
nvidia-smiCPU time was kernel time. Short-lived processes can fall between snapshots: PID counts are observations, not complete launch counts, and captured CPU is a lower bound. In particular, 23.13% is relative to one logical core, not the whole 12-thread CPU. Other application load varied, and total machine CPU did not decrease.The monitor API after the workaround still reported CPU/RAM values,
gpus: [], and idle state; native status / startup logs confirmed no model loaded.Controls and limitations
probe()usedwindowsHide: true. Those two changes were held constant. They removed the repeated WMI disk errors, but typing/tab-switch stutter persisted until the GPU-polling workaround.dmon-only was not tested; the report does not assign the delay to one specific command or prove the parent of every observed PID.Requested investigation
Could the desktop offer a way to disable or reduce periodic GPU telemetry, and avoid repeatedly paying the cost of short-lived NVIDIA probes while idle? A lower-overhead sampling approach or adjustable cadence may help, but neither has been benchmarked here. The diagnostic bypass is the only GPU-specific workaround tested.
Report prepared with AI assistance from local measurements and user-operated comparisons.
@fawninmyheart commented on GitHub (Oct 25, 2026):
Follow-up: original disk polling restored, periodic GPU polling still disabled
We tested the missing control on the same machine and software described above. Restoring the original disk polling did not bring back the typing, Backspace or browser-tab stutter. The person using the local keyboard/display reported that these interactions remained smooth.
Both arms had no loaded model instances and no running load jobs. The local
STRATA_DISABLE_GPU_MONITOR=1bypass remained enabled. Onlysystem-telemetry.mjswas restored byte-for-byte from its pre-fix backup;monitor.mjs, the launch environment andutil.mjswere unchanged by hash. In particular,windowsHide: trueremained enabled in both arms.Two approximately 25-second native Windows samples on 2026-10-25:
The 16 events came from 8 query-client PIDs, in pairs approximately every 3 seconds, with
0x80041017and0x800706BA. The query was forWin32_PerfRawData_PerfDisk_PhysicalDisk,Name='_Total'. Thus the disk-query failure / WMI overhead related to #3939 returned, without reproducing the interaction stutter in this comparison.Interpretation: this strengthens the evidence for the periodic host GPU-polling path as a trigger of the interaction stutter on this machine. It does not establish a driver-level root cause or prove that disk polling can never cause latency.
Limitations:
nvidia-smiPID was observed in a single snapshot in the disk-restored sample; this was not a completely GPU-query-free run. Short-lived processes can be missed.After recording the user's feedback, we restored the disk failure circuit breaker. Periodic host GPU polling remains disabled and the model remains unloaded.
@Niko1221 commented on GitHub (Oct 27, 2026):
Thank you for the measurements. The host asks the NVIDIA tool twice every 3 seconds even with nothing loaded. For 0.2.7 it asks only while the Monitor is open or a model is running, and less often otherwise.
Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7