ForkKV: Scaling Multi-LoRA Agent Serving via Copy-on-Write Disaggregated KV Cache
Shao Wang, Rui Ren, Lin Gui

TL;DR
ForkKV introduces a novel memory management system using copy-on-write to efficiently serve multi-LoRA agent workflows, significantly improving throughput while maintaining quality.
Contribution
It proposes ForkKV, a system leveraging OS fork with copy-on-write and a DualRadixTree architecture to optimize shared KV cache management for multi-agent LLM serving.
Findings
Achieves up to 3.0x throughput improvement over existing systems.
Effectively shares large KV caches across agents with negligible quality loss.
Demonstrates scalability across diverse models and datasets.
Abstract
The serving paradigm of large language models (LLMs) is rapidly shifting towards complex multi-agent workflows where specialized agents collaborate over massive shared contexts. While Low-Rank Adaptation (LoRA) enables the efficient co-hosting of these specialized agents on a single base model, it introduces a critical memory footprint bottleneck during serving. Specifically, unique LoRA activations cause Key-Value (KV) cache divergence across agents, rendering traditional prefix caching ineffective for shared contexts. This forces redundant KV cache maintenance, rapidly saturating GPU capacity and degrading throughput. To address this challenge, we introduce ForkKV, a serving system for multi-LoRA agent workflows centered around a novel memory management paradigm in OS: fork with copy-on-write (CoW). By exploiting the structural properties of LoRA, ForkKV physically decouples the KV…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
