Why vLLM multi-node networking with InfiniBand and GPUDirect RDMA decides cross-node speed
When a model spans nodes, the speed of traffic between those nodes sets the pace of every token. vLLM combines tensor parallelism inside a node with pipeline parallelism across nodes, so activations and coordination messages cross the network on each forward pass. InfiniBand and GPUDirect RDMA are the path to fast cross-node communication when the hardware supports them, because they let the network move data between GPU memories with less copying through host CPUs and kernel socket stacks. Whether that path is actually used is a separate question from whether the hardware exists, and it has to be confirmed in your own environment.
vLLM uses Ray or its own multiprocessing backend to coordinate nodes. The vLLM security docs state that communication between nodes in a multi-node deployment is insecure by default, with no authorization or encryption, and that it must be protected by placing the nodes on an isolated network. The network design therefore carries two jobs at once: it must give the collective communication library a fast transport, and it must keep the inter-node traffic off shared or user-facing networks. A design that optimizes one job and ignores the other will fail review, whether the problem shows up as slow tokens or as an exposed cluster.
The vLLM docs do not publish a tuned InfiniBand or RDMA recipe for your fabric, adapter generation, driver stack or container runtime. The container settings, device mappings and NCCL environment variables in this section are therefore the starting points your team must verify, not values to copy into production. Before you build, confirm with your hardware and network vendors which RDMA devices each node exposes, which GPUDirect RDMA support your driver and kernel modules provide, and how your container platform passes those devices to the vLLM containers. Then plan the verification step, since a configuration that starts without errors can still run over TCP sockets.
Which network settings fit each cluster layout
On bare metal with InfiniBand, the fabric is usually dedicated to GPU traffic and the host owns its HCAs directly, so the main work is making those devices visible to the vLLM containers and confirming that NCCL selects them. Start by reviewing which interfaces NCCL is allowed to use, since the fabric and the management Ethernet network are often on the same host and NCCL can pick the wrong one. Then check that the HCA devices are exposed to each container and that the container has enough locked memory and shared memory for RDMA registration.
- Interface selection: Review
NCCL_SOCKET_IFNAMEandNCCL_IB_HCAso the bootstrap and data paths use the intended fabric ports. - HCA device exposure: Confirm the InfiniBand device nodes are passed into each container, and that the container runtime grants the needed device access.
- Memory limits: Review the container's locked memory limit and IPC namespace settings, which RDMA registration and NCCL shared memory depend on.
- GPUDirect RDMA: Confirm the GPU and NIC pairing supports GPUDirect RDMA on this host and that the driver stack is in place.
- Vendor and operator checks: Ask the GPU and fabric vendor which NIC firmware, driver and peer memory components are validated together, and ask the cluster operator which subnet and partition keys carry GPU traffic.
Confirm each setting in the NCCL startup logs on every node, not only on the head node.
RoCE runs RDMA over Ethernet, so the same NCCL transport logic applies but the lossless behavior of the network becomes a shared responsibility between the GPU platform and the network team. The settings you review look similar to InfiniBand, yet the switch configuration, traffic classes and congestion controls decide whether RDMA stays fast under load. Treat the Ethernet configuration as something to confirm with the network operator rather than assume from the container settings alone.
- Interface and device selection: Review the NCCL interface and HCA variables so NCCL binds to the RoCE-capable NICs and not to general-purpose Ethernet ports.
- Traffic class and priority: Ask the network operator which priority or traffic class carries RDMA, since NCCL settings can only select devices, not the switch policy.
- Container device and memory settings: Confirm the RDMA device nodes, locked memory limit and shared memory size are set the same way as on InfiniBand hosts.
- GPUDirect RDMA support: Verify that the GPU, NIC and driver versions support GPUDirect RDMA over RoCE for the hardware in this cluster.
- Vendor and operator checks: Ask the NIC and switch vendors which lossless configuration they validate, and ask the operator how congestion and drops are monitored during model load.
Run a multi-node load test and read the transport lines in the logs to confirm RDMA is used under real traffic.
In cloud instances and virtual machines, the RDMA devices may not be exposed to the guest at all, or they may be exposed only on specific instance families and placement configurations. The cloud provider and the cluster operator decide this, so the first question is whether the guest sees an RDMA-capable device before any container setting matters. Where the device is absent, NCCL falls back to TCP sockets, and the work becomes confirming that fallback is intentional and understood.
- Device visibility: Confirm with the provider whether the instance type and placement group expose RDMA devices to the guest.
- Interface selection: Review
NCCL_SOCKET_IFNAMEso NCCL uses the intended cloud network interface and not a management or metadata path. - Container settings: If devices are exposed, check the same device, locked memory and shared memory settings used on bare metal, and check that the hypervisor passes them through.
- Fallback decision: If RDMA is not exposed, decide whether TCP performance meets the latency and throughput target and record that decision with the cluster operator.
- Vendor and operator checks: Ask the provider for the documented RDMA-capable instance types, required drivers and any limits on multi-node placement, and ask the operator who owns the image and driver updates.
Record the transport that NCCL reports on every node so the fallback is visible in logs, not discovered during an incident.
How to set up and verify RDMA transport for cross-node vLLM
This sequence takes a cross-node vLLM cluster from host fabric checks to a confirmed NCCL transport in the logs, so the team knows whether traffic uses InfiniBand with GPUDirect RDMA or has fallen back to TCP sockets. Each step ends with a check that the team can repeat before serving production traffic.
Confirm the fabric and drivers on each host
The platform or network engineer checks every node before any container is started. Confirm that the InfiniBand ports are active, that the RDMA stack and NVIDIA driver versions match across hosts, and that the GPU and network adapters sit on the expected PCIe paths. Ask the hardware vendor and your fabric administrator to confirm the supported driver and firmware combinations for your adapters and GPU generation. The step is done when every node reports the same active ports and driver versions, and the fabric diagnostic tools show no errors on the links between nodes.
Expose RDMA devices to the container runtime
The platform engineer configures the container runtime so the vLLM containers can open the RDMA devices and the GPUs. This usually means passing the InfiniBand device nodes into the container, granting the memory locking limits that RDMA registration needs, and enabling GPUDirect RDMA support through the GPU operator or driver stack your organization uses. Confirm the exact device flags and the GPUDirect prerequisites with your container runtime and GPU vendor documentation, since they depend on the host OS and kernel. The step is done when a test container on each node lists the RDMA devices and the GPUs and can run the vendor's basic RDMA bandwidth test to a peer node.
Set VLLM_HOST_IP on every worker
The engineer sets the address each node should use for cross-node traffic. On the Ray path, vLLM needs VLLM_HOST_IP set per worker so that each node advertises the address on the high-speed fabric instead of the default management interface. Assign the InfiniBand or IPoIB address for each host, and keep the value unique per node. The vLLM security documentation states that node-to-node communication is unauthenticated and unencrypted by default, so these addresses should sit on an isolated network. The step is done when each worker reports the fabric address it was given and a ping or basic connectivity test over that address succeeds between every pair of nodes.
Set the NCCL transport variables for the run
The engineer sets the NCCL environment variables that control which interface and HCA NCCL uses, and that make the choice visible in the logs. Typical settings name the InfiniBand devices and the network interface for bootstrap traffic, and they can force the transport when a fallback must be ruled out. Confirm the variable names and their behavior against the NCCL version bundled in your vLLM image, because the values differ between releases. The step is done when the variables are recorded in the deployment manifest or launch script, and the same values are applied to every node.
Start the multi-node run
The engineer starts the head node first, then the workers, using the cluster helper or launch configuration your deployment method uses. Keep the model, parallelism sizes and image tag identical on all nodes, since mismatches are a common source of startup failures. Watch the head node output until every worker has joined the cluster and the model has loaded. The step is done when the head node reports all expected GPUs across the nodes and the server reaches its ready state without errors.
Read the NCCL initialization lines in the logs
The engineer reads the NCCL initialization output from every node, not only the head node. Look for the lines that name the selected transport, the network device for each channel, and whether GPUDirect RDMA is in use. An InfiniBand path names the adapters and an RDMA transport, while a fallback to sockets names a socket interface instead. Save the relevant lines from each node so that the team has a baseline. The step is done when every node reports the same expected transport and device, and no node reports socket transport on the inter-node path.
Run a cross-node throughput test
The engineer runs a load test that forces traffic across nodes, such as a request set large enough to exercise pipeline stages on each node, and compares throughput and latency with a run confined to one node or with the same layout on a known-good fabric. Record the numbers, the NCCL transport lines and the GPU and network utilization during the test. Ask your performance or platform team to set the pass criteria before the test starts, since these depend on the model and hardware. The step is done when the cross-node results match the expected transport and the team has recorded a baseline for future upgrades and changes.
How a cross-node request crosses the fabric
A request enters the API server on the head node and is handed to workers on both nodes, which exchange activations over NCCL. The diagram separates the path you want, InfiniBand with GPUDirect RDMA, from a TCP socket fallback that carries the same traffic more slowly. Everything between the nodes sits inside an isolated network boundary, because vLLM's security docs treat inter-node traffic as unauthenticated and unencrypted by default. Check the NCCL transport in the startup logs before you accept the layout.
Cross-node request path showing the preferred RDMA transport and the TCP fallback inside an isolated network.
Symptoms that show vLLM fell back to TCP sockets
A cross-node vLLM run that silently uses TCP sockets usually looks like a working deployment that is slower than expected, not one that fails. The signs below appear in startup logs, NCCL output, throughput numbers and GPU utilization, and each points to a different layer of the container and host configuration to check first.
NCCL logs name a socket transport
Run with NCCL debug logging enabled and look at the transport chosen for each connection between nodes. If the log reports a socket transport where an InfiniBand device should appear, NCCL did not find or was not allowed to use the RDMA path. Check first whether the InfiniBand devices are visible inside the container and whether the NCCL network interface variables point at the IB-capable interface. The transport line in the NCCL log is the most direct evidence.
Parallelism docsCross-node throughput below single-node
A multi-node deployment that serves fewer tokens per second than the same model on one node, or that scales poorly when a second node is added, is a common sign of a slow cross-node link. Compare the same request load on one node and on two before blaming the model or the scheduler. Pipeline parallelism sends activations between nodes on every step, so a slow link shows up quickly in this comparison.
GPU utilization gaps during communication
Watch GPU utilization during steady load. Repeated idle gaps that line up with cross-node communication, rather than with request arrival, suggest GPUs are waiting on the network. Check whether the host has RDMA-capable NICs passed through to the container, and whether the container runtime grants the memory locking and device access that RDMA needs. Use this symptom together with the NCCL log, not on its own.
Startup warnings about missing RDMA devices
Startup output that reports no RDMA devices, failed device opens or fallback to sockets is the earliest sign of a container configuration gap. These warnings often appear before any request is served, so they are easy to miss in a service that reports healthy. Check the container's device mounts, the host's driver and user-space packages, and whether the container runs with the privileges and limits the fabric requires. Treat any such warning as blocking until the NCCL log confirms the RDMA transport.
Higher cross-node latency than expected
Time to first token and inter-token latency that are much higher on a multi-node deployment than on a single node suggest that per-step communication is taking the slow path. Latency is more sensitive to transport than throughput is, so this symptom often appears first at low concurrency. Confirm the transport in the NCCL log, then measure latency with a fixed prompt set on both layouts. Do not set performance targets from a single run.
Nodes that work only on one interface
A multi-node run that starts and answers requests but uses an unexpected interface, such as a management or overlay network, can mean NCCL selected the wrong network device. This is usually a host or environment setting rather than an application flaw. Check which interface the node address resolves to, and whether the variable that pins the NCCL socket interface matches the fabric interface on every node. Confirm the choice from the logs on each node, since each node can pick differently.
Questions buyers ask about InfiniBand and GPUDirect RDMA for vLLM
Does vLLM cost money to run over InfiniBand?
No. vLLM is licensed under Apache-2.0 according to its GitHub repository and has no paid edition, so the license itself costs nothing. The money goes to the GPU or accelerator hardware, the InfiniBand switches, adapters and cables, the surrounding infrastructure, the implementation work and the people who operate the cluster. Hardware and fabric are usually the largest line items and are paid once or on a lease, while staff time for upgrades, monitoring and troubleshooting recurs. Ask a partner to separate one-time implementation fees from any ongoing support fees in the written quote.
How long does InfiniBand and GPUDirect RDMA work for vLLM take?
Duration depends on how mature the fabric already is, not on vLLM alone. The main drivers are whether the InfiniBand fabric is already validated end to end, how many nodes must be tuned and verified, whether the container platform already passes RDMA devices and shared memory settings to pods or containers, and how much test access the team gets outside production hours. A cluster with a working fabric and a clear test window moves much faster than one where drivers, firmware and container settings all need first-time validation. Ask for a phased schedule with named milestones and the access you need from your side.
What does our team need to provide for this work?
Expect to supply three groups of people and one window of time. Network engineers own the InfiniBand fabric, subnet manager, switches and adapter firmware. GPU or platform engineers own the drivers, the container runtime and the orchestrator settings. Your security or operations staff approve changes and access. You also need a maintenance window for node restarts, driver reloads and fabric changes, plus a test environment that matches production closely enough to trust the results. Confirm these commitments in the scope before work starts so the schedule is not blocked by waiting for access.
Can our own team set up InfiniBand and GPUDirect RDMA for vLLM?
Yes, if your team has solid fabric skills, container platform experience and access to clear logs. The configuration is mostly about making RDMA devices, GPU memory mapping and shared memory visible to the vLLM containers, then confirming that NCCL selects the InfiniBand transport. The hard part is verification: reading NCCL logs, separating a fabric fault from a container misconfiguration, and repeating the check after every driver or image update. If your team lacks one of these skills, a partner can do the first build and then hand over runbooks, or your team can keep the cluster and call on a partner for specific problems.
What symptoms show that vLLM fell back to TCP sockets?
The usual signs are cross-node throughput far below what the fabric should deliver, high latency on multi-node requests and NCCL logs that name a socket transport instead of an InfiniBand or RDMA transport. Engineers should check the NCCL initialization output on every node, look for the transport chosen for inter-node communication and confirm that the RDMA devices appear inside each container. Fallback often happens silently when a device is not passed through, when the adapter is not reachable from the container network namespace, or when a setting forces sockets. Treat a log that shows sockets as a failed check, not a warning to ignore.
Does multi-node vLLM traffic need extra security on the fabric?
Yes. The vLLM security documentation states that communication between nodes in a multi-node deployment is insecure by default, without authorization or encryption, and must be protected by placing nodes on an isolated network. An InfiniBand fabric that is physically separate from user traffic meets that expectation only if access to the fabric, the management plane and the node-to-node ports is restricted. Ask your partner how the design isolates the inter-node network, who can reach the subnet manager and how changes to that network are logged for your security review.
What should we ask a partner to include in a written quote?
Ask for a written scope that lists the nodes and GPUs covered, the fabric and container platform versions in use, and which tests prove the transport is correct. The quote should name each deliverable, such as container settings, NCCL verification steps, a fallback test, runbooks and handover sessions, and state what is excluded, such as hardware replacement or driver rewrites. Request the assumptions about access, maintenance windows and test hardware, the acceptance criteria, the change process after handover and whether any retainer covers future vLLM upgrades. A fixed-scope agreement makes these points comparable across bidders.
What to confirm with the fabric vendor and your operations team
RDMA configuration spans four owners, so assign them before the first launch. The host firmware and kernel settings, the driver stack that exposes the InfiniBand adapters, the container runtime that passes devices and memory limits into the vLLM container, and the vLLM launch command that selects the transport all affect whether NCCL uses RDMA. When one of these is unowned, a failed check gets passed around between teams. Write down who changes each layer and who signs off on a change to it.
Ask the network team for evidence of fabric health, not only a link-up light. Confirm the adapter firmware and driver versions they have certified for your nodes, the subnet manager configuration, the error counters they monitor on each port, and whether the two nodes in your planned pipeline split sit on the same fabric partition. Ask the GPU team which PCIe root complex each GPU and each adapter sits behind, because placing a GPU and its nearest adapter on different root complexes can reduce what GPUDirect RDMA delivers. Ask them to confirm the GPU driver and peer memory support on every node. Ask the platform team how NCCL_IB_HCA, NCCL_SOCKET_IFNAME and the device mounts are stored, whether they survive node reboots, node image rebuilds and Kubernetes or Ray restarts, and who is alerted when a node comes back with different settings. Confirm the exact versions the vLLM release you run documents for its NCCL dependency before you accept any vendor tuning guide.
How DeployOpen scopes and delivers vLLM network work
DeployOpen plans, builds, documents and supports self-hosted vLLM inside your own cloud accounts, data centers or air-gapped networks. For multi-node networking with InfiniBand and GPUDirect RDMA, we treat the fabric, container settings and NCCL transport as one system and verify each node pair before the serving layer depends on it.
How we scope
- Written scope lists the nodes, GPUs, fabric adapters and switches that the engagement covers.
- We record the vLLM version, container image and NCCL settings that the scope depends on.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We configure InfiniBand and GPUDirect RDMA device access, memory limits and shared memory for the containers.
- We confirm NCCL selects the InfiniBand transport in logs on every node pair, not TCP sockets.
- We isolate inter-node traffic on a dedicated network, since vLLM multi-node communication is unauthenticated and unencrypted by default.
How we hand over
- Deliverables include the verified configuration, a log-check runbook and the network diagram.
- Runbooks cover the symptoms of TCP fallback, with the log lines and throughput checks to run first.
- Your operators receive a walkthrough and a record of the tests run, so your team can repeat them.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers.
- We retest the fabric and NCCL transport after vLLM release upgrades, driver changes or node replacements.
- Support can cover monitoring of inter-node throughput and error counters agreed with your platform team.

