9 releases
| 0.1.9 | Apr 25, 2026 |
|---|---|
| 0.1.8 | Apr 25, 2026 |
| 0.1.5 | Mar 28, 2026 |
| 0.0.1 | Mar 14, 2026 |
#788 in Network programming
4.5MB
2.5K
SLoC
rdmatop
htop, but for RDMA traffic — a real-time TUI monitor for RDMA network interfaces.
Monitors per-device throughput (Gbps, packets/s, drops), RDMA read/write counters, retransmits, health events, and shows which processes are using each RDMA device — all via RDMA netlink, the same interface used by rdma statistic.
Requirements
- Linux (netlink-based — macOS/Windows are not supported)
- RDMA-capable NICs (e.g., Mellanox/NVIDIA ConnectX, AWS EFA)
Installation
Ubuntu (PPA)
On Ubuntu 22.04 (jammy) or 24.04 (noble):
sudo add-apt-repository ppa:crazyguitar/rdmatop
sudo apt update
sudo apt install rdmatop
Cargo
cargo install rdmatop
From source
make # cargo build
make install # cargo install
Usage
rdmatop
Examples
Use rdmatop to monitor RDMA traffic while running GPU
communication benchmarks:
- NCCL — collective communication
- NIXL — point-to-point KV cache transfer
- NVSHMEM — one-sided GPU communication
- PPLX Kernels — MoE all-to-all dispatch/combine
- RDMA Statistics — shell-based RDMA stats
- Kubernetes — DaemonSet deployment for Kubernetes
How It Works
- Device enumeration —
RDMA_NLDEV_CMD_GETvia netlink to discover all RDMA devices - HW counters —
RDMA_NLDEV_CMD_STAT_GETper device/port, same asrdma statistic show - Process detection —
RDMA_NLDEV_CMD_RES_QP_GETto map QPs → PIDs, enriched with/procdata - Throughput — Two snapshots per interval, delta / elapsed for rates
License
Apache-2.0
Dependencies
~8–14MB
~264K SLoC