Rimuru: Unified Memory Management for Modern LLM Serving via Elastic Expert Offloading
- 作者: Zhiyuan Fang, Dingyang Li, Jianfeng Zhong, Bin Wang, Weixi Zhu, Cunshu Ni, Zicong Hong, Wuhui Chen, Zibin Zheng
- 发布: 2026-10-29
- 原文: https://arxiv.org/abs/2610.40305
- 入库时间: 2026-10-31 (Asia/Shanghai)
- 来源: arxiv / paper
- 证据: opencli arxiv paper 2610.40305(2026-10-31 抓取,摘要全文见下)+ Obsidian 快照 OpenClaw定时任务/论文流水线/2026-10-31-论文流水线.md
Rimuru: Unified Memory Management for Modern LLM Serving via Elastic Expert Offloading
原文链接: https://arxiv.org/abs/2610.40305
Abstract (arXiv metadata, fetched 2026-10-31)
Modern LLMs strain device memory through large model weights and attention states, particularly in resource-constrained scenarios. Existing systems separately provision memory for model weights and attention states, imposing fixed fixed boundaries that cannot adapt to the changing memory demands of workloads. Under heavy workloads, insufficient state capacity limits request concurrency and reduces throughput; under light workloads, idle memory in one region cannot be reallocated to another, wasting device memory. Meanwhile, modern LLM architectures introduce heterogeneous tensors with diverse layouts and lifetimes, further complicating memory management. These problems motivate unified memory management for heterogeneous tensors. However, a shared pool alone does not make memory directly reusable across tensors with different allocation granularities and execution layouts. This paper presents Rimuru, a modern LLM serving system that unifies memory management through elastic expert offloading. Rimuru establishes a shared page pool to enables elastic memory sharing across heterogeneous tensors. To accommodate different allocation granularities, Rimuru introduces memory views that allow each tensor type to interpret the shared memory space using its own page size and page table. Furthermore, Rimuru combines huge-page alignment with a multi-level page allocator that splits and merges pages, enabling cross-type capacity reuse. A page-table-aware fused MoE kernel directly accesses non-contiguous expert weights, avoiding copy overhead. Building on these mechanisms, Rimuru employs a workload-aware adjuster that dynamically reallocates pages across tensor types according to runtime demands. Implemented on top of vLLM, Rimuru remains compatible with modern LLMs. Evaluations show that Rimuru achieves up to 19.03x baseline throughput and reduces TTFT by 98.1% on average.
arXiv 元数据
- Categories: cs.OS, cs.LG
- Submitted: 2026-10-29
Obsidian 证据摘录(论文流水线 2026-10-31)
Rimuru 建在 vLLM 上,用共享页池统一管理异构张量:memory views 让每种张量按自己的页大小和页表解释同一块内存,大页对齐加多级页分配器做拆分合并,页表感知的 fused MoE kernel 直接访问不连续的专家权重、省掉拷贝,负载感知调节器按运行时需求跨类型搬页。结果:相对基线最高 19.03 倍吞吐,TTFT 平均降 98.1%。固定分区换共享池加按类型视图的取舍与端侧受限内存管理同构。