Network Failure Guide
What Denpex Monitors
InfiniBand
- Per-port counters (symbol_error, port_xmit_wait, link_downed, link_error_recovery, VL15_dropped, etc.)
- Per-VL counters for QoS analysis.
- ibdiagnet-shaped topology walk.
- ibstat / ibqueryerrors integration.
- UFM REST integration when
UFM_ENDPOINTenv var is set.
RoCEv2
- ethtool -S per-prio PFC + counter stats.
- mlxlink module telemetry.
- devlink eswitch QoS.
- CNP detection (cnp_rcv, cnp_send, rp_ecn_marked).
- gNMI/SONiC via --roce-gnmi flag.
- sFlow/NetFlow export parsing.
Ethernet
- TCP retransmit via
tcp:tcp_retransmit_skbeBPF probe. - NIC link flaps via sysfs.
- PSI pressure.
GPUDirect / RDMA
/sys/module/nvidia_peermem/versionmodinfo nvidia_peermemdmesg | grep peer- NCCL env
NCCL_IB_HCA,NCCL_P2P_LEVEL,NCCL_NET_GDR_LEVEL
Rules
| Rule | Trigger |
|---|---|
| IB_LINK_ERROR_RECOVERY | link_error_recovery > 0 |
| ROCE_CNP_BURST | cnp_rcv rate above threshold |
| ROCE_PAUSE_BURST | rx_pause_frames above threshold |
| NCCL_NET_SOCKET_FALLBACK | Any rank uses NET/Socket/0 |
| NVLINK_REPLAY | replay count > 0 / hour |
| SWITCH_SXID_CRITICAL | SXid 22013 |
| GIGABIT_LOOPBACK_FAIL | PCIe loopback failed |
Common Symptoms and Causes
Symptoms: NCCL collective stalls at scale
- Open Denpex incident.
- Check
IB_LINK_DOWNED_PORT. If > 0, look at the IB counter file/sys/class/infiniband/mlx5_X/ports/1/counters/*. - Cross with NVLink counters.
Symptoms: RoCE CNP storm
- Check
ROCE_CNP_BURSTandrx_pause_frames. - Inspect the per-prio ethtool counters.
- Adjust PFC watchdog or move the workload.
Compatibility Tested
- mlx5 driver 5.x and 6.x.
- Mellanox ConnectX-5/6/7.
- Broadcom PEX89048.
See Also
docs/user-guides/nccl-debugging-guide.md.docs/supported-network-matrix.md.