NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mell: Memory-Efficient Large Language Model Serving via Multi-GPU KV Cache Management

Qianli Liu, Zicong Hong, Peng Li, Fahao Chen, Song GuoINFOCOM 2025

Introduction

Large Language Model (LLM) serving has become a critical infrastructure challenge. As models grow and user bases expand, the efficiency of hardware utilization directly impacts service scalability and cost. This paper introduces MELL, a system designed to optimize multi-GPU LLM serving by treating GPU memory as a dynamic, migratable resource. By intelligently managing the "KV cache"—the transient memory of active conversations—MELL significantly reduces hardware requirements and boosts utilization.

The Memory Bottleneck in LLM Serving

A primary challenge in LLM inference is the memory-bound nature of the decoding phase. When a user interacts with a model, the system must store the "Key-Value (KV) cache," which contains the intermediate states of the entire conversation history. Unlike static model weights, the KV cache grows linearly with the length of the generated response and the number of concurrent users.

Memory consumption breakdown, highlighting the linear growth of the KV cache during decoding.

As shown in Figure 2, while model weights and other overheads remain constant, the KV cache quickly becomes the dominant consumer of GPU memory. This leads to fragmentation and imbalance: one GPU may be memory-exhausted by a few long-context users while its compute units remain underutilized, while another GPU sits idle. Existing solutions often resort to accuracy-reducing compression or slow CPU offloading. MELL proposes a more efficient alternative: migrating the KV cache to less-loaded GPUs.

System Architecture: Adaptive Migration and Scheduling

MELL's architecture revolves around two core phases of LLM inference: the Prefill Phase, where the initial prompt is processed, and the Decoding Phase, where tokens are generated one by one.

The two-phase lifecycle of LLM inference: Prefill and Decoding.

To enable efficient multi-GPU management, MELL implements three key innovations:

  1. Adaptive Request Migration: Moving data between GPUs is costly. MELL dynamically selects between KV Cache Transfer (moving the memory state over the network) and Token Re-prefill (re-calculating the cache at the destination). The choice is based on "boundary profiling," which identifies whether the system is currently limited by network bandwidth or GPU computation.
  2. Online KV Cache Scheduler: Because response lengths are unpredictable, MELL treats scheduling as a dynamic bin-packing problem. It categorizes requests by size and employs a priority-aware algorithm. The authors demonstrate that this scheduler achieves a competitive ratio of 4/3, performing remarkably close to an offline optimal scheduler.
  3. Operation Batching: To avoid "thrashing"—the inefficient back-and-forth movement of requests—MELL batches allocation and migration operations into epochs, optimizing the execution sequence.

Evaluation and Key Insights

The system was evaluated using real-world datasets, including LMSYS-Chat-1M and WildChat, on clusters ranging from NVIDIA A100s to RTX 4090s.

A key insight driving MELL's design is the "Unpredictability Trap." Analysis of user traces revealed that response lengths vary wildly even for similar prompts, making static scheduling ineffective. By reacting dynamically to cache growth through migration, MELL acts as a "safety valve," allowing the system to handle up to 60% more simultaneous users in preliminary tests.

In production-scale simulations using Azure traces, MELL reduced the number of required GPUs by 9% to 31% compared to standard heuristics like Best-Fit. Furthermore, GPU memory utilization saw an increase of 10% to 43%, effectively minimizing "dark silicon" in the data center.

Conclusion

MELL demonstrates that intelligent, cross-GPU memory management is a viable path toward more efficient LLM serving. By decoupling the KV cache from specific hardware units and enabling low-overhead migration, the system maximizes the utility of existing GPU clusters. Future work will focus on extending these techniques to massive models that require model parallelism across multiple GPUs.

Summary updated

BibTeX
@inproceedings{liu2025mell,
  author = {Qianli Liu and Zicong Hong and Peng Li and Fahao Chen and Song Guo},
  title = {{Mell: Memory-Efficient Large Language Model Serving via Multi-GPU KV Cache Management}},
  booktitle = {INFOCOM},
  year = {2025},
}
Figure