r/oMLX • u/LowerRun8297 • 1d ago
I put two Mac Studios behind one endpoint for embedding and rerank work — here is what the second machine actually buys you
Most local-inference benchmarks measure one machine. That is the easy case. The question I kept running into is the second one: when two Macs sit behind one endpoint and the traffic is hundreds of small, boring calls, does the second machine actually help — and how do you see whether it is pulling its weight?
What this workload is, if you have not touched it. Embeddings turn text into vectors so you can search by meaning instead of by keyword. A reranker takes the thirty-odd candidates a first pass returned and reorders them by how well each one really answers the query. Neither streams, neither keeps a conversation, neither caches a prefix: they are short HTTP calls that return one JSON body, and a real pipeline fires them continuously while somebody is typing. Run them on the same machines as your chat models and they compete for the same GPU — which is why I wanted them balanced properly, and measured honestly.
The setup. Two Mac Studios — an M5 Ultra (512 GB) and an M3 Ultra — each running oMLX, each holding the same embedding model (Qwen3-Embedding-4B, 4-bit) and the same reranker (Qwen3-Reranker-0.6B, 4-bit). In front of them RIPPLE, an OpenAI-compatible proxy I wrote, which places each request by measured load and by which machine actually has the model resident.
The numbers. 20-second runs, 8 concurrent requests per machine (16 through the proxy), zero failed requests.
Reranking, 20 documents per call:
M5 Ultra alone — 8.7 reranks/s, 16,500 tokens/s
M3 Ultra alone — 5.6 reranks/s, 10,600 tokens/s
both, through the proxy — 13.5 reranks/s, 25,600 tokens/s
That last figure is 94 % of the two machines' capacity added together. The proxy keeps both busy; it does not make either one faster.
Embeddings, ~90-token inputs:
M5 Ultra alone — 32.6 requests/s
M3 Ultra alone — 10.9 requests/s
both — 42.1 requests/s (97 % of the sum), with the same p50 latency as one machine (234 ms vs 229 ms)
Two caveats I would rather state than have pointed out. The token figure for reranking is prefill: a rerank is one forward pass with no decoding, so 25,600 tokens/s is not comparable to a chat model's generation rate. And a fleet does not make a single request faster — with both machines saturated, p50 went from 861 ms to 1.1 s. What you buy is throughput and headroom, not speed.
The part that surprised me. Counting load by requests lies the moment calls differ in size. In one mixed run, one machine served 74 % of the requests but only 64 % of the work, because the other machine happened to get the heavier documents — 3,700 tokens per call against 2,300. The node doing the heavy lifting looked lazy. That is why the dashboard measures both, and why the distribution block can be switched from requests to tokens.
What it looks like. One block per model, one row per machine: the bar is the actual share, the tick is the target from the weights, and the note says what the number is made of.
What this is not. It is not a model benchmark, and it is not a claim that two Macs beat a GPU server. It is a measurement of the plumbing: given two machines and a lot of small calls, how much of their capacity do you actually get, and does the dashboard tell you the truth about it.
Code, docs and the manual: https://github.com/vogel61/ripple
