How a Smart Traffic Trick Speeds Up Large Language Models
Original paper: ARK: Avoiding Routing Collisions for KV Cache Transfer in Disaggregated LLM Inference
"Imagine a fleet of massive moving trucks leaving a giant warehouse and heading toward a multi-lane highway bridge. Instead of blindly letting chance decide which lane each truck takes—which often results in all the trucks crashing into one lane and causing a massive gridlock—a smart dispatcher tells each driver precisely which starting port and lane to use beforehand, ensuring every bridge lane is shared evenly and traffic flows smoothly."
As large language models grow into massive multi-server operations, the time it takes to shuffle data between memory pools dictates how fast users get answers. Eliminating these hidden network bottlenecks makes real-time AI assistants dramatically more responsive and cuts down the massive energy and infrastructure costs required to run them at scale.
- AI servers split memory and compute, creating massive data transfer bottlenecks.
- Random routing often crashes big data flows into the same network paths.
- ARK coordinates sending ports beforehand to keep network traffic balanced and fast.
How a Smart Traffic Trick Speeds Up Large Language Models
▶ Watch on YouTube Shorts ↗📑 Original arXiv Technical Abstract
Disaggregated LLM inference separates the prefill and decode phases across GPU pools, generating massive KV-cache transfers. Because these transfers last hundreds of milliseconds to seconds, they behave as mega elephant flows that dominate link bandwidth utilization. In this regime, stateless ECMP can perform poorly: hash collisions may overload one spine link while leaving others idle, stretching transfer times by seconds. Yet this same persistence makes coordination practical. Since these flows are long-lived, even lightweight one-to-all coordination can be amortized over their lifetime. We present ARK, a distributed elephant-flow path reservation mechanism. ARK coordinates senders to choose source ports whose hashes map concurrent flows onto distinct spines, without requiring switch changes or receiver-side packet reordering. Packet-level RDMA simulations show that ARK reduces mean and P95 FCT by up to 27.3% and 34.0% under moderate load, and further reduces mean TTFT by up to 12.9%.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.