Pipelined KV Cache Migration for Disaggregated LLM Serving on Heterogeneous Edge-Cloud Testbeds
Bo Zhang, Sirui Wang, Chuan He, Yuruo Gong · 2026 · 7 citationsRead the paper
Serving large language models (LLMs) across edgecloud deployments forces a tension between strict latency service-level objectives (SLOs) and the scarce, heterogeneous hardware available outside the datacenter. When the compute-heavy prefill phase and the memory-bound decode phase are split across nodes to avoid mutual interference, the migration of the key-value (KV) cache over a constrained edge-cloud link becomes the dominant bottleneck, an effect that prior datacenter-oriented disaggregation systems largely ignore. We build PiKV-Serve, a working edge-cloud serving system whose central mechanism is a pipelined KV cache migration protocol that streams cache tensors layer by layer and overlaps their transfer with the start of decode, so that the link cost is hidden rather than merely accounted for. A lightweight placement controller, driven by measured per-node prefill and decode profiles, GPU memory headroom, and observed link bandwidth, decides where each prefill and decode task runs. On a physical four-node cluster pairing A100 cloud GPUs with consumer RTX edge GPUs, and replaying real conversational traces with Llama-2-7B and Qwen-7B, PiKV-Serve raises sustained throughput by up to$\mathbf{1. 3 4} \times$and cuts the SLO violation rate by 40-53% against Cloud-Only and vLLM-Default baselines under moderate-to-high load, with the pipelined migration alone accounting for a large share of the latency improvement.