# What does a real cluster look like?

> Four worked builds, from two Macs over Thunderbolt to a mixed household. Each has a parts list, setup steps, expected speed and what went wrong.

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 parallel at home, because RDMA 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**

1. Update both Macs to the same macOS release, recent enough for Thunderbolt 5 RDMA. [Which cable do I need between machines?](https://localagi.co/interconnects) lists what we know about the requirements.
2. Connect the Thunderbolt 5 cable directly between the two Macs.
3. Enable RDMA on both, following Apple's instructions for your macOS version.
4. Install exo on both Macs and start it on each.
5. Open the exo dashboard on either Mac, pick the model, and choose tensor parallel over the Thunderbolt link.

**Expected speed**

With layer split, 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 MoE stays comfortably usable. A dense model 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:

```bash
sudo sysctl iogpu.wired_limit_mb=229376
```

That 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 GGUF file

**Setup**

1. Install the same Linux release on both boxes and give each a fixed IP address.
2. Raise the memory the GPU may use, so it can address most of the 128 GB. [Are the big unified-memory boxes worth it?](https://localagi.co/unified-memory-boxes) covers the settings.
3. Build llama.cpp from the same commit on both, with Vulkan or ROCm and `-DGGML_RPC=ON`.
4. Start `rpc-server -H 0.0.0.0 -p 50052` on the second box.
5. 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 token reads only the active parameters.

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?](https://localagi.co/hardware-tiers).

**What went wrong**

Loading took a long time. llama.cpp RPC sends the second box its share of the weights 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. Prefill 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**

1. Update both Sparks to the same DGX OS release.
2. Connect the QSFP cable between the two units.
3. Follow NVIDIA's guide for connecting two Sparks, which sets IP addresses on the ConnectX interfaces and checks NCCL between them.
4. Pull the same vLLM container on both.
5. Start a Ray cluster across the two, then start `vllm serve` with `--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 bandwidth 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:

```bash
export NCCL_SOCKET_IFNAME=enp1s0f0np0
```

The 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**

1. Install [Ollama](https://localagi.co/ollama) on all three and pull the same small model, such as Qwen3 8B, on each.
2. Make each Ollama listen on the network, not just `localhost`, by setting `OLLAMA_HOST=0.0.0.0` before it starts.
3. On the desktop, also pull a mid-class model that only it can run.
4. Run LiteLLM on the desktop as a router, with the small model listed once per machine under one name.
5. Point everyone's chat app at the router, as in [How do I share one model with my household or office?](https://localagi.co/sharing-a-model).

```yaml
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-busy
```

```bash
litellm --config config.yaml
```

**Expected 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 quantization 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?](https://localagi.co/local-api) covers where each runtime sets its listen address.

**Rule of thumb.** 
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 deeper

### 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?](https://localagi.co/benchmarking), 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?](https://localagi.co/when-not-to-cluster) turns that into a rule.
