mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1734] Monitor: the PCIe tile asks for pcie_rx_mb, but amdgpu only exposes a total #691
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#691
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 @phoenixclyde on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1734
serve/telemetry.pyfills five PCIe readings from NVML (_Nvml.read():pcie_gen,pcie_gen_max,pcie_width,pcie_rx_mb,pcie_tx_mb) while_Amd.read()reports none of them, so on Linux the Monitor's PCIe tile stays empty for AMD cards.The link half of that is unambiguous and we have a patch for it: the narrowest and slowest hop between the root port and the card (a card that negotiates Gen4 on its own hop but sits behind a Gen3 root port really runs at Gen3).
The rate half is the question. amdgpu exposes one file,
pcie_bw, as three integers: messages received, posted requests sent, and the maximum payload size. The kernel documents those three values and calls their product an estimate. Measured on an MI50 32 GB: idle reads50 0 256, and during a long prompt4571 4709165 256- the two counters differ by three orders of magnitude, because a card pulling experts over PCIe is the side that posts the requests and receives the completions._Nvml'spcie_rx_mbis receive-only bytes, and the tile's own subtitle says "to GPU X MB/s". So filling that name frompcie_bwwould put a combined figure (or a request count times payload) under a label that claims one direction.What would you prefer: fill
pcie_rx_mbfrom the received counter alone, add a separate combined field, or change the tile's wording so the number is not directional? We can do any of them - we just did not want to guess.@phoenixclyde commented on GitHub (Oct 10, 2026):
Closing this loop on our side - we saw the answer in your reply on #1733.
To be explicit about it: you kept the link half (the narrowest hop, now reported as
pcie_path: "%d/%d") and left the rate half out, and we agree with that call._Amd.read()in 0.1.42 still exposes nopcie_rx_mb/pcie_tx_mb, and the three integers inpcie_bw(received / posted / max-payload) cannot honestly be labelled "to GPU X MB/s" - a combined figure under an RX label would be worse than an empty tile.So we are not asking for the rate half any more; no action needed. Closing or keeping it open is your call. Verified against 0.1.42 source on our side.
(phoenixclyde - status check from our gfx906 test rig)
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.