Playbook · DGX Spark clusters · Problem

DGX Spark to DGX Spark link is slow

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.

How to fix a slow link between two Sparks

  1. Check the cable is on NVIDIA's list and the expected interfaces are up.
  2. Use ip route get to prove traffic uses the cable.
  3. Compare speed, MTU, addresses and error counters on both ends.
  4. Measure when the Sparks are free, change one thing and measure again. Splitting a model need not double its speed.

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

What you see.

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.

Is it an approved cable, fully seated? Change or reseat the cable if not yes Is the expected interface Up at full speed? Cable, port or switch port settings if not yes Does traffic route over the cable? It is using Wi-Fi or ordinary Ethernet if not yes Do MTU and addresses match on both ends? Make both ends the same if not yes Does a measured test look right? Counters, switch, updates, then support if not
Our diagram: the checks for a slow link, from the cable up to a measured test. Software tuning comes after these pass.

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

Read the settings on both Sparks.

Everything here except the tests at the end only reads. Write down each result, for both Sparks.

  1. Find the live interfaces

    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
  2. Read speed and MTU

    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
  3. Prove the route

    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
  4. Test that large packets fit, if you use MTU 9000

    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
  5. Look for error counters

    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
  6. See what your programs are told

    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'
  7. Measure

    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

Match your result.

What you foundWhat it meansNext
Interface down, or NO-CARRIERNo physical link on that port.Cable and port
Speed below expectedCable, 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 interfaceTraffic is not on the cable.Use the cable address; name the interface
Only one interface of the pair has an addressNVIDIA’s two-Spark example gives both an address.Compare your setup with Sync or the playbook
Large ping fails, small worksMTU does not match along the path.Make it match
Link looks right, one test number looks like about halfA 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 slowThe limit is somewhere else.Compare the same job on one Spark

Fix

Change one thing, then measure again.

Cable and ports

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.

Software versions

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.

See what the job chooses

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

Point software at the cable

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

Network settings

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

Through a switch

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

Compare like with like.

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

Take a change back.

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

Keep going.

About Server AI Hub

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.

See what Server AI Hub does

Sources

Check the makers’ own pages.

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.