What Is NVSwitch? Understand the GPU Fabric and Check Fabric Manager
NVSwitch is hardware that switches NVLink paths to form a GPU fabric among multiple NVIDIA GPUs. It can relay traffic between GPU pairs that are not directly wired together, but installing a switch chip does not make the fabric ready by itself. A driver and generation-appropriate fabric-management service must complete initialization and GPU registration; operators should also verify the actual topology and port state.
What Is NVSwitch? Understand the GPU Fabric and Check Fabric Manager
NVSwitch is hardware that switches NVLink paths to form a GPU fabric among multiple NVIDIA GPUs. It can relay traffic between GPU pairs that are not directly wired together, but installing a switch chip does not make the fabric ready by itself. A driver and generation-appropriate fabric-management service must complete initialization and GPU registration; operators should also verify the actual topology and port state.
How does NVSwitch expand paths between GPUs?
NVLink is the link between GPUs; NVSwitch accepts traffic from multiple links and switches it toward the destination GPU. In a small direct-connect design, each GPU sends over the links physically attached to it. In an NVSwitch fabric, GPU NVLink ports attach to switches, which can relay traffic among more GPU pairs within the system's supported topology. NVIDIA describes NVLink Switch as connecting GPU communication across a rack in specific platforms such as Vera Rubin NVL72. That product description is not a performance guarantee for every server or generation. NVIDIA NVLink and NVLink Switch
The schematic below simplifies the route. A real system can contain multiple NVSwitches and many links; port counts and wiring vary by platform.
GPU A ── NVLink ── NVSwitch fabric ── NVLink ── GPU B| Connection | Role between GPUs | Scope and checks |
|---|---|---|
| Direct NVLink | Carries data over a link between GPU ports | Connected pairs and link counts vary by board and GPU generation |
| NVSwitch fabric | Switches NVLink traffic toward another GPU path | Reachability, switch count and degraded-mode behavior depend on the system topology and management software |
| PCIe | General path between GPUs, CPUs and other devices | Can exist without NVSwitch; check peer access and actual performance separately |
| Ethernet or InfiniBand | Connects servers through network adapters | A scale-out network, separate from an in-node or NVLink rack fabric |
“GPU fabric” means a set of communication links and routes. It does not merge the HBM of multiple GPUs into one ordinary memory address space. CUDA peer access, memory placement and communication must still be supported and used by the platform and application. NVIDIA CUDA Programming Guide: Multi-GPU Systems
Fabric initialization differs by GPU generation
Fabric Manager (FM) is a system service for NVSwitch platforms. Depending on the platform, it coordinates switch routes and GPU connections, helps initialize GPUs, and monitors link errors. NVLink Subnet Manager (NVLSM) also participates in some configurations. FM is not another name for DCGM, nor is it included as a DCGM module: NVIDIA says Fabric Manager has been a separate component since DCGM 2.x. Choose packages supported with the system's driver rather than installing versions independently. NVIDIA Fabric Manager User Guide · NVIDIA DCGM overview
Initialization is not identical across generations. On some early NVSwitch platforms, FM configures links after the kernel driver loads. On H100/HGX H100 and later systems that support Autonomous Link Initialization (ALI), hardware can train the links, but GPUs still need to register with the NVLink fabric for peer-to-peer (P2P) access. Therefore, a running FM process alone does not prove that the whole system is ready for workloads. NVIDIA Fabric Manager: NVSwitch initialization
| Check | Some early NVSwitch systems | Some H100-and-later systems with ALI link training |
|---|---|---|
| Link and fabric readiness | FM helps configure links after the driver loads | GPU/NVSwitch hardware can train links; P2P depends on fabric registration |
| Operational signal | FM initialization plus DCGM link/switch state | nvidia-smi fabric-registration state plus DCGM port state |
| Interpretation limit | Starting CUDA before initialization can produce a system-not-ready error | A trained link does not provide P2P if GPU registration fails |
Exact behavior and FM/NVLSM roles depend on GPU generation, platform, virtualization mode and driver. Check the support matrix for the exact DGX/HGX or OEM system before changing versions. Stopping FM during operation can lose fabric state, and restarting it may still require a reset of all GPUs in the fabric. Do not restart the service during a workload; follow the platform maintenance procedure. Fabric Manager service management and restart guidance
Inspect switches and fabric state on Linux
These checks assume a supported NVIDIA NVSwitch Linux host with a compatible driver, Fabric Manager and DCGM. Follow the server's policies for service privileges and host-engine access. Start by checking inventory and GPU registration:
dcgmi discovery --list
nvidia-smi -q -i 0 | grep -i -A 2 Fabric
systemctl status nvidia-fabricmanagerdcgmi discovery --list reports the GPUs and NVSwitch IDs known to the current host engine. Those IDs belong to that engine's current inventory; do not copy them from another node or treat them as permanent identifiers. On systems that expose registration state, nvidia-smi may show In Progress while registration is underway; NVIDIA's successful example is Completed and Success. If the field is absent or unexpected, first check whether the hardware and software generation supports that output. systemctl status reports a service state, not end-to-end data-path health.
Next check link ports and switch telemetry:
dcgmi nvlink --link-status --show-entity-ids
dcgmi dmon --list
dcgmi dmon --entity-id nvswitch:0 --field-id 858,861,862 --count 5
dcgmi dmon --entity-id switch_link:0:3 --field-id 780,781,782,783 --count 5The first command shows current GPU and NVSwitch link states and IDs known to the host engine. U means up, D a supported link that is down, X disabled, and _ an unsupported port position. Switch IDs and link indices above are examples: use IDs discovered on your own host. NVIDIA DCGM: NVSwitch and ConnectX
The second command lists fields supported by the installed DCGM release. In NVIDIA's example, 858 is switch temperature, 861 and 862 aggregate transmit/receive throughput, 780 and 781 per-link throughput, and 782 and 783 fatal/non-fatal link errors. Unsupported fields or fields without a sample can return N/A; check the field and entity compatibility before treating it as hardware failure. For passive monitoring, DCGM health selector a can include NVSwitch errors and down links. NVIDIA DCGM health-watch documentation
Narrow down a fault and recover safely
**Record the expected inventory.** Use the vendor system bill of materials to identify GPU and NVSwitch counts, generations and expected links. Compare these with `dcgmi discovery --list`. If a device is absent, check supported hardware and driver/DCGM discovery before guessing its ID.
**Check compatibility and service startup.** Read `systemctl status nvidia-fabricmanager` and `journalctl -u nvidia-fabricmanager -b`; verify the driver/FM pairing is supported for the platform. On supported H100-and-later systems, check `nvidia-smi -q -i <gpu-id>` for successful fabric registration.
**Compare both ends of a link.** Use `dcgmi nvlink --link-status --show-entity-ids` to find unexpected `D` or `X` states and compare each peer port with the documented topology. Do not count `_` as a failure; it means the physical port position is unsupported.
**Correlate telemetry and logs over the same interval.** Compare the same switch/link fields before, during and after a workload. Interpret `N/A` using `dcgmi dmon --list` and the installed DCGM support. Match NVSwitch `SXid`, GPU `Xid` and FM log entries by time. A cumulative counter alone does not identify when an event occurred or its cause.
**Recover only under the platform procedure.** Restarting Fabric Manager is not a harmless status check. NVIDIA warns that stopping it can lose fabric state and that a GPU reset may be required after service restart. Drain CUDA jobs and GPU services according to the operating procedure, then use the system/OEM maintenance steps with an administrator. If SXid recurs or a link stays abnormal, preserve logs, port IDs and time windows for vendor support.
An NVSwitch means the system provides switched routes among more GPUs. It does not mean every pair performs identically or that an application automatically uses the path. Check inventory, registration, port state, errors and traffic in order, then verify performance with the actual collective workload.
References
[NVIDIA NVLink and NVLink Switch](https://www.nvidia.com/en-us/data-center/nvlink/)
[NVIDIA Fabric Manager User Guide](https://docs.nvidia.com/datacenter/tesla/fabric-manager-user-guide/index.html)
[NVIDIA DCGM overview](https://docs.nvidia.com/datacenter/dcgm/latest/user-guide/)
[NVIDIA DCGM: NVSwitch and ConnectX](https://docs.nvidia.com/datacenter/dcgm/latest/learn/modules/nvswitch.html)
[NVIDIA DCGM health-watch documentation](https://docs.nvidia.com/datacenter/dcgm/latest/reference/command-line-reference/dcgmi/dcgmi-health.html)
[NVIDIA CUDA Programming Guide: Multi-GPU Systems](https://docs.nvidia.com/cuda/cuda-programming-guide/03-advanced/multi-gpu-systems.html)