Metraipolis › archive › dc_1f9f3844d31d

FlatCake: A Flat KVCache Storage Architecture for LLM Serving — arXiv:2610.38355

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.38355
License (as archived)
CC0-1.0
Archived
2026-10-31T06:19:29.234Z
SHA-256 of the archived text
06677b4550be0f3ba5858919f67798d7da25d026f6e5f702cefb26eff2f73104
Stable URL of this page
https://metraipolis.com/documento/dc_1f9f3844d31d

How to cite

FlatCake: A Flat KVCache Storage Architecture for LLM Serving — arXiv:2610.38355 — arXiv (en), https://arxiv.org/abs/2610.38355 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1f9f3844d31d (Metraipolis archive dc_1f9f3844d31d, sha256 06677b4550be0f3ba5858919f67798d7da25d026f6e5f702cefb26eff2f73104)
BibTeX
@misc{dc1f9f3844d31d,
  title = {FlatCake: A Flat KVCache Storage Architecture for LLM Serving — arXiv:2610.38355},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.38355},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1f9f3844d31d; sha256 06677b4550be0f3ba5858919f67798d7da25d026f6e5f702cefb26eff2f73104},
  year = {2026}
}

Archived text

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

KV cache reuse accelerates LLM serving, but existing systems manage host DRAM and NVMe SSD as a tiered hierarchy where DRAM acts as an intermediate cache. Production LLM workloads break both premises of this hierarchy. First, bimodal reuse defeats DRAM temporal filtering, since workloads are dominated either by one-shot blocks with long reuse distances or by multi-gigabyte agentic sessions that exceed DRAM capacity, putting SSD on the critical read path. Second, DRAM staging and eviction-ordered layout bottleneck SSD restoration. Holding host staging buffers for in-flight prefixes causes contention under load that aborts prefetches, while incremental eviction scatters a session's blocks across the SSD and prevents large sequential reads. We present FlatCake, a flat KV storage architecture that exposes host DRAM and NVMe SSD as peer media in a unified 64-bit address space. Exploiting the fact that KV blocks are write-once, immutable, and reused at session scope, FlatCake places each block directly onto its target medium in session-contiguous, layer-major order at creation time and never migrates it. FlatCake streams coalesced SSD reads directly into a bounded GPU window via GPUDirect Storage and decouples DRAM and SSD request queues to prevent head-of-line blocking. On a production Claude Code trace with DeepSeek-V4-Flash, FlatCake sustains a 94% cache hit rate as load increases (versus 64% for Mooncake), eliminates Mooncake's $6.5\times$--$6.7\times$ SSD read amplification, and reduces peak-load mean TTFT by $1.6\times$ while improving total token throughput by $1.6\times$. Across 8K--128K contexts on Llama-3.1-70B, FlatCake further reduces mean TTFT by up to $2.4\times$ over Mooncake and $1.8\times$ over Mooncake-GDS.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno).
Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC) ; Operating Systems (cs.OS).
Pagina del lavoro: https://arxiv.org/abs/2610.38355 — 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-31T06:07:53.369Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).