Summary
Investigate whether KV cache transfer metrics can improve latency predictions in prefill/decode disaggregated deployments. This is a design investigation, not an implementation proposal.
Problem
In P/D disagg mode, TTFT includes KV cache transfer time between prefill and decode pods. Transfer latency varies by interconnect type. The predictor has no features for transfer latency and predicts the same TTFT regardless of interconnect.
Design concern
Decode pods do not always pair with the same prefill pod. Transfer latency varies per prefill-decode pair depending on network topology. Training on per-pod average transfer latency when routing varies which prefill is chosen may introduce noise that makes predictions worse rather than better.
Investigation needed
- Verify which NIXL metrics vLLM currently exposes and in what format
- Determine whether decode pods consistently pair with specific prefill pods
- Assess whether per-pod average transfer latency is meaningful despite pairing variance
- Measure actual TTFT variance attributable to transfer in production P/D deployments
Note: Transfer latency ranges (sub-millisecond for NVLink to tens of milliseconds for TCP) are simulation estimates, not production measurements. Prefill-decode pairing varies per request, so per-pod average transfer latency may be a noisy signal.
Summary
Investigate whether KV cache transfer metrics can improve latency predictions in prefill/decode disaggregated deployments. This is a design investigation, not an implementation proposal.
Problem
In P/D disagg mode, TTFT includes KV cache transfer time between prefill and decode pods. Transfer latency varies by interconnect type. The predictor has no features for transfer latency and predicts the same TTFT regardless of interconnect.
Design concern
Decode pods do not always pair with the same prefill pod. Transfer latency varies per prefill-decode pair depending on network topology. Training on per-pod average transfer latency when routing varies which prefill is chosen may introduce noise that makes predictions worse rather than better.
Investigation needed
Note: Transfer latency ranges (sub-millisecond for NVLink to tens of milliseconds for TCP) are simulation estimates, not production measurements. Prefill-decode pairing varies per request, so per-pod average transfer latency may be a noisy signal.