Cross-Region KVCache Transfer: Assessing the Feasibility of Disaggregated Prefill and Decode
KVCache bandwidth has traditionally confined Prefill and Decode to the same high-speed network domain. This article examines whether hybrid attention, service-based Prefill, and bandwidth-aware scheduling can extend PD disaggregation across data centers. It explains the bandwidth bottleneck, the conditions that make remote Prefill viable, the system capabilities required for production, and the boundaries of the resulting performance gains.
Cross-Region KVCache Transfer: Assessing the Feasibility of Disaggregated Prefill and Decode
In large language model inference, the Prefill and Decode phases have long been constrained to the same data center by the bandwidth requirements of KVCache transfer. Prefill processes the input context and generates the KVCache, while Decode uses that cache to generate output tokens one by one. Prefill is generally compute-intensive, whereas Decode is more dependent on memory bandwidth. Separating the two phases can therefore improve resource utilization in theory.
However, when Prefill and Decode run on different nodes, the KVCache must cross the network. With input contexts of 32K tokens or more, the KV generation rate can reach tens of gigabits per second, far exceeding the stable capacity of typical cross-data-center Ethernet networks. As a result, although PD disaggregation has become a common pattern for large-scale inference, it remains largely “locked” within a single high-speed network domain.
Recent research suggests a path worth evaluating: significantly reduce KVCache size through a hybrid attention architecture, then combine service-based Prefill with bandwidth-aware scheduling. Long-context Prefill requests can be selectively offloaded to an independent, compute-optimized cluster, while the generated KVCache is sent back over standard Ethernet to a local PD cluster for Decode.
In an internal test of a 1-trillion-parameter hybrid model, this approach delivered approximately 54% higher throughput and a roughly 64% reduction in P90 time to first token compared with a homogeneous PD deployment. But the key question is not whether these numbers look impressive. It is under what conditions the approach works, and what capabilities the system still needs.
1. The Bandwidth Challenge in Traditional PD Disaggregation
The central challenge of PD disaggregation can be described using the KV throughput, Φkv—the amount of KVCache generated per unit of time. It can be approximated as follows:
Φkv ≈ request token rate × KV bytes per tokenKV bytes per token ∝ number of layers × attention-head configuration × hidden dimension × precision
In traditional dense-attention models, every layer stores a Key and a Value for each token. As the sequence grows, KVCache size increases linearly. For one dense-attention model, the KVCache generation rate for a 32K-token input can reach approximately 60 Gbps per instance, already exceeding the available capacity of a typical cross-data-center Ethernet link. Multi-tenant concurrency and bursts of long-context requests can quickly turn the cross-domain link into the primary bottleneck.
This creates two related problems.
First, Prefill and Decode must share the same RDMA-capable high-speed network. Otherwise, transfer latency and network congestion can consume the benefits of PD disaggregation.
Second, heterogeneous hardware is forced into a tightly coupled cluster. The hardware ratio between Prefill and Decode becomes relatively fixed, making it difficult to adjust capacity dynamically as traffic changes. Long-context requests may dominate during the day while short requests become more common at night, yet the resource allocation cannot easily scale with those patterns. Elastic capacity expansion and reduction therefore become difficult to achieve.
2. What Hybrid Attention Makes Possible
Hybrid attention changes the equation by avoiding the need for every layer to retain a complete KVCache that grows linearly with sequence length. A typical design alternates a small number of full-attention layers with a larger number of linear-complexity or sliding-window attention layers.
Full-attention layers still retain complete KVCache. Linear or windowed layers, however, maintain only a fixed-size state or KVCache for a limited window. As a result, the total KVCache volume is dominated by a smaller number of full-attention layers, which can substantially reduce the overall amount of data that must be transferred.
In representative configurations, the ratio of linear or sliding-window layers to full-attention layers may reach 3:1, 5:1, or even 7:1. A higher ratio and smaller attention window generally produce greater KVCache reduction. However, the reduction is not unconditional. It depends on the layer ratio, window size, precision strategy, and actual request length.
In other words, model architecture optimization moves cross-region transfer from “impossible” to “worth designing for,” but it does not solve every problem automatically.
For system designers, this means PD disaggregation should be evaluated not only by model parameter count, but also by the KV generation curve. Short-context requests generate relatively little KVCache, so the benefit of cross-region transfer is limited. Long-context requests generate much more data and are more suitable for offloading. KV reduction at the model level is the prerequisite; selective offloading at the system level is what turns that prerequisite into measurable value.
3. The Core Design of Service-Based Prefill
A service-based Prefill architecture selectively offloads long-context Prefill requests to an independent, compute-optimized Prefill cluster. The resulting KVCache is then sent back over standard Ethernet to a local PD cluster for Decode.
The objective is not to move all Prefill workloads to a remote cluster. Only requests for which the expected benefit exceeds the transfer cost should be offloaded.
A simplified routing decision might look like this:
def route(request):kv_bytes = estimate_kv(request.tokens, model_config)transfer_time = kv_bytes / available_link_bandwidthif request.tokens < SHORT_CTX_THRESHOLD:return LOCAL_PDif transfer_time > request.sla_budget * TTFT_RATIO:return LOCAL_PDif remote_prefill_queue_ok() and link_has_headroom(kv_bytes):return REMOTE_PREFILLreturn LOCAL_PD
This pseudocode reflects three constraints:
- Context length determines KVCache size.
- Available bandwidth determines transfer time.
- The SLA budget determines whether cross-region transfer is worthwhile.
A production system must also account for prefix-cache hits, request priority, remote cluster load, network jitter, and failure fallback. If the remote Prefill queue becomes too long, time to first token may increase even when sufficient bandwidth is available. If the link experiences packet loss or congestion, KVCache transfer latency directly contributes to first-token latency.
Cross-region KVCache transfer should therefore avoid treating the cache as one large, indivisible payload. The system should support chunked streaming, rate limiting, backpressure, and priority handling. The Decode node can receive KVCache by layer or by chunk and prepare subsequent computation as soon as each chunk arrives. The sender can dynamically adjust concurrency according to the available network budget. This approach smooths bandwidth peaks and prevents a single long request from consuming the entire cross-region link.
4. System Requirements and Performance Boundaries
At least four categories of capability must work together for this approach to be viable.
4.1 Request-Level Selective Offloading
Routing should consider context length, KVCache size, network budget, remote load, and SLA requirements as a whole. Short requests should remain on the local PD path, while long-context requests should be considered for remote Prefill. Requests with especially strict TTFT requirements should retain a local fast path.
4.2 Bandwidth-Aware Scheduling
The system should track available cross-region bandwidth, queueing latency, packet loss, and retransmission metrics, and incorporate KVCache transfer into unified scheduling decisions.
The sender should support chunking, rate limiting, prioritization, and backpressure. The receiver should support out-of-order reassembly, timeout-based fallback, and integrity validation.
4.3 Failure Fallback
If the cross-region link fails or the remote cluster becomes unavailable, the system should fall back to local Prefill rather than failing the request.
Fallback policies should define explicit thresholds. For example, the system can automatically switch back to local Prefill when transfer timeouts persist, link utilization remains too high, or the remote queue exceeds its limit.
4.4 Observability
At a minimum, the system should monitor:
- KV throughput, Φkv
- Link utilization
- KVCache transfer queueing latency
- P90 time to first token
- Decode batch utilization
- Offloading hit rate
- Fallback rate
Throughput improvements are meaningful only when these metrics improve together. Otherwise, higher throughput may simply be achieved at the cost of worse tail latency.
The performance boundaries are relatively clear. Service-based Prefill is more likely to produce positive results when the model uses hybrid attention, long-context requests make up a significant portion of traffic, the cross-region link has stable spare capacity, and local Decode resources are constrained.
By contrast, cross-region transfer may not be worthwhile when most requests are short, network quality is poor, or the SLA is extremely strict. This architecture is not a universal replacement for homogeneous PD deployment. It is an elastic supplement for specific workload patterns.
5. Conclusion
Whether cross-data-center KVCache transfer can support PD disaggregation does not have a simple yes-or-no answer.
Hybrid attention can reduce KVCache volume by an order of magnitude, moving cross-region transfer from impractical to architecturally viable. Service-based Prefill then turns that model-level optimization into a system-level benefit through selective offloading and bandwidth-aware scheduling.
However, making the approach work in production requires the coordinated design of model architecture, request routing, network scheduling, failure fallback, and observability. KVCache reduction alone is not sufficient, and simply expanding cross-region bandwidth is not sufficient either.
Cross-data-center PD disaggregation should enter the production architecture shortlist only when its benefits can be calculated, its risks can be mitigated through fallback mechanisms, and its impact can be measured through reliable operational metrics.
