Metraipolis › archive › dc_b50722f1a410

A Tight Linear Deterministic Competitive Ratio for Fully Online KV-Cache Scheduling — arXiv:2608.16944

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.16944
License (as archived)
CC0-1.0
Archived
2026-10-18T15:33:27.674Z
SHA-256 of the archived text
c2d99ea3b7e5e74bc4be20803d314527756a70b87e23142dbe97f21991598c6d
Stable URL of this page
https://metraipolis.com/documento/dc_b50722f1a410

How to cite

A Tight Linear Deterministic Competitive Ratio for Fully Online KV-Cache Scheduling — arXiv:2608.16944 — arXiv (en), https://arxiv.org/abs/2608.16944 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b50722f1a410 (Metraipolis archive dc_b50722f1a410, sha256 c2d99ea3b7e5e74bc4be20803d314527756a70b87e23142dbe97f21991598c6d)
BibTeX
@misc{dcb50722f1a410,
  title = {A Tight Linear Deterministic Competitive Ratio for Fully Online KV-Cache Scheduling — arXiv:2608.16944},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.16944},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b50722f1a410; sha256 c2d99ea3b7e5e74bc4be20803d314527756a70b87e23142dbe97f21991598c6d},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.16944. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Jaillet et al. introduced a fully online model for batching nonpreemptive LLM requests under a growing KV-cache memory constraint. For total end-to-end latency they proved that every deterministic algorithm has competitive ratio Omega(sqrt(n)), while the elementary sequential upper bound is n. We close this gap. Let R_det(n,M) be the optimal deterministic ratio for exactly n requests at memory M, and let R_det(n)=sup_M R_det(n,M). For every n >= 2 we prove (n-1)/12 <= R_det(n) <= n, so R_det(n)=Theta(n). The lower bound releases one memory-filling long request, observes its deterministic start time, and then releases n-1 wide one-token requests halfway through the long run. No short request can overlap the long one, whereas a hindsight schedule runs the two groups in the opposite order when useful. The hard instance uses the explicit fixed memory M=2(n-1)n. The upper bound is achieved by a uniform causal serial policy. The exact model, causality argument, both comparator branches, and quantifier order are machine-checked in Lean 4. Exact finite controls and replay commands accompany the proof.

Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-08-19 in cs.DS).
Categorie arXiv: Data Structures and Algorithms (cs.DS).
Pagina del lavoro: https://arxiv.org/abs/2608.16944 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T15:28:41.538Z dalla pagina https://arxiv.org/catchup/cs.DS/2026-08-19?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).