What does a real cluster look like?
Four builds, each a different shape. Three split one model to fit it, and the last spreads requests to serve a household.
In every case, the first thing that went wrong was not the tool.
Two Macs over Thunderbolt 5
The goal is a model too large for one Mac, run as one server. This is the setup with the best chance of tensor parallelTensor parallelEvery device works on every token. Needs a very fast link.Read more at home, because RDMARDMARemote direct memory access. One machine reads another's memory without the CPU in the way.Read more over Thunderbolt 5 gives the low latency it needs.
Parts
- Two Mac Studios with Thunderbolt 5 ports and the same chip, ideally the same memory size
- One Thunderbolt 5 cable, as short as you can manage
- A wired Ethernet connection to your network on each Mac, for downloads and access
Setup
- Update both Macs to the same macOS release, recent enough for Thunderbolt 5 RDMA. Which cable do I need between machines? lists what we know about the requirements.
- Connect the Thunderbolt 5 cable directly between the two Macs.
- Enable RDMA on both, following Apple's instructions for your macOS version.
- Install exo on both Macs and start it on each.
- Open the exo dashboard on either Mac, pick the model, and choose tensor parallel over the Thunderbolt link.
Expected speed
With layer splitPipeline parallelThe model is cut into consecutive slices across devices. Adds memory, not speed.Read more, expect about what one Mac with enough memory would give on the same model, a little under. With tensor parallel over RDMA, expect it to be faster than layer split, but well short of double.
A large MoEMixture of expertsA model split into experts, where only a few run for each token.Read more stays comfortably usable. A dense modelDense modelA model where every parameter runs for every token.Read more near the top of the combined memory crawls either way.
What went wrong
The model would not load at first, even though it fit on paper. macOS caps how much memory the GPU may use, and a big shard went over it. Raising the cap fixed it:
sudo sysctl iogpu.wired_limit_mb=229376That value is 224 GB, for a 256 GB Mac. Leave at least 16 GB or so for macOS. It resets on reboot.
The second problem was discovery. Both Macs were also on Wi-Fi, and the first run sent traffic over the wrong interface. Turning off Wi-Fi on both while testing made the link choice obvious.
Two Strix Halo boxes over Ethernet
The goal is a 100B+ MoE such as GLM-5.3-Flash on two 128 GB AMD boxes, using llama.cpp RPC. No RDMA here, so layer split only.
Parts
- Two mini PCs with the Ryzen AI Max+ 395 and 128 GB, running Linux
- A 2.5 GbE switch or a direct Ethernet cable. A USB4 cable between the two boxes is faster, if both have USB4 ports
- Enough disk on the main box for the GGUFGGUFThe single-file model format used by llama.cpp and the apps built on it.Read more file
Setup
- Install the same Linux release on both boxes and give each a fixed IP address.
- Raise the memory the GPU may use, so it can address most of the 128 GB. Are the big unified-memory boxes worth it? covers the settings.
- Build llama.cpp from the same commit on both, with Vulkan or ROCm and
-DGGML_RPC=ON. - Start
rpc-server -H 0.0.0.0 -p 50052on the second box. - On the first box, start
llama-server -m model.gguf -ngl 99 --rpc 192.168.1.12:50052.
Expected speed
A little below what a single 256 GB machine with the same bandwidth would do on this model. The MoE keeps it usable, because each tokenTokenA chunk of text, usually part of a word. Models read and write in tokens.Read more reads only the active parametersActive parametersThe parameters an MoE model actually uses per token. They decide its speed.Read more.
A dense model of this size would be too slow to chat with. For a sense of one box on its own, see tier 4 in What are the six hardware tiers?.
What went wrong
Loading took a long time. llama.cpp RPC sends the second box its share of the weightsWeightsThe full set of a model's parameters, stored in a file.Read more over the network at every start, and at 2.5 Gb/s that is minutes. Moving to a USB4 cable cut it down, and keeping the server running avoided it.
Long prompts were slow to start. PrefillPrefillThe phase where the model reads your prompt. Limited by compute.Read more pushes every prompt token across the link, so a large code file took noticeably longer to get going than on one machine. Short chats were fine.
The first build also failed to load with a vague error. The two boxes were on llama.cpp builds a few days apart. Rebuilding both from the same commit fixed it.
Two DGX Sparks over 200 GbE
The goal is a model that needs about 256 GB, served with vLLM and tensor parallel across both units. The Sparks have ConnectX-7 networking built in, so RDMA comes with the box.
Parts
- Two DGX Spark units, 128 GB each
- One QSFP cable rated for 200 GbE between their ConnectX ports
- Ethernet or Wi-Fi on each for normal network access
Setup
- Update both Sparks to the same DGX OS release.
- Connect the QSFP cable between the two units.
- Follow NVIDIA's guide for connecting two Sparks, which sets IP addresses on the ConnectX interfaces and checks NCCL between them.
- Pull the same vLLM container on both.
- Start a Ray cluster across the two, then start
vllm servewith--tensor-parallel-size 2.
Expected speed
For a model that needs both units, expect usable speed on a large MoE and slow speed on anything dense. Tensor parallel over RoCE makes the pair faster than layer split would, and it batches well, so a small team can share it. Each Spark's memory bandwidthMemory bandwidthHow fast data moves out of memory, in GB per second. It sets decode speed.Read more is the same as one unit's, which caps how fast any single stream gets.
What went wrong
NCCL picked the wrong network at first. Each Spark has several interfaces, and NCCL tried the slow one. Pointing it at the ConnectX interface fixed the speed:
export NCCL_SOCKET_IFNAME=enp1s0f0np0The second problem was version drift. One unit had a newer container, and Ray refused to join them. Pinning the exact image tag on both ended it.
A mixed household
The goal is different here. Nobody needs a bigger model. Three people want to chat at once without queueing, so this is request spreading, not a split.
Parts
- A desktop with a 24 GB NVIDIA GPU
- A MacBook with 16 GB
- A Windows laptop with 16 GB
- The home network, wired where possible
Setup
- Install Ollama on all three and pull the same small model, such as Qwen3 8B, on each.
- Make each Ollama listen on the network, not just
localhost, by settingOLLAMA_HOST=0.0.0.0before it starts. - On the desktop, also pull a mid-class model that only it can run.
- Run LiteLLM on the desktop as a router, with the small model listed once per machine under one name.
- Point everyone's chat app at the router, as in How do I share one model with my household or office?.
model_list:
- model_name: chat
litellm_params:
model: ollama_chat/qwen3:8b
api_base: http://desktop.lan:11434
- model_name: chat
litellm_params:
model: ollama_chat/qwen3:8b
api_base: http://macbook.lan:11434
- model_name: chat
litellm_params:
model: ollama_chat/qwen3:8b
api_base: http://laptop.lan:11434
- model_name: big
litellm_params:
model: ollama_chat/MID_MODEL_TAG
api_base: http://desktop.lan:11434
router_settings:
routing_strategy: least-busylitellm --config config.yamlExpected speed
Each person gets the speed of whichever machine took their request. The desktop is fast, the MacBook is fine, the Windows laptop is slower.
Three people chatting at once no longer wait for each other. The big model runs only on the desktop at its normal speed.
What went wrong
Laptops sleep. The router kept sending requests to a closed MacBook and they hung until timeout. LiteLLM's retries and cooldowns helped, and so did telling the laptop owners which nights the house runs on the desktop alone.
Answers differed between machines. The Windows laptop had pulled a different quantizationQuantizationStoring each weight with fewer bits so the model takes less memory.Read more of the same model. Pulling the same tag everywhere fixed it.
Ollama on the Mac did not listen on the network until it was restarted with the setting in place. How do I call a local model from code? covers where each runtimeRuntimeThe software that loads a model file and runs it.Read more sets its listen address.
Before blaming the cluster tool, check three things on every machine: same software version, same model file, and which network interface the traffic uses.
Go deeperThat's enough
Why the examples do not quote numbers
Cluster speed depends on the model, the quantization, the split mode, the link and the tool version, and all of them change monthly. A typed number would be wrong within a season. Measure your own with How do I benchmark my own setup?, and compare against a single machine on the same model.
Testing the link first
Before running any model, measure the link with a plain network test such as iperf3. If two machines on a 10 GbE cable show 2 Gb/s, a cable, port or setting is wrong, and no cluster tool will fix it.
When to give up on a cluster
If the cluster is slower than running a smaller model or a lower quantization on one machine, and the quality difference is hard to spot, run the smaller model. When should I not cluster? turns that into a rule.