paper

PEEK: Predictive Queue-Informed KV Cache Management for LLM Serving

arXiv:2607.02525

Abstract

We present PEEK, a lightweight scheduling and eviction framework for both online (streaming) and offline (batch) LLM serving; this paper focuses on the online regime. PEEK maintains an incremental radix tree over the pending queue, exposing prefix-sharing clusters no existing engine surfaces. A low-overhead dual-walk matches the tree against the engine's prefix cache to yield longest-prefix-match for every waiting request; PEEK then admits cluster pioneers first so siblings inherit the freshly cached prefix, a co-designed eviction hook protects blocks ancestral to queued demand, and a multi-lane stride scheduler bounds starvation. On SGLang and vLLM across five workloads up to 4H100 (DP=2 over TP=2), PEEK delivers up to 3.0/2.6 cache hit, 7.9/7.1 TTFT, 6.7/5.5 E2E, and 3.6/4.5 throughput gains over each engine's strongest stock baseline (SGLang/vLLM), while matching baselines within noise on workloads with no exploitable prefix structure. Wins hold as KV-cache pressure and inference parallelism scale.

26 pages, 21 figures, 21 tables. Preprint, under review

PEEK: Predictive Queue-Informed KV Cache Management for LLM Serving · wovepaper