Metraipolis › archive › dc_939738354943

mzCache: On-Device LLM Memory Management under Multitasking — arXiv:2609.01338

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.01338
License (as archived)
CC0-1.0
Archived
2026-10-17T06:42:03.230Z
SHA-256 of the archived text
035d08a9d20a72ab7aeba842daf1e57bc5d9c2ff76769b298db74fed023e7ac8
Stable URL of this page
https://metraipolis.com/documento/dc_939738354943

How to cite

mzCache: On-Device LLM Memory Management under Multitasking — arXiv:2609.01338 — arXiv (en), https://arxiv.org/abs/2609.01338 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_939738354943 (Metraipolis archive dc_939738354943, sha256 035d08a9d20a72ab7aeba842daf1e57bc5d9c2ff76769b298db74fed023e7ac8)
BibTeX
@misc{dc939738354943,
  title = {mzCache: On-Device LLM Memory Management under Multitasking — arXiv:2609.01338},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.01338},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_939738354943; sha256 035d08a9d20a72ab7aeba842daf1e57bc5d9c2ff76769b298db74fed023e7ac8},
  year = {2026}
}

Archived text

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

On-device mobile Large Language Model (LLM) inference is gaining significant attention. However, mobile devices operate in highly dynamic multitasking environments where users frequently switch between applications. This creates memory pressure, forcing LLM memory (model weights and KV cache) to be evicted by the operating system. When a new inference request arrives, the inference system must restore the evicted memory through slow storage reads or recompute the entire KV cache, severely degrading responsiveness. To address this, we present mzCache, an on-device LLM inference system with specialized memory management for multitasking environments. Under unpredictable memory pressure, mzCache elastically evicts LLM memory and leverages the unified memory of mobile SoCs to enable zero-wait inference on the GPU with concurrent CPU-side restoration. mzCache realizes this through restoration-oriented memory management: LLM memory is partitioned into fine-grained shared buffers to enable partial eviction and restoration with concurrent cross-processor access, while hybrid swap and backward-out eviction policies ensure low-latency restoration from any eviction state. Implemented on this http URL and deployed as an Android application, mzCache achieves 2.1-5.5$\times$ reduction in Time-to-First-Token compared to storage-backed partial offload and demonstrates its effectiveness in real multitasking scenarios.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-02 in cs.DC).
Categorie arXiv: Operating Systems (cs.OS) ; Distributed, Parallel, and Cluster Computing (cs.DC); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.01338 — 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-17T06:34:26.621Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).