paper-with-me

홈 › Papers

Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving

2024-06-24 · Ruoyu Qin, Zheming Li, Weiran He, Mingxing Zhang, Yongwei Wu, Weimin Zheng, Xinran Xu

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.

📄 PDF Abstract BibTeX arXiv:2407.00079

Code (1)

kvcache-ai/Mooncake 공식 구현 pytorch

Tasks

CPUGPU

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음
Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
1x1 Convolution A 1 x 1 Convolution is a convolution with some special properties in that it can be used for dimensionality reduction,…
Non Maximum Suppression Non Maximum Suppression is a computer vision method that selects a single entity out of many overlapping entities (for example bounding boxes in object detection). The…
SSD SSD is a single-stage object detection method that discretizes the output space of bounding boxes into a set of default boxes over different aspect ratios and scales per…

Similar Papers 제목 키워드 기반

Beluga: A CXL-Based Memory Architecture for Scalable and Efficient LLM KVCache Management

2025-11-25 · Xinjun Yang, Qingda Hu, Junru Li, Feifei Li 외 arxiv

The rapid increase in LLM model sizes and the growing demand for long-context inference have made memory a critical bottleneck in GPU-accelerated serving systems. Although high-bandwidth memory (HBM) on GPUs offers fast …

KunServe: Efficient Parameter-centric Memory Management for LLM Serving

2024-12-24 · Rongxin Cheng, Yuxin Lai, Xingda Wei, Rong Chen 외

Serving LLMs with a cluster of GPUs is common nowadays, where the serving system must meet strict latency SLOs required by applications. However, the stateful nature of LLM serving requires maintaining huge states (i.e.,…

GPULanguage ModelingLanguage ModellingLarge Language Model+1

P/D-Serve: Serving Disaggregated Large Language Model at Scale

2024-08-15 · Yibo Jin, Tao Wang, Huimin Lin, Mingyang Song 외

Serving disaggregated large language models (LLMs) over tens of thousands of xPU devices (GPUs or NPUs) with reliable performance faces multiple challenges. 1) Ignoring the diversity (various prefixes and tidal requests)…

Language ModelingLanguage ModellingLarge Language Model

NetKV: Network-Aware Decode Instance Selection for Disaggregated LLM Inference

2026-06-02 · Mubarak Adetunji Ojewale arxiv

Disaggregated LLM inference forces the KV cache to traverse the datacenter network before decoding begins, so transfer time enters directly into the Time to First Token (TTFT) budget. Current schedulers route on compute …

LiteCache: A Query Similarity-Driven, GPU-Centric KVCache Subsystem for Efficient LLM Inference

2025-11-18 · Jiawei Yi, Ping Gong, Youhui Bai, Zewen Jin 외 arxiv

During LLM inference, KVCache memory usage grows linearly with sequence length and batch size and often exceeds GPU capacity. Recent proposals offload KV states to host memory and reduce transfers using top-k attention. …