# Deterministic PCIe Diagnostics for GPUs on Linux

I built a small Linux tool to deterministically verify GPU PCIe link health and bandwidth. It reports: - Negotiated PCIe generation and width - Peak Host→Device and Device→Host memcpy bandwidth - Sustained PCIe TX/RX utilization via NVML - A rule-based verdict derived from observable hardware data…

- **Page:** https://magpie.gallery/i/deterministic-pcie-diagnostics-for-gpus-on-linux-x10q
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** linux
- **Tags:** gpu, pcie, diagnostics, bandwidth, nvml

## Source

Web · gpu_systems: Deterministic PCIe Diagnostics for GPUs on Linux

- **Original:** https://news.ycombinator.com/item?id=46294440

> I built a small Linux tool to deterministically verify GPU PCIe link health and bandwidth. It reports: - Negotiated PCIe generation and width - Peak Host→Device and Device→Host memcpy bandwidth - Sustained PCIe TX/RX utilization via NVML - A rule-based verdict derived from observable hardware data only This exists because PCIe issues (Gen downgrades, reduced lane width, risers, bifurcation) are often invisible at the application layer and can’t be fixed by kernel tuning or async overlap. Linux-only: it relies on sysfs and PCIe AER exposure that Windows does not provide. https://github.com/parallelArchitect/gpu-pcie-diagnostic

## GitHub projects

- https://github.com/parallelArchitect/gpu-pcie-diagnostic

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
