Skip to content
Book Open access

DittoCache: From CPU-Orchestrated to GPU-Centric KVCache for Efficient LLM Decoding

Nov 2026 · Proceedings of the 2026 ACM SIGOPS Annual Technical Conference · 0 citations · 56 references

Abstract

To cope with the growing memory capacity and bandwidth demands of autoregressive decoding, LLM frameworks offload the KVCache to host memory and retrieve only top-k KV data to GPU HBM at each step. However, existing designs remain largely CPU driven, creating coupled tradeoffs among cache management overhead, GPU cache hit ratio, miss transfer cost, retrieval granularity, accuracy, and fragmented GPU execution precluding whole-step CUDA Graphs. We present DittoCache, a GPU-centric KVCache subsystem for efficient LLM decoding. DittoCache stores offloaded KV states at token granularity to preserve top-k sparse attention semantics, while managing the on-GPU cache at KV head granularity. It reuses cached top-k KV states across adjacent decoding steps using query similarity, lightweight GPU-side metadata, and head-specific policies that improve cache hit ratio without accuracy loss. For cache misses, DittoCache devises a multi-threaded transfer engine with CPU accessible GPU buffers to efficiently move token-level KV data over PCIe, and hides miss latency with layer wise prefetching. By moving cache management and transfer control to GPU, DittoCache enables whole step CUDA Graph execution and removes CPU-induced launch bubbles. DittoCache is implemented atop SGLang and open-sourced. Evaluated on Llama3 8B and Qwen2.5 14B across Hopper GPU with 800 TFLOPS and A40 GPUs, DittoCache achieves up to 2.87 × higher offline decoding throughput on Hopper GPU and 1.59 × on A40 over three KVCache subsystems. It supports 1M and 512K token decoding on Hopper GPU and A40, respectively, where all baselines fail. For online serving with high concurrency, Hopper GPU improves decoding throughput by up to 3.94 × over full attention.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.