# Rethinking KV Cache Eviction for Agentic LLM Serving

DevFeed: [Rethinking KV Cache Eviction for Agentic LLM Serving](<https://devfeed.tech/articles/rethinking-kv-cache-eviction-for-agentic-llm-serving-113775.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.00391>)

Author: Jiakun Fan, Han Meng, Yuxuan Xia, Hao Mark Chen, Dong Li, Dimitrios S. Nikolopoulos

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [sglang](<https://devfeed.tech/topics/sglang.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [attention](<https://devfeed.tech/tags/attention.md>), [cache](<https://devfeed.tech/tags/cache.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cpu-cache](<https://devfeed.tech/tags/cpu-cache.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [history](<https://devfeed.tech/tags/history.md>), [job](<https://devfeed.tech/tags/job.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-serving](<https://devfeed.tech/tags/llm-serving.md>), [management](<https://devfeed.tech/tags/management.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-pressure](<https://devfeed.tech/tags/memory-pressure.md>), [model](<https://devfeed.tech/tags/model.md>), [serving](<https://devfeed.tech/tags/serving.md>)

## AI overview

Penelope targets agent workloads that reuse long histories across turns. It preserves shared prefixes, evicts KV cache from the start of the remaining history while retaining the suffix, and recomputes only missing segments for returning requests. Built into SGLang, it co-designs eviction, recomputation, and GPU-CPU cache management. On real agent traces across three Qwen3 sizes, it reduced mean time to first token and job completion time versus SGLang by up to 60% and 37% with GPU-only caching, and up to 76% and 60% with a two-tier GPU-CPU cache.

## Source excerpt

arXiv:2611.00391v1 Announce Type: new Abstract: Key-value (KV) caches impose substantial memory pressure on large language model serving systems, requiring cache eviction when capacity is insufficient. Existing mechanisms typically evict KV from the ends of cached sequences to preserve prefix sharing across requests. However, agent workloads repeatedly reuse long histories across successive turns. Recomputing the KV cache for tokens near the end of a sequence is substantially more expensive than for earlier tokens because their attention computation involves longer histories. To address this problem, we propose preserving shared prefixes and evicting the KV cache from the beginning of the remaining history while retaining the cached suffix. We build Penelope around this strategy by co-designing the eviction policy, KV recomputation, and unified GPU-CPU cache management. Returning requests reuse the KV cache retained in GPU or CPU memory and recompute only missing segments while preserving reuse of the cached suffix. We implement Penelope in SGLang and evaluate it on three Qwen3 model sizes using real agent traces. Compared with SGLang, Penelope reduces mean time to first token by up to 60% and job completion time by up to 37% with a GPU-only cache, and by up to 76% and 60% with a two-tier GPU-CPU cache.