How to Cluster Nvidia DGX Sparks Without a Switch
A practical guide to cabling Nvidia DGX Sparks into a switchless ring cluster, with firmware steps, container images, and real performance tradeoffs.

What is a switchless DGX Spark cluster?
A switchless DGX Spark cluster connects four Nvidia DGX Spark units directly to each other using their built-in network ports, forming a closed loop instead of routing traffic through a central switch. Each Spark has two network ports, so unit one connects to unit two, two to three, three to four, and four back to one. That’s four cables, zero switches, and a setup Nvidia only recently started supporting. The appeal is simple: no extra hardware, no rack space for a switch, and a cleaner build. The tradeoff is that any traffic between non-adjacent boxes has to hop through a neighbor instead of taking a direct path.
TL;DR
- A ring topology lets four DGX Sparks talk to each other over four direct cables with no switch, using each unit’s two network ports to form a closed loop.
- Firmware and driver updates matter enormously: an outdated network card firmware, Linux kernel, BIOS, and embedded controller combination produced 3 GB/s bandwidth, while a fully updated stack hit nearly 24 GB/s on the same cables.
- Raw network performance on the ring essentially matches a switch, with comparable bandwidth and even slightly lower latency in direct testing.
- The real bottleneck isn’t the network, it’s software that assumes every box has a direct line to every other box, which silently falls back to slower code paths on a ring without throwing an error.
- A community-patched NCCL build is required to get the standard VLM container to form a four-node ring at all, since the stock version tries to connect boxes that aren’t wired together.
- Purpose-built ring software, like a community DeepSeek fork tuned specifically for ring topology, can outperform the switch setup entirely, showing the hop penalty is a software problem, not a hardware one.
- The ring sacrifices resilience and all-to-all communication patterns: one dead cable collapses the whole ring, while a switch-based cluster degrades gracefully if one node drops.
Build a claims
triage app for
4,000 insurance
adjusters
One prompt. Role-based access, audit trail and SSO come built in.
How do you physically cable four DGX Sparks into a ring?
Each DGX Spark has two network ports. To build the ring, cable port two on unit one to port one on unit two, then unit two’s second port to unit three, unit three to unit four, and finally unit four back to unit one. That closes the loop. No switch sits in the middle, which means the setup can fit into a single enclosure without the bulk of a separate networking box.
The cable type matters. These are QSFP connections, and they come in a confusing range of variants: single density, double density, QSFP28, QSFP56, and speeds from 50 GB to 400 GB. The signaling matters too (PAM4 modulation is the one you want for this use case). Some vendors now label cables specifically for DGX Spark clustering, which removes a lot of the guesswork. Breakout cables rated at 400 GB on one end, split into legs carrying 200 GB each, match what the Spark’s ports need.
Why did the first test only hit 3 GB/s instead of 20+?
The initial ring test came in dramatically slower than expected: about 3 GB per second, compared to the 20 to 24 GB per second other users reported with similar two-Spark connections. The cables checked out fine. The network cards tested fine on their own. The fix turned out to be a full firmware and system update across all four boxes: network card firmware, Linux kernel, BIOS, and embedded controller.
After updating everything at once, bandwidth jumped to almost 24 GB/s on the exact same cables and settings, an eight-times improvement. Because multiple components were updated simultaneously, it’s not possible to isolate which single update fixed it. The practical takeaway: on hardware this new, staying current on every layer of firmware and drivers isn’t optional, it’s the difference between a cluster that barely works and one that performs as advertised.
Is the ring topology actually as fast as a switch?
On raw networking metrics, yes, almost exactly. Bandwidth testing showed 23.5 GB/s on the ring versus 23.2 GB/s on a switch, essentially a tie. Latency for small messages actually favored the ring: 48 microseconds versus 59 microseconds on the switch. The extra hop a packet takes going around the ring doesn’t show up as a meaningful cost in either bandwidth or latency.
Running actual models told a similar story on several tests. Across six models tested, the ring was slightly ahead on four of them, including GPT-OSS-120B and Nemotron 3 Super. With a large 550-billion-parameter model (Nemotron 3 Ultra, using an NVFP4 quantization format well suited to Blackwell GPUs) split across all four boxes, the ring sustained roughly 24 to 27 tokens per second for a single user. Under concurrent multi-user load, ring and switch performance came out roughly even.
Where does the ring actually fall behind?
The gap shows up with specific software, not with the network itself. Testing the same model on two different container images exposed it clearly. On a standard VLM image, the ring and switch performed almost identically. But on a community-built image with its own hand-tuned, faster all-reduce routine, the switch came out roughly a third faster, and that gap held across multiple prompt types, with the switch winning by 12 to 19%.
The cause traced back to how that faster image handles communication between nodes. It skips the standard NCCL library and uses RDMA directly, writing straight into another box’s memory, with every node writing to every other node in a single “all-to-all” operation. That pattern requires a direct line between every pair of boxes. A switch provides that: every node is one hop from every other node. A ring doesn’t: node one has no direct line to node three. When that fast image detected the missing direct links, it logged a quiet warning and fell back to a slower communication path, with no outright error, just reduced performance.
The standard VLM container has a related but different problem: its default NCCL configuration doesn’t know how to form a four-node ring at all, and tries to connect boxes with no physical cable between them. Getting it working requires a community-patched version of NCCL built specifically to understand ring topology, passing data neighbor to neighbor instead of assuming direct links everywhere.
What software do you need to make ring clustering work?
Every model run depends on a container image bundling several pieces: an inference engine like VLM, GPU kernels tuned for the hardware, and NCCL for inter-node communication. Swapping the image swaps all of that at once, which is why results vary so much between setups.
For a functioning ring cluster, three pieces are worth knowing about:
- A patched NCCL build circulated by the community, which fixes the stock library’s inability to form a ring on its own.
- Nvidia’s own documentation, which now includes guidance for configuring multiple DGX Sparks for distributed workloads, covering both automated tooling and manual setup.
- Purpose-built ring software, such as a community DeepSeek implementation with its own ray-mode kernels tuned for the Spark’s GB10 chip and an all-reduce routine designed around ring topology rather than assuming full mesh connectivity.
That last category is where the ring topology actually proved it could beat a switch. Running that ring-native DeepSeek build produced the fastest token-per-second numbers measured across either topology, beating every switch-based result from the standard recipe. That’s not evidence the ring is generally faster. It’s evidence that software written with the ring’s actual shape in mind closes the gap entirely, and can even flip it.
Is a switchless cluster worth building instead of using a switch?
It depends on what you’re optimizing for. If the goal is saving money (a capable switch runs in the $1,100 to $1,200 range) and you’re running models with standard images or ring-aware software, the ring performs about as well as a switch with less hardware and a cleaner physical build. If you’re running specialized, highly-optimized images that assume full mesh connectivity between every node, the switch wins meaningfully, sometimes by double digits in tokens per second.
There’s also a resilience tradeoff that has nothing to do with speed. If one cable or node fails in a switched cluster, the switch can route around it and the rest of the cluster keeps functioning. In a ring, every node depends on its two neighbors to complete the loop. Losing one cable breaks the ring entirely, and any model running across it dies.
Frequently Asked Questions
Do I need a switch to cluster multiple DGX Spark units?
No. Nvidia now supports connecting up to four DGX Sparks directly to each other in a ring using each unit’s two network ports, without any switch in the middle.
What’s the biggest mistake people make setting up a ring cluster?
Running outdated firmware. Outdated network card firmware, kernel, BIOS, or embedded controller software can reduce bandwidth by roughly eight times compared to a fully updated system on identical cabling.
Does the ring topology sacrifice performance compared to a switch?
Not in raw bandwidth or latency, which came out roughly equal in direct testing. Performance differences appear only with specific software that assumes every node has a direct connection to every other node, a pattern a four-node ring can’t provide without ring-aware code.
What happens if a cable fails in a ring cluster?
The entire ring breaks, and any model running across the cluster stops. A switch-based cluster tolerates a single node failure better, since the switch can still route around it.
What cables do I need for a DGX Spark ring?
QSFP cables with PAM4 signaling, typically breakout cables rated at 400 GB on one end splitting into legs around 200 GB, which matches what each Spark’s network port needs. Some vendors label cables specifically for DGX Spark use.
