Reproduce “SARIA: Persistence-Aware KV Caching with Coordinated DRAM--SSD Reload for LLM Agents” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Hui Li, Qihui Zhou, Xiao Yan, Shumeng Zhang, Zijie Dai, Zequn Gong, Mingcong Song, Guoping Long and 2 more
SARIA selectively persists KV cache blocks to reduce SSD writes while retaining useful DRAM hits. It uses repeated DRAM evictions and reuse to identify blocks whose reuse may outlast DRAM residency, then promotes selected SSD hits and coordinates transfers. On TraceLab with Qwen3.5-9B, E5 meets the assumed 12-hour SSD write budget and cuts mean and P90 TTFT by 66.5% and 63.7% versus DRAM-only caching.
Key insights
- A block’s eviction and reuse history can indicate whether its future reuse is likely to outlast its DRAM residency, helping avoid writes that do not lead to SSD reads.
- Selective promotion can reduce repeated SSD traffic, but promoting more data is not always faster because it competes with other sessions for DRAM.
- Transfer coordination depends on the relative bandwidth of the paths: it improved completion time in the reported single-SSD cases but slowed a two-SSD striped case.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.