Playbook · DGX Spark clusters · Problem
A slow cluster is not always a slow cable. First prove which network the traffic uses, then measure the link, then look at the software.
A speed test fills the link, and some tests use a lot of memory. Run one only when no job needs the Sparks.
Checked on 26 November 2026 against: NVIDIA's DGX Spark and cluster pages and playbooks, NCCL's networking guide and PyTorch 2.9's distributed page. We have not yet run this playbook start to finish on our own hardware.
The symptom
Model files or data move slowly between the Sparks, a split model answers far more slowly than you expected, or NVIDIA Sync’s speed test shows a warning. NVIDIA says each QSFP port provides up to 200 gigabits a second, and that the cable also limits the speed. A model split across two Sparks need not run twice as fast: the parts have to keep exchanging data.
Written from the makers’ own pages and source code, read on 26 November 2026. We have not run these checks and fixes on our own hardware for this page. In the commands, spark-two and words in capitals such as USER, PEER_LINK_IP and NAME are made-up placeholders: put your own in. All cluster problems and the safe-checks method.
Safe checks first
Everything here except the tests at the end only reads. Write down each result, for both Sparks.
NVIDIA explains that one QSFP port appears as two Ethernet interfaces, each with a matching RDMA device, because the port reaches the chip over two separate PCIe paths. With one cable you should expect a pair to be up.
ibdev2netdev
ip -br link
ip -br addr
Replace IFACE with a live interface, and repeat for its partner. NVIDIA’s switch playbook expects 200000Mb/s from ethtool.
ethtool IFACE
cat /sys/class/net/IFACE/mtu
If the answer names a Wi-Fi or ordinary Ethernet interface, your test is not using the cable. Check which address your program was given.
ip route get PEER_LINK_IP
8972 bytes of data plus 28 bytes of headers makes 9000. -M do forbids splitting the packet. If this fails but a plain ping works, something on the path has a smaller MTU. NVIDIA’s current playbook uses 9000 only for two Sparks cabled directly, and 1500 for other layouts.
ping -M do -s 8972 -c 3 PEER_LINK_IP
NCCL’s guide suggests these. Read them before and after a test. Counters that keep rising matter more than a number that stays still.
ethtool -S IFACE
rdma statistic
Variables can point NCCL, Gloo or UCX at an interface. Read what is set in the terminal you start jobs from. A container has its own, taken from its start command.
env | grep -E 'NCCL|GLOO|UCX'
NCCL’s guide uses ib_write_bw to test RDMA between two machines; it comes from the perftest package, which may need installing. Start the first line on the second Spark, then the second line on the first. This test uses one RDMA device, so it measures one of the port’s two interfaces, not both.
Puts load on the system. Waits for the other end, then fills the link. Replace YOUR-DEVICE with an RDMA device that ibdev2netdev showed as Up (for example rocep1s0f0).
ib_write_bw -d YOUR-DEVICE -a
Puts load on the system. Sends test data across the cable.
ib_write_bw -d YOUR-DEVICE PEER_LINK_IP -a
For the whole collective path that distributed jobs use, NVIDIA’s NCCL playbook builds and runs all_gather_perf. Follow that playbook. Its larger run uses 16 GB buffers, so free memory first, and read its SSH options before copying them: they switch off host key checking.
What each result means
| What you found | What it means | Next |
|---|---|---|
Interface down, or NO-CARRIER | No physical link on that port. | Cable and port |
| Speed below expected | Cable, port or switch setting. NVIDIA notes a switch may need the speed set by hand. | Check the cable list; check the switch port |
| Route uses another interface | Traffic is not on the cable. | Use the cable address; name the interface |
| Only one interface of the pair has an address | NVIDIA’s two-Spark example gives both an address. | Compare your setup with Sync or the playbook |
| Large ping fails, small works | MTU does not match along the path. | Make it match |
| Link looks right, one test number looks like about half | A single-device test covers one of the two paths. This is our reading of NVIDIA’s layout, not a published figure. | Test both, or use the NCCL test |
| Link tests well, the model is still slow | The limit is somewhere else. | Compare the same job on one Spark |
Fix
Unplugging breaks any job that uses the link. Finish or stop those jobs first.
Use a cable from NVIDIA’s approved list. A faster-rated cable does not raise the limit of the port. NVIDIA’s current pages say a second cable between two Sparks does not make it faster. An older playbook words this differently, so follow the current page for your release.
NVIDIA’s February 2026 release notes record a fix for a speed drop some people saw with several Sparks. Update both Sparks to the same release with the DGX Dashboard.
An update restarts the Spark. Save work, stop jobs and keep the power on.
Run your own test again with NCCL’s logging on, and read which interfaces and devices it names. A container needs the variable passed in.
Changes something. Programs started from this terminal print NCCL’s choices. Unset it afterwards.
export NCCL_DEBUG=INFO
PyTorch says its NCCL and Gloo back ends choose an interface on their own, and that NCCL_SOCKET_IFNAME and GLOO_SOCKET_IFNAME override the choice. In NCCL’s syntax a leading = means that exact name.
Changes something. Changes what programs started from this terminal use. Note that NVIDIA’s playbooks differ: the NCCL test uses the ordinary network interface for set-up traffic, while the vLLM Ray steps use the cable interface. Follow the one for your workload.
export NCCL_SOCKET_IFNAME==IFACE
export GLOO_SOCKET_IFNAME=IFACE
If the MTU or addresses differ, correct them with the same tool that created them: NVIDIA Sync, or your netplan file. Netplan’s try command applies a change and rolls it back unless you confirm.
Changes something. Applies the network files now and can interrupt networking. Netplan’s page warns that you should check the rollback really happened.
sudo netplan try
NVIDIA’s playbook says a link can show 200 gigabits while the switch moves traffic through its own processor, or while errors build up. Check hardware offload, switch load and port counters with the switch maker’s own guide.
Confirm
Run the same test, in the same direction, with the same size, before and after. Then test the other direction. Keep both results with the date and software release. Then unset the debug variable.
Changes something. Removes the logging variable from this terminal.
unset NCCL_DEBUG
Undo
Variables last only for that terminal: close it, or use unset with the name. Network changes: put back your copy of the netplan file and apply it, or delete the cluster in NVIDIA Sync and make it again. If an update made things worse, there is no one-step downgrade that we found in NVIDIA’s update page; report it to NVIDIA before trying anything destructive.
Next
Server AI Hub is our app for looking after a DGX Spark. You do not need it to follow this playbook. It is coming soon to the App Store and the Microsoft Store.
Sources
General guidance only, in our own words. Check what a command does before you run it; you use these steps at your own risk. NVIDIA, DGX Spark, ConnectX and CUDA are trademarks of NVIDIA Corporation; Docker, Ray, PyTorch, Ubuntu, Linux, Hugging Face and other names belong to their owners. 6ixLabs is not affiliated with or endorsed by NVIDIA or any project named here.