Skip to main content
Press Enter to search · Advanced search
Computer Science > Distributed, Parallel, and Cluster Computing
arXiv:2407.00079 (cs)
[Submitted on 24 Jun 2024 (v1), last revised 8 Oct 2026 (this version, v5)]
Title:Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving
Authors:Ruoyu Qin, Zheming Li, Weiran He, Mingxing Zhang, Yongwei Wu, Weimin Zheng, Xinran Xu
View a PDF of the paper titled Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving, by Ruoyu Qin and 6 other authors
HTML (experimental)
Abstract:Mooncake is the serving platform for Kimi, a leading LLM service provided by Moonshot AI. It features a KVCache-centric disaggregated architecture that separates the prefill and decoding clusters. It also leverages the underutilized CPU, DRAM, and SSD resources of the GPU cluster to implement a disaggregated cache of KVCache. The core of Mooncake is its KVCache-centric scheduler, which balances maximizing overall effective throughput while meeting latency-related Service Level Objectives (SLOs). Unlike traditional studies that assume all requests will be processed, Mooncake faces challenges due to highly overloaded scenarios. To mitigate these, we developed a prediction-based early rejection policy. Experiments show that Mooncake excels in long-context scenarios. Compared to the baseline method, Mooncake can achieve up to a 525% increase in throughput in certain simulated scenarios while adhering to SLOs. Under real workloads, Mooncake's innovative architecture enables Kimi to handle 75% more requests.
23 pages, 13 figures
Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI); Hardware Architecture (cs.AR)
arXiv:2407.00079 [cs.DC]
arXiv:2407.00079v5 [cs.DC] for this version)
https://doi.org/10.48550/arXiv.2407.00079
Focus to learn more
arXiv-issued DOI via DataCite
Submission history
From: Ruoyu Qin [view email] [v1]
Mon, 24 Jun 2024 02:05:32 UTC (264 KB)
Tue, 2 Jul 2024 02:49:35 UTC (264 KB)
Tue, 9 Jul 2024 04:03:10 UTC (280 KB)
Wed, 3 Sep 2025 14:56:29 UTC (245 KB)
Thu, 8 Oct 2026 10:55:46 UTC (238 KB)
Full-text links:
Access Paper:
view license
Additional Features
Audio Summary
Current browse context:
Change to browse by:
References & Citations
Google Scholar
Semantic Scholar
export BibTeX citation
BibTeX formatted citation
Data provided by:
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Which authors of this paper are endorsers? |
Disable MathJax (What is MathJax?)