﻿# KV transfer retries: separate wire volume from unique usable state

A practical investigation of kV transfer retries: separate wire volume from unique usable state, with explicit observations, control cases and evidence limits.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/field-observe-kv-transfer-wire-versus-useful-state/
Language: en

## The diagnostic situation

A disaggregated serving path retries a KV transfer after an interrupted connection. A dashboard adds every transmitted byte and labels the result reused context. Traffic grows, but the consumer may have accepted the same logical blocks repeatedly or rejected the transfer entirely. The observation measures transport effort, not necessarily new state available for decoding.

## Why the observation changes meaning

A transfer attempt, a logical state object and consumer acceptance have different lifetimes. Retransmission can repeat payload bytes without adding unique usable blocks. Conversely, successful transmission alone does not establish format compatibility or successful loading. vLLM documents explicit failure policy at the connector boundary; that configuration does not automatically provide the proposed diagnostic correlation fields.

## Define the instrumentation contract

Define separate counters for wire activity, attempted logical objects and accepted unique state. Scope a state identifier to producer lifetime, model/cache representation and consumer destination. Preserve retry-parent relationships in controlled diagnostic records rather than unbounded metric labels. Specify when acceptance becomes final and how a failed transfer followed by recomputation is represented without inventing successful reuse.

## A bounded verification procedure

Use an isolated connector fixture with synthetic block identities. Deliver a valid object, repeat an attempt after a controlled interruption, and reject an incompatible object. Compare transport counters against the consumer acceptance ledger. Where the installed connector cannot expose these boundaries, mark them unavailable rather than deriving unique state by dividing traffic by an assumed block size.

## Evidence required for acceptance

Acceptance evidence includes connector and engine revisions, failure policy, transfer attempts, accepted identities and the chosen byte scope. State whether headers, compression or retries contribute to measured traffic. Show retransmitted and rejected volume separately from useful accepted state. Reconcile only within matching observation windows and worker epochs; a restart can invalidate locally unique transfer identifiers.

## Failure cases and limits

The ledger is a proposed instrumentation contract, not a claim that every backend exports a universal KV-byte metric. Deduplication may require information unavailable outside the connector. A larger wire count can signal recovery overhead without proving a performance regression, while a lower count can result from failed delivery. Keep recomputation and final request outcome visible before interpreting the transport change.

## Primary references and related reading

Transferred bytes describe transport activity; unique validated KV state needs its own identity and acceptance record. [vLLM KV transfer configuration](https://docs.vllm.ai/en/latest/api/vllm/config/kv_transfer/); [OpenTelemetry metrics data model](https://opentelemetry.io/docs/specs/otel/metrics/data-model/).

The proposed investigation of kv transfer wire versus useful state is not an executed deployment benchmark. Related reading: [LMCache vs vLLM prefix caching: choose the cache boundary](/journal/lmcache-vs-vllm-prefix-caching/); [Diagnose KV transfer stalls in SGLang prefill-decode disaggregation](/journal/sglang-pd-kv-transfer-diagnosis/).
