mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4480] [Engine] warn at start-up when the PCIe probe is far below the link (pinned buffers on the far NUMA node) #2004
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#2004
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 @coryjett on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4480
Area
Engine
What do you want to do?
Get a warning at start-up when the PCIe probe measures far below what the link should give, most often because the
pinned host buffers landed on the far NUMA node of a two-socket machine. Today the engine prints the number
(
strata generate: PCIe probe: 4.2 GB/s host->device ...) and carries on, and that start stays slow for its wholelife.
Measured on a Dell T630 (2x Xeon E5-2620 v3, two NUMA nodes, RTX 3090 on PCIe 3.0 x16 on socket 0, IQ3_S, engine
0.1.48). The same config was started 8 times, alternating no numactl and
numactl --preferred=0, one speed run perstart:
--preferred=0x4Two of four plain starts probed at ~4-5 GB/s and read prompts ~38% slower, with ~20% slower short-prompt decode.
--preferred=0(memory policy only; the pool keeps its workers on both sockets) was fast on 4 of 4. With twocards, one per socket,
--interleave=allis better (a start without numactl still probed 4.1 GB/s), but a slowstart there cost much less (32K read 2,184 vs 2,055-2,326 tok/s across the other starts).
Suggested: when the probe is well under the link's nominal rate (PCIe gen x width from the driver, or a fixed
fraction such as 60%) on a machine with more than one NUMA node, print one line naming the likely cause and the fix,
e.g. "pinned buffers may be on the far NUMA node; start under numactl --preferred=<GPU's node> (one GPU) or
--interleave=all (one GPU per socket)". Optionally expose the measured GB/s in /props or /metrics so a monitor or
strata benchcan show it (#4481 covers recording it in reports).What do you do today instead?
Start the server under
numactl --interleave=all(two cards) or--preferred=0(one card), found by comparingprobe lines across restarts by hand.
@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.