CLO: Efficient LLM Inference System with CPU-Light KVCache Offloading via Algorithm-System Co-Design

Jiawei Yi, Ping Gong, Youhui Bai, Jiaqi Ruan, Shengnan Wang +6 more
11/18/2025
cs.LG

Official code: CommediaJW/CLO (6 stars, last commit 2025-11-17).

Abstract

The growth of million-token LLMs exposes the scalability limits of inference systems, where the KVCache dominates memory usage and data transfer overhead. Recent offloading systems migrate the KVCache to CPU memory and incorporate top-k attention to reduce the volume of data transferred from the CPU, while further applying system-level optimizations such as on-GPU caching and prefetching to lower transfer overhead. However, they overlook the CPU bottleneck in three aspects: (1) substantial overhead of fine-grained dynamic cache management performed on the CPU side, (2) significant transfer overhead from poor PCIe bandwidth utilization caused by heavy gathering operations at the CPU side, and (3) GPU runtime bubbles introduced by coarse-grained CPU-centric synchronization. To address these challenges, we propose CLO, a CPU-light KVCache offloading system via algorithm-system co-design. CLO features: (1) a coarse-grained head-wise approximate on-GPU caching strategy with negligible cache management cost, (2) seamless combination of data prefetching and on-GPU persistent caching for lower transfer overhead, (3) a zero-copy transfer engine to fully exploit PCIe bandwidth, and a GPU-centric synchronization method to eliminate GPU stalls. Evaluation on two widely-used LLMs demonstrates that CLO achieves comparable accuracy to state-of-the-art systems, while substantially minimizing CPU overhead, fully utilizing PCIe bandwidth, thus improving decoding throughput by 9.3%-66.6%. Our results highlight that algorithm-system co-design is essential for memory-constrained LLM inference on modern GPU platforms. We open source CLO at https://github.com/CommediaJW/CLO.

View on arXivView PDF

Code Implementations(1)

CommediaJW/CLOOfficial100%
60C++, CudaNov 17, 202511 months ago

Similar Papers

Cite this paper

@article{yi2025clo,
  title  = {CLO: Efficient LLM Inference System with CPU-Light KVCache Offloading via Algorithm-System Co-Design},
  author = {Jiawei Yi and Ping Gong and Youhui Bai and Jiaqi Ruan and Shengnan Wang and Pengcheng Wang and Haibo Wang and Weiguang Wang and Xia Zhu and Feng Wu and Cheng Li},
  year   = {2025},
  eprint = {2511.14510},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.14510v1}
}

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/2511.14510.svg)](https://codeofpaper.com/paper/2511.14510)

Discussion