TL;DR
Large language model (LLM) serving systems cache key-value pairs to avoid recomputing shared request prefixes, but this cache often exceeds GPU and local memory capacity, forcing expensive remote storage. ObjectCache stores KV cache in S3-compatible object storage while minimizing latency by scheduling data delivery to match GPU consumption order.
✦ Why It Matters
Engineers can reduce LLM serving infrastructure costs by shifting KV cache to object storage without sacrificing latency-critical first-token performance.
Key Takeaways
Full Summary
LLM inference systems use prefix KV caching—storing precomputed key-value tensors from shared input prefixes (like system prompts)—to reduce time-to-first-token (TTFT, the latency before generating the first output token). However, accumulated cache often exceeds GPU memory and local DRAM capacity, forcing systems to store it in remote DRAM pools, which increases cluster size and operational cost.
ObjectCache proposes storing KV cache in S3-compatible object storage (like Ceph or DAOS), eliminating capacity constraints. The key innovation is co-designing the storage protocol and transfer scheduler so data arrives in the order the GPU consumes it, overlapping network transfer with GPU computation across concurrent requests.
Prototyped on a 100 Gbps RoCE cluster with NIXL inference library, Ceph RGW, and DAOS, ObjectCache achieves 5.6% latency overhead for 64K-token contexts and 1.2–1.8x better TTFT under bandwidth constraints compared to equal sharing.
Related