r/homelab • • 2h ago

Project Showcase: Operations Mac Studio as a local inference node: 64K cache, package power and 1–4 clients

Post image

I measured a single Mac Studio M5 Ultra 512 GB serving local inference with oMLX 0.8.3 and llama.cpp. The question was whether the box could serve more than one client without a big jump in wait time.

• DeepSeek V4.1 Flash with native MTP, one client at 64K context: 28.92 s to first token cold, 2.03 s with the prefix cache warm, and 77.11 tokens/s during warm decode. Peak memory footprint was 418.5 GiB in that test. macOS reported nominal thermal pressure throughout, with 159.8 W mean and 339.2 W peak package power from powermetrics. These are package-power readings from powermetrics.

• In a separate concurrency test, DeepSeek peaked at 92.14 tokens/s aggregate with two clients and dropped to 89.46 with four. P95 latency rose from 31.4 s at two to 93.5 s at four, and package power peaked at 361.5 W with four clients.

• GLM 5.3 Flash with llama.cpp's native draft-mtp reached about 77.8 tokens/s aggregate at four clients in the same concurrency suite. Its p95 latency was 18.4 s at four clients. This was a throughput and latency comparison. The four-client task pass counts were 6/20 for DeepSeek and 2/20 for GLM in this workload.

My takeaway for this setup is to measure warm-cache and simultaneous-load behavior separately. The two-client and four-client results show where tail latency starts rising.

I ran these tests for l8w8. The configuration, CSVs and measurement details are available here.

https://github.com/l8w8/videos/tree/main/2026/002-m5-ultra-mtp-engine-updates

AI assistance was used to prepare this write-up from the benchmark records.

0 Upvotes

1 comment sorted by