MiniMesh: Breaking Interconnect, DVFS, and Routing Walls for Distributed LLM Inference on Commodity Apple Silicon Clusters

Serving dense (27.48 GiB 8-bit 27B) and sparse Mixture-of-Experts (19.03 GiB 4-bit 35B-A3B) models interactively across 7x16 GiB Apple M4 Mac minis exposes three hardware and software walls that break datacenter parallelism: (1) a dual-speed Thunderbolt 4 (TB4) cliff, where macOS L3 forwarding collapses 11.01 Gbps 1-hop links 25.9x-59.1x to 424-186 Mbps -- slower than Gigabit Ethernet (915 Mbps); (2) an M4 two-stage GPU DVFS collapse after 6-7 ms of pipeline idleness (1,577 to 799 MHz at 7 ms in 100 ms telemetry; 2.26x-2.67x Stage-1, 5.39x at 850 ms), causing naive tensor parallelism to regress below pipeline parallelism (2.03 tok/s); and (3) an MoE prefill-to-decode routing shift, where prefill Top-16 experts capture only 28.6% $\pm$ 4.5% of decode dispatches per prompt (12.5% pooled across 40 public prompts) while Expert Parallelism inflates decode wire traffic 91.8x. We present MiniMesh, a distributed MLX runtime co-designed around these walls via a 100% 1-hop 1 Draft + (TP=2 x PP=3) dual-fabric ring, Single-Pass Snapshot Rollback (SSR) for $(K+1)$ speculative verification (0.15-0.64 ms/round zero-weight-read commit), and decode-only GPU keep-warm with conservative UMA admission control. Across 10 trials on 7 M4 nodes (orig-64), MiniMesh reaches 9.35 $\pm$ 0.11 tok/s on 27B q8 (2.64x over 5-trial stock mlx.distributed TB4; 41.6% lower GPU energy/tok than non-speculative TP under keep-warm) and 23.63 $\pm$ 0.24 tok/s on 35B-A3B (1.55x over unprofiled PP=7; 13.96x over EP=7) where stock mlx_lm fails disk admission. Across 40 public prompts (Pub40-128), MiniMesh averages 11.61 $\pm$ 3.41 tok/s on q8 (3.38x vs. PP=7) and 22.31 $\pm$ 5.66 tok/s on 35B-A3B (1.39x vs. unprofiled PP=7; 27.30 tok/s / 1.71x on HumanEval), preserving 100% within-topology bitwise parity and matched 7/10 HumanEval pass rates across PP=7 and TPxPP.

Authors

Publication Details

Journal
arXiv
Published
2026-12-02
DOI
https://doi.org/10.48550/arxiv.2612.03838
Primary Topic
Parallel Computing and Optimization Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

MiniMesh: Breaking Interconnect, DVFS, and Routing Walls for Distributed LLM Inference on Commodity Apple Silicon Clusters

Kenny Gao, YinChing Zhao, YangKuang Ou, Yuanjie Wu
arXiv
Parallel Computing and Optimization Techniques
preprint

MiniMesh: Breaking Interconnect, DVFS, and Routing Walls for Distributed LLM Inference on Commodity Apple Silicon Clusters

Kenny Gao, YinChing Zhao, YangKuang Ou, Yuanjie Wu
preprint en

Abstract

Serving dense (27.48 GiB 8-bit 27B) and sparse Mixture-of-Experts (19.03 GiB 4-bit 35B-A3B) models interactively across 7x16 GiB Apple M4 Mac minis exposes three hardware and software walls that break datacenter parallelism: (1) a dual-speed Thunderbolt 4 (TB4) cliff, where macOS L3 forwarding collapses 11.01 Gbps 1-hop links 25.9x-59.1x to 424-186 Mbps -- slower than Gigabit Ethernet (915 Mbps); (2) an M4 two-stage GPU DVFS collapse after 6-7 ms of pipeline idleness (1,577 to 799 MHz at 7 ms in 100 ms telemetry; 2.26x-2.67x Stage-1, 5.39x at 850 ms), causing naive tensor parallelism to regress below pipeline parallelism (2.03 tok/s); and (3) an MoE prefill-to-decode routing shift, where prefill Top-16 experts capture only 28.6% $\pm$ 4.5% of decode dispatches per prompt (12.5% pooled across 40 public prompts) while Expert Parallelism inflates decode wire traffic 91.8x. We present MiniMesh, a distributed MLX runtime co-designed around these walls via a 100% 1-hop 1 Draft + (TP=2 x PP=3) dual-fabric ring, Single-Pass Snapshot Rollback (SSR) for $(K+1)$ speculative verification (0.15-0.64 ms/round zero-weight-read commit), and decode-only GPU keep-warm with conservative UMA admission control. Across 10 trials on 7 M4 nodes (orig-64), MiniMesh reaches 9.35 $\pm$ 0.11 tok/s on 27B q8 (2.64x over 5-trial stock mlx.distributed TB4; 41.6% lower GPU energy/tok than non-speculative TP under keep-warm) and 23.63 $\pm$ 0.24 tok/s on 35B-A3B (1.55x over unprofiled PP=7; 13.96x over EP=7) where stock mlx_lm fails disk admission. Across 40 public prompts (Pub40-128), MiniMesh averages 11.61 $\pm$ 3.41 tok/s on q8 (3.38x vs. PP=7) and 22.31 $\pm$ 5.66 tok/s on 35B-A3B (1.39x vs. unprofiled PP=7; 27.30 tok/s / 1.71x on HumanEval), preserving 100% within-topology bitwise parity and matched 7/10 HumanEval pass rates across PP=7 and TPxPP.

arXiv
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon