SiliconBench:统一内存桌面端LLM服务的速度、内存与保真度
研究论文 · 2026/09/22
在统一内存桌面上并发运行本地LLM服务时,必须保留内存余量并保持输出保真度,而仅关注速度的排名会忽略这些方面。我们提出SiliconBench,从速度、内存和保真度三个维度评估九种Apple Silicon服务引擎。我们在Qwen3、Qwen3.5和Gemma 4上评估聊天和代理服务,使用分类任务对照NVIDIA参考检查质量回归,并以DGX Spark作为补充的服务性能参考。三个期望指导解读:服务架构就绪度、内存纪律和多节点扩展。在Qwen3-0.6B上,仅vllm-metal在两种工作负载下从并发1到16时吞吐量翻倍以上。CUDA vLLM和SGLang在相同提示上表现出更强的并发扩展性。显式内存预算并不保证内存余量:两个栈完成所有请求,但内存使用接近物理容量且吞吐量下降。较新的模型架构引擎支持更窄,其评估实现与保真度参考匹配。只有三个栈满足完成、保真度和模型覆盖的门槛。在更大的密集和MoE模型上的比较强化了在持续生成的同时调度提示处理的重要性:vllm-metal的打包预填充-解码路径在并发负载下保持比omlx更低的首令牌延迟。在测试的双机配置中,基于Thunderbolt RDMA的张量并行可扩展,而基于TCP的流水线并行则出现回退。我们发布基准代码、每次运行结果和维护日志,并辅以结合有界代理修复与人工审查的工作流程。
该研究填补了统一内存桌面上LLM服务评估的空白,强调速度之外的记忆和保真度,为本地部署提供实用指导,并公开代码和结果促进可复现性。
Concurrent local LLM serving on unified-memory desktops must preserve memory headroom and output fidelity, which speed-only rankings overlook. We introduce SiliconBench, which evaluates nine Apple Silicon serving engines through three lenses: speed, memory, and fidelity. We evaluate chat and agent serving on Qwen3, Qwen3.5, and Gemma 4. We use a classification task to check for quality regressions against an NVIDIA reference. DGX Spark provides a complementary serving-performance reference. Three desiderata guide interpretation: serving architecture readiness, memory discipline, and multi-node scaling. On Qwen3-0.6B, vllm-metal alone more than doubles throughput on both workloads from concurrency 1 to 16. CUDA vLLM and SGLang show stronger concurrency scaling on the same prompts. Explicit memory budgets do not guarantee memory headroom: two stacks complete every request while memory use approaches physical capacity and throughput declines. The newer model architectures have narrower engine support. Their evaluated implementations match the fidelity reference. Only three stacks satisfy the completion, fidelity, and model-coverage gates. Comparisons on larger dense and MoE models reinforce the importance of scheduling prompt processing alongside ongoing generation: vllm-metal's packed prefill-decode path maintains lower first-token latency than omlx under concurrent load. In the tested two-machine configurations, tensor parallelism over Thunderbolt RDMA scales while pipeline parallelism over TCP regresses. We release benchmark code, per-run results, and maintenance journals, supported by a workflow combining bounded agent fixes with human review.