Playbook · DGX Spark cluster
Two DGX Sparks do not become one bigger computer, and two do not give twice the throughput by themselves. Here is why, how to choose, and what has to be on both.
What was run: nothing on this page has been run by us on hardware. It is written from the makers' documents. The reasoning that is ours is marked, and we give no speed results.
Checked on 26 November 2026 against: NVIDIA's DGX Spark hardware and clustering pages and NCCL guide, and the current vLLM, Ray, Docker, Ubuntu Server NFS and Hugging Face documentation. We have not yet run this playbook start to finish on our own hardware.
Watch, then follow
Why two is not twice. Why don't two DGX Sparks give twice the throughput?
The AI stack. We're at the bottom: the machines, and their cable.
Two computers, not one. A cluster of two Sparks is still two computers. A network link joins them. It doesn't merge their memory.
Memory and the link. NVIDIA lists two hundred seventy three gigabytes a second of memory bandwidth in each Spark. Each fast port provides up to two hundred gigabits a second. That's twenty five gigabytes a second.
Split, or copies. You can split one model across both. That can make room for a model too big for one. Or, if it fits on one, run a copy on each.
The cluster tax. When split, the Sparks must send each other data, over a link much slower than their memory. They wait for each other, so the slower one sets the pace. And each one carries its own software, which uses memory and processor time.
Tensor or pipeline. Tensor parallel divides each layer, so the Sparks exchange partial results at every layer. Pipeline parallel gives each one some layers. Less is exchanged, but the stages depend on each other in turn.
Not twice as fast. Two copies avoid most of that tax. But one reply is still made by one Spark, so it isn't twice as fast. The second copy only adds throughput when one Spark has more requests than it handles well.
What survives. If a split model loses a Spark or the link, expect it to stop. With copies, the other can carry on, if the balancer is still running and notices.
What Ray adds. Ray places and coordinates work. It doesn't merge their memory, or make data cross the cable any faster.
Measure it. So measure one Spark against two, with the same requests. Try one request at a time, then many at once.
Choose with care. If it fits, try copies first. Next, what both Sparks need.
10 steps
What both Sparks need. What must be on both DGX Sparks?
Image and weights. Both need the same container image, stored on each. The model files can have one copy, on the first Spark.
Check the image. Compare image IDs. A matching name isn't enough. If they differ, check each image store, and compare layers.
Save, send, load. To copy it, send docker save through SSH into docker load. Loading can move a tag on the second Spark, so check its images first. Or pull the same digest on both.
Share the whole hub. Share the whole Hugging Face hub folder, because its snapshots are links within it. Don't share the folder above, which by default holds your access token.
Export it read-only. Installing the NFS server starts a network service, and you'll edit a system file. In the exports file, share the hub folder only with the second Spark's link address, read-only, root squashed, no space before the bracket.
Who may read. NFS goes by user numbers, and a root user on the second Spark is treated as nobody. So the files must be readable to others, or the export must map requests to your own user.
Mount and test. On the second Spark, mount it into an empty folder. Check that links open, and that writing to the share fails.
Come back, don't hang. Back up the boot file before you edit it. The no fail option lets boot carry on, and automount connects when the folder is first used.
Same path, offline. Give both containers the model folder at the same path inside. Offline mode stops the second one trying to download. So download on the first.
What it costs. The second Spark now depends on the first, and on the link. Loading goes over the network, so time it yourself.
Second Spark first. To undo, stop the containers, unmount the second Spark, and remove its boot line. Only then remove the export on the first.
Check, then trust. We haven't run these on hardware, so check each.
16 steps
Written from the makers' own documents, linked below, as read on 27 November 2026. Set the cable link up first, with the cluster setup guide.
The basics
It is two computers that can reach each other quickly. NVIDIA lists for each DGX Spark 128 GB of unified memory with 273 GB/s of memory bandwidth. NVIDIA's clustering page says each QSFP port provides up to 200 Gb/s, and that the cable also affects the speed. These are the maker's figures, not our measurements.
Two machines, each with its own operating system, processor, GPU and memory, joined by a network link.
One computer with 256 GB of memory. A program on one Spark cannot simply use the other's memory or GPU.
Software made to run across machines. It decides what each one holds and what they send each other.
The link figure is in gigabits a second (Gb/s) and the memory figure in gigabytes a second (GB/s). A byte is eight bits, so 200 Gb/s is 25 GB/s, against 273 GB/s for each Spark's own memory. Both are the maker's peak figures. What your software gets over the cable can be lower, and only a test shows it: see how to test the link. NVIDIA also explains that each port appears in Linux as two network interfaces, so the link has to be set up properly.
Choose
Split means one model whose parts are on both machines. Two copies means each Spark holds the whole model and answers its own requests. Two copies are only possible if the whole model, with the context length and number of users you need, fits on one Spark.
| Question | One model, split | A whole copy on each |
|---|---|---|
| How big a model? | Can take a model that is too big for one Spark, if each Spark's share fits | No bigger than one Spark can hold |
| Is one reply faster? | It depends on the model, the software and the settings. It can be slower than one Spark. Measure it | Not twice as fast. One reply is made by one Spark |
| Many users at once? | One model server. Both Sparks serve the same requests | Requests are shared out. This helps when there are more than one Spark handles well |
| If one Spark stops? | Expect the whole model to stop. So too if the cable fails | The other copy can carry on if your balancer notices. Replies under way on the stopped one are lost |
| Data over the cable | Throughout every reply | Requests and replies for the second Spark, if the balancer is on the first. No data from inside the calculation |
| To keep matching | Image, packages, model files, settings | The same, so that both give the same service |
Our advice: start with a copy on each, behind one address. See two copies.
Split it, with a tested recipe for that model if there is one. See split one model. A smaller or more compressed version that fits on one is the other choice.
Our advice: use one Spark, and the other for something else, such as a second model. Split only if your own test shows a gain that matters to you.
NVIDIA's hardware page says one DGX Spark supports AI models of up to 200 billion parameters, and two up to 405 billion. That is the maker's statement. It does not say that your model fits at your precision, context length and number of users.
Two copies do not remove every single point of failure. If the one address lives on the first Spark and that Spark stops, the address stops with it, even though the second copy is still running. The failover table goes through each case.
The cluster tax
We use "cluster tax" for the extra work and waiting that exist only because a model is on two machines. The phrase is ours, not a measurement or a maker's term.
Inside a Spark, the GPU works from that Spark's memory. What it needs from the other Spark has to cross the cable. By the maker's figures above, the port's peak is far below the memory's peak. Many small messages also pay a delay each time, which a bandwidth figure does not show.
A shared calculation needs both halves. In an all-reduce, an operation NVIDIA's NCCL library provides, every GPU puts in its own numbers and receives the combined result. By our reasoning, the result cannot be complete until the later GPU has put its numbers in.
If one Spark is busy with another program, or its share of the work is larger, the other one waits. Our reasoning: two matching Sparks help, but only if they are doing matching amounts of work.
Each Spark runs its own operating system, container, worker process and GPU software, plus the code that communicates. All of that uses processor time and memory on both. So the space left for the model and its cache is less than the two memory figures added together. How much less depends on your setup.
This is our own simplification, to show the shape of the problem. Say one Spark needs a time W to do one step. Split it perfectly in two, and each side has W ÷ 2. Then add X for exchanging data and Y for waiting and other overhead:
one Spark: W
two, split: W / 2 + X + Y
The step would take half as long only if X and Y were zero. If X and Y together are as large as W ÷ 2, the second Spark has gained nothing. If they are larger, two are slower than one. Real software can overlap some exchange with some work, so this is not a way to predict a speed. And when a model does not fit on one Spark at all, there is no W to compare with: the split is what lets it run.
The work inside each layer is divided, and each GPU holds part of the layer's weights. Hugging Face's Transformers guide says GPUs exchange partial results at each layer and need fast communication. So the cable is used many times for each new piece of text.
The layers are divided: one GPU holds the earlier ones, the next the later ones, and the work passes through in order. Our reasoning: what crosses at the join is the first part's output, which the second part needs, and while writing a reply something has to come back for the next step. That is fewer exchanges. But the stages depend on each other in turn.
With one request and nothing overlapped, our reasoning is that one pipeline stage waits while the other works, so one reply does not get two GPUs at once. Keeping both stages busy needs enough work in flight, and software that overlaps it. NVIDIA's Megatron Bridge page on parallelism, which is mainly about training, calls pipeline idle time a bubble and says tensor parallel works best within a single node, while pipeline parallel can work across nodes with careful batch tuning.
vLLM says efficient tensor parallelism needs fast communication between nodes. Its general advice for a model too big for one machine is tensor parallel within a machine and pipeline parallel across machines. NVIDIA's two-Spark vLLM recipes use tensor parallel across the cable instead. The split-model page sets both out. Neither mode wins for every model, and we have measured neither.
Where Ray fits
Ray is software that places and coordinates work across machines. A Ray cluster has one head node and worker nodes. vLLM can use Ray to run a split model across machines, and it can also use its own multi-node options without Ray.
It places tasks and actors on a node that can fit what they ask for, coordinates them, and moves their objects between nodes when needed.
It does not merge the two memories, make one task use both GPUs by itself, or move an ordinary program. A model split by vLLM on Ray still sends its data over the same cable, so it still pays the cluster tax.
A Ray cluster runs whatever code it is sent. Ray expects a controlled network and trusted code. Never expose its dashboard, job or client services. Read the Ray cluster page before you start one.
Measure your own
No general figure can tell you what your model will do. Test your own case before you decide. Generating text uses the GPUs, so do it when the machines are free.
The same model and revision, the same image, the same precision and context setting, the same prompts and the same output length. Write down every setting that has to differ.
Record the time to the first output and the time for the whole reply, on one Spark and then on two. This shows what happens to one reply.
Try several levels, up to more than you expect in real use. Record how many requests and how much output finish each second, and how long the slowest replies take.
Our advice: do each case more than once and keep the first run after loading separate. Repeated prompts can be answered partly from cache, so treat both setups alike. Watch both Sparks, to see that both really worked.
If the model only fits when split, there is no one-Spark result for it. You can then compare split settings with each other, or with a smaller model on one Spark, and say which you did.
On both Sparks
A container image is stored by the Docker on each machine. The second Spark does not see the first one's images, and sharing the model folder below does not share them. For a split model, vLLM asks for an identical execution environment on every node, and recommends containers for that. In the commands, IMAGE:TAG is your image, USER your user name, and words in capitals are yours to replace. The commands assume your user can run docker without sudo on both.
Run these on each Spark and compare. docker image inspect prints details of an image, and docker image ls can show digests.
docker image ls --digests --no-trunc
docker image inspect --format '{{.Id}} {{.Os}}/{{.Architecture}}' IMAGE:TAG
docker image inspect --format '{{json .RepoDigests}}' IMAGE:TAG
docker image inspect --format '{{json .RootFS.Layers}}' IMAGE:TAG
What success looks like: the same ID on both. The same tag name alone proves nothing, because a tag can be moved to different content. A registry digest appears when the image came from a registry. An image that arrived as a file may show none.
Docker has two ways of storing images. The containerd image store is the default on new installs of version 29.0 and later, while upgraded installs keep the older one. Our understanding is that the two can report different IDs for the same content. If the IDs differ, check each Spark with the command below, and compare the layer lists from the last command above. Matching layers mean matching files in the layers, but they do not compare the image's settings. Do not switch stores just to make IDs match: Docker says switching hides the images and containers made with the other store.
docker info -f '{{ .DriverStatus }}'
docker image save writes an image as an archive to its output, and docker image load reads one from its input and restores the images and tags. Joining the two through SSH, over the cluster link address, copies the image without a registry and without leaving an archive file behind. Check free space on the second Spark first, with docker system df and df -h.
ssh USER@SECOND-SPARK-LINK-ADDRESS 'docker system df; df -h'
Loading restores tags. If the second Spark already uses the same name and tag for something else, expect the name to point to the new image afterwards. Look with docker image ls there first. A container already running keeps the image it started with, by our understanding.
Run this on the first Spark:
docker image save IMAGE:TAG | ssh USER@SECOND-SPARK-LINK-ADDRESS docker image load
What success looks like: the load reports the loaded image, and the checks above agree. If your image was pulled by digest and has no tag of your own, give it one first, and save that name.
docker image tag IMAGE@sha256:DIGEST IMAGE:MYTAG
If both can reach the registry, you can instead pull by digest on each. A digest names exact content. A pinned digest also does not pick up later fixes until you change it.
docker pull IMAGE@sha256:DIGEST
Undo: on the second Spark, docker image rm IMAGE:TAG removes the image you added. Check first that nothing there needs it, and note that it does not bring back where an older tag pointed.
Undo
Undo the second Spark first, while the first is still serving. Removing the server first can leave the second one waiting on a share that no longer answers.
This stops anything that uses the share. Stop the containers that use the model first. Edit only the lines you added. Do not copy an old backup over a file that has changed since.
sudo systemctl stop mnt-sparkhub.automount
findmnt /mnt/sparkhub
sudo umount /mnt/sparkhub
sudoedit /etc/fstab
sudo findmnt --verify
sudo systemctl daemon-reload
sudo rmdir /mnt/sparkhub
Skip umount if findmnt shows nothing mounted there. In the editor, delete your one line. If unmounting says the folder is busy, find what is still using it and stop that.
sudoedit /etc/exports
sudo exportfs -ra
sudo exportfs -v
Delete your line, apply, and check that the hub folder is no longer listed. Only if this Spark shares nothing else with NFS, you can also turn the server off:
This stops every NFS share from this Spark.
sudo systemctl disable --now nfs-kernel-server
The model files on the first Spark stay where they are. If you changed file permissions yourself, undoing the share does not change them back.
Fixes
| What you see | Check | What to do |
|---|---|---|
| The mount is refused, or access denied | sudo exportfs -v on the first Spark | The client address and folder path must match what you mount |
| The mount waits, then times out | Ping the first Spark's link address; systemctl status nfs-kernel-server there | Fix the link or start the server. A firewall may be in the way |
| Permission denied on files | The two find checks; which user the container runs as | Use the user mapping, or give read access, as in step two |
| Files listed, but "no such file" when opened | find … -xtype l for broken links | Share the whole hub folder. A link must not point outside it |
| The model is not found on the second Spark | findmnt /mnt/sparkhub; the path inside the container; the revision | Mount first, match the inside path, and download on the first Spark |
| Read-only file system error | Which setting makes the software write into the hub folder | Keep offline mode on, and point other caches somewhere writable |
| A program hangs on the second Spark | Whether the first Spark and the link are up | Bring them back. A hard mount keeps retrying |
| Split model fails though files match | The image checks on both Sparks | Make the images the same, then see model hangs while loading |
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
Read on 27 November 2026. These projects change often; if their pages differ from this one, follow them.
General guidance only, in our own words. Back up before you start; you use these steps at your own risk. NVIDIA, DGX, DGX Spark, ConnectX, NeMo and CUDA are trademarks of NVIDIA Corporation; Docker, Hugging Face, Ray, vLLM, Ubuntu, Linux and other names belong to their owners. 6ixLabs is not affiliated with or endorsed by NVIDIA or any of these projects.