MIRAGE: KV Cache Optimization through Parameter Remapping for Multi-tenant LLM Serving
Authors:
- Prasoon SinhaPSPrasoon Sinha
Preprint
Abstract
KV cache accelerates LLM inference by avoiding redundant computation, at the expense of memory. To support larger KV caches, prior work extends GPU memory with CPU memory via CPU-offloading. This involves swapping KV cache between GPU and CPU memory. However, because the cache updates dynamically, such swapping incurs high CPU memory traffic. We make a key observation that model parameters remain constant during runtime, unlike the dynamically updated KV cache. Building on this, we introduce MIRAGE, which avoids KV cache swapping by remapping, and thereby repurposing, the memory allocated to model parameters for KV cache. This parameter remapping is especially beneficial in multi-tenant environments, where the memory used for the parameters of the inactive models can be more aggressively reclaimed. Exploiting the high CPU-GPU bandwidth offered by the modern hardware, such as the NVIDIA Grace Hopper Superchip, we show that MIRAGE significantly outperforms state-of-the-art solutions, achieving a reduction of 44.8%-82.5% in tail time-between-token latency, 20.7%-99.3% in tail time-to-first-token latency, and 6.6%-86.7% higher throughput compared to vLLM.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- The Cost of Dynamic Reasoning: Demystifying AI Agents and Test-Time Scaling from an AI Infrastructure Perspective2026
- A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and TrustworthinessACM Transactions on Intelligent Systems and Technology, 2025
- POD-A ttention : Unlocking Full Prefill-Decode Overlap for Faster LLM Inference2025
- DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiency2025
- PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPU2024
- A survey on LLM-based multi-agent systems: workflow, infrastructure, and challengesVicinagearth, 2024
- iGniter: Interference-Aware GPU Resource Provisioning for Predictable DNN Inference in the CloudIEEE Transactions on Parallel and Distributed Systems, 2022
- DeepSpeed2020
- Amdahl's law for tail latencyCommunications of the ACM, 2018
- Leveraging Power-Performance Relationship of Energy-Efficient Modern DRAM DevicesIEEE Access, 2018