PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 31, 2026Proceedings of the ACM on Measurement and Analysis of Computing Systems0 citations

UniCache: Unifying Prefix Cache Eviction for Heterogeneous LLM Serving Workloads

View Full Paper
BOBei OuyangYQYifan QiaoJXJiarong Xing

Key Points

  • This research aims to improve prefix cache eviction policies to optimize performance in heterogeneous workloads for LLM serving systems.
  • Designed a trace-driven prefix cache simulator based on vLLM
  • Characterized prefix reuse across different task types
  • Developed UniCache to balance cache allocation dynamically across tasks
  • UniCache improved prefix cache hit rates by 17.32%
  • Reduced inference latency by 3.63× compared to existing policies
  • Revealed dominant reuse patterns of session and structural reuse across workloads

Abstract

Prefix caching is a key performance optimization in Large Language Model (LLM) serving systems, enabling reuse of attention Key-Value (KV) states across requests with shared prompt prefixes. However, the size of GPU memory limits cache capacity, making the eviction policy a critical factor in overall system performance. Existing systems primarily rely on simple heuristics, such as LRU, and apply the same policy across task categories, implicitly assuming homogeneous workloads. In practice, however, modern LLMs serve heterogeneous workloads that mix multi-turn conversational traffic with diverse single-turn API requests, leading to fundamentally different prefix reuse patterns. In this work, we first design a trace-driven prefix cache simulator built on vLLM to systematically characterize prefix reuse across representative workloads. Our analysis reveals two dominant reuse patterns---session reuse and structural reuse---that vary significantly across task types. Motivated by these observations, we propose UniCache, a unified eviction policy that jointly captures both reuse patterns and dynamically balances cache allocation across tasks. When implemented in vLLM, UniCache achieves substantial improvements under heterogeneous workloads, improving prefix cache hit rates by up to 17.32% and reducing inference latency by up to 3.63× compared to existing policies.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Ouyang et al. (2026) studied this question.

synapsesocial.com/papers/6a1bd1db5783ba022b6fd3a7https://doi.org/10.1145/3805652
Ask AI
Helpful
Bookmark
Share
View Full Paper