WAKMan: Workload Aware KVCache Manager
Suhas Kumar Morisetty, Vaibhavi Lokegaonkar, Sachin Mathew Varghese, Wesley Harris
Key points
From the paper's conclusion- We present WAKMan, a workload-aware KV cache manager that picks its eviction policy from live traffic without knowing request types or reading prompts.
Abstract
Prefix caching enables a Large Language Model (LLM) servers to reuse the Key-Value (KV) states and accelerate prefill computation stage for requests that share a prefix with earlier prompts, thus reducing latency and serving cost. With limited memory resource, the KV cache eviction policy becomes a decisive factor in determining the overall benefits of prefix caching. Production traffic may have single-turn, multi-turn, agentic, or a mixture of any combination of these request types. Our findings indicate that agentic steps return within seconds and favor recency, while popular prompts and long conversations return after many other requests and favor frequency. Across 20 mixes, no single policy is always best: vLLM's default strategy LRU provides 12% higher cache hits as compared to the frequency-oriented S3FIFO on agentic-heavy mixes but trails it by up to 22% elsewhere, and even a single workload parameter can flip the winner even for any particular mix. We present WAKMan, a workload-aware KV cache manager that picks its eviction policy from live traffic without knowing request types or reading prompts. It improves hit rate over LRU by 5 percentage points on average, with the lowest mean and worst-case optimality gap of all policies.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The KV Cache Working Set: Online Capacity Planning for LLM Inference SystemsarXiv · 2026
- The Storage View Of KV Cache: Characterizing Cache Behavior Across LLM WorkloadsarXiv · 2026
- KV-Repurpose: A Testbed for Evaluating Non-Prefix KV-Cache ReusearXiv · 2026
- Intent-Aware Caching for Efficient LLM ServingarXiv · 2026
- TripleKV: Predict, Prefetch, Protect -- KV Cache Management for AI AgentsarXiv · 2026
- Rethinking KV Cache Eviction for Agentic LLM ServingarXiv · 2026