The real problem in practice is that better models require more GPU VRAM. To run high-end open-source models which today nearly match the quality of GPT and Claude we can, for example, combine two GPUs into one.
Network Bandwidth Bottleneck
Standard Gigabit Ethernet transfers data at ~115 MB/s. Pooling RAM over a local network allows you to fit massive models that wouldn’t fit on a single PC, but inter-node communication latency will make execution slower than a single physical GPU.
THE SETUP
1. Build llama.cpp on both machines with RPC enabled:
cmake -B build -DGGML_RPC=ON
cmake --build build --config Release
2. On the worker / borrowed machine:
ggml-rpc-server -H 0.0.0.0 -p 50052 -c -d MTL0
![]()
-dpins ONE device. Without it,rpc-serveradvertises every backend it finds — on the Mac, that includes Apple’s BLAS, causing the scheduler to crash.
Use
-d MTL0on a MacUse
-d CUDA0on Nvidia
-ccaches weights locally so subsequent starts skip the network transfer.
3. On your main machine:
llama-server -m model.gguf --rpc 192.168.1.x:50052 -ngl 99
My tuned invocation for Qwen3.8-27B at 128k:
llama-server -m model.gguf --rpc 192.168.1.x:50052 -ngl 99 \
-dev RPC0,CUDA0 \
-ts 6,4 \
-c 131072 \
--flash-attn 1 \
-ub 512
THE NUMBERS
Model: Qwen3.8 27b Q4_K_M · VRAM Size: 15.92 GiB · Layers: 65
| Setup / Configuration | Performance | Notes |
|---|---|---|
| RTX 3060 alone | 6.79 t/s |
Layers offloaded to system RAM |
| 3060 + Mac over RPC | 13.69 t/s |
Before tuning |
| Mac alone | 13.98 t/s |
The cluster was doing nothing |
| 3060 + Mac | 16.39 t/s |
After fixing device order |
| With MTP | 22.00 t/s |
Empty context |
| With MTP | ~19.50 t/s |
Once context grows |
Note on 22 t/s: This was measured during a live
llama-serverrun. On allama-benchsweep with the same config (131072·f16·-ts 6,4·-ub 512), the figure is 20.05 t/s — a bench and a serve run measure different things.
Environment note: Measured on
llama.cppmaster commit84e908c62(2026-08-12). Not “latest master” — RPC and MTP behaviour moves between builds, and today’s HEAD may not reproduce these numbers.
SECURITY — Read This Bit
rpc-server has NO AUTHENTICATION. Anyone who can reach the port can use it.
-
Never expose it to the internet
-
Firewall the port to specific machines
-
Don’t run it as root
-
A VPN helps, but it is not an allow-list
THE FOUR TRAPS
-
Pin each worker with
-d, or the Mac advertises BLAS as a device and crashes. -
Build separately per Linux version, or use matching containers.
-
Keep the
llama.cppbuild identical at both ends — a mismatch looks like a network failure. -
macOS GPU RAM Limit: macOS gives the GPU only ~75% of unified memory by default.
Raise it:
sudo sysctl iogpu.wired_limit_mb=20480
HARDWARE
-
My Linux Machine (Main):
-
RTX 3060 (12 GB VRAM)
-
61 GB System RAM
-
-
Apple Silicon Mac (Worker):
- 24 GB Unified Memory (~18 GB reaches the GPU)
-
Network:
- Wired Gigabit, 1.19 ms RTT
LINKS
Be aware our Gnoppix llama is on CPU.