PreprintCited by 40Parallel Computing and Optimization TechniquesCloud Computing and Resource ManagementAdvanced Database Systems and Queries

Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving

Open access
Qin, Ruoyu, Li, Zheming, He, Weiran, Zhang, Mingxing, Wu, Yongwei, Zheng, Weimin, Xu, Xinran·2024·arXiv

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.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2407.00079

Cites

7 of 7 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Qin, R., Li, Z., He, W., Zhang, M., Wu, Y., Zheng, W., & Xu, X.
Affiliations
  • Tsinghua University (CN)
  • Moonshot AI (China) (CN)
Venue
arXiv
Publisher
arXiv
Published
2024
Volume
22
Issue
4
Pages
1-38
ISSN
1553-3077 (ISSN-L)
OpenAlex
W4416249188
Cited by
34
References
7
Citations by year
2026: 17 · 2025: 16 · 2024: 1
FWCI
22.72
Type
journal article
Language
en
Open access
Locations
  • ACM Transactions on Storage (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • Tsinghua University
  • Beijing National Research Center For Information Science And Technology
Topics
  • Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
  • Physical Sciences › Computer Science › Information Systems › Cloud Computing and Resource Management
  • Physical Sciences › Computer Science › Computer Networks and Communications › Advanced Database Systems and Queries
Keywords
large language model inference, request scheduling, service level objectives, long-context inference, throughput and latency

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review