HAServe: Horizon-Aware Scheduling and Memory Co-Design for Efficient LLM Serving

Xingyu Qu, Tianhao Lin, Yiqi Li, Zhiyu Chen, Sheng Wang
5/9/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Online large language model (LLM) services process requests that share context but differ in prefix structure and arrival timing. Finite capacity couples request admission and key-value (KV) retention.

Show full abstract

This paper addresses one online serving problem: using a unified view of visible demand to choose the feasible joint admission and KV-retention candidate with the lowest predicted latency cost as prefix structures and arrival rates vary. To model this problem, we introduce HorizonSchema, a workload abstraction that connects exact prefix paths, permitted serializations, and released consumers as shared inputs to both decisions. Our analysis shows that useful reuse depends on demand and prefix survival, while service order changes latency even at equal computation. Furthermore, we present HAServe, which turns this abstraction into a scheduling--memory co-design method of systematic optimization for online LLM serving. We implement HAServe on SGLang and evaluate Qwen3-4B-Instruct-2507 and Llama2-13B on five workloads using eight H100 GPUs. Across the evaluated workloads, HAServe achieves up to $1.14$--$5.90\times$ P99 TTFT speedups and up to $1.08$--$1.44\times$ the throughput, with KV-cache hit rate up to 20.59 percentage points higher than the strongest baseline for each metric and setting.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qu2026haserve,
  title  = {HAServe: Horizon-Aware Scheduling and Memory Co-Design for Efficient LLM Serving},
  author = {Xingyu Qu and Tianhao Lin and Yiqi Li and Zhiyu Chen and Sheng Wang},
  year   = {2026},
  eprint = {2605.08581},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.08581v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.08581.svg)](https://codeofpaper.com/paper/2605.08581)

Discussion