mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5311] [Engine] gpu-unlock'ed RTX 3090: the default PCIe expert path (copy kernel over mapped host memory) hard-freezes the host; --pcie-frac 0 avoids it #3168
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#3168
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 @dpusta on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5311
Area
[Engine] (decode PCIe expert share,
--pcie-mode auto→fetch_blobs_kernel)Reproduction status
Reproduced locally
Desktop app, Terminal or source?
Source build, run by
serve/server.pyas a systemd service.Strata version
Engine 0.1.56, local build of commit
ffa80d7313.Graphics card, memory and system
--expert-cache auto --prefill auto --spec 4 --kv int8What happened
On a card unlocked with gpu-unlock, the whole machine hard-locks (black screen, fans max, no log, power button needed) at the first request with a large expert-cache miss burst. In my test script (four 400-token requests in a row: prose, code, repetitive, JSON, each with a fresh random prefix) that's the "prose" → "code" switch, where the hit rate drops from ~97 % to ~71 % and about 10,000 experts take the PCIe share. With the default
--pcie-mode auto,fetch_blobs_kernelreads those blobs from mapped pinned host memory with GPU threads.Looping that request switch on the unlocked card, with only the PCIe option changed:
auto)--pcie-frac 0--pcie-mode dmacudaMemcpyAsyncon the copy engine (1.1 M blobs)Decode speed in the loop (prose/code/repetitive/json, tok/s):
--pcie-frac 084/102/122/119,--pcie-mode dma80/99/119/116.I'm running
--pcie-frac 0rather thandmabecause of #5093.Not established: the fast trigger was not run on a stock (non-unlocked) boot. Stock boots passed 2 longer benchmark runs (7.4 min, 4 of these switches) without a freeze, and 15 min of synthetic cuBLAS GEMM, TF32 and
cudaMemcpyDMA stress on the unlocked card did not freeze either. Matching reports on the gpu-unlock side: Zagitta/gpu-unlock#303 (4× 3090, same model under vLLM, host freeze) and Zagitta/gpu-unlock#137.Proposed behavior
When gpu-unlock has unlocked the engine's card (
/sys/module/gpu_unlock/parameters/targetsnames its PCI address, or isall), start with the PCIe share off, or default--pcie-modeaway from the copy kernel once #5096 lands. Print one log line saying why, and keep the explicit flags as overrides.Open to a different approach (a docs note in the gpu-unlock section, or only a warning) if you'd rather not special-case it.
Evidence: I have the engine logs of all three runs (the default run up to the freeze, both 30-loop runs) and the loop script, and can attach them if useful.
@github-actions[bot] commented on GitHub (Nov 5, 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 (Nov 5, 2026):
Thanks, this follows the format now.
@b1twise commented on GitHub (Nov 6, 2026):
So you unlocked your card and now it started crashing? I'm not sure this is a Strata issue or at least a general condition for all cards that are unlocked. It seems specific to your machine at this point. Did Strata work just fine before you unlocked it?