Mark Lohmeyer (VP & GM, AI & Computing Infrastructure), Sean Horgan (Product Manager) · Google Cloud · JSON-LD datePublished 2026-10-20 (displayed on page as October 21, 2026 / +08:00, announced at PyTorch Conference) · Google Cloud 1.0 Announcement · Frozen companion primary docs: Tiered Prefix Cache Guide (v1.0), DisaggregatedSet Design Doc (dev), Async Processor User Guide
Once LLM traffic shifts from isolated single-turn chat prompts into multi-step coding agents and reinforcement learning (RL) rollouts, serving performance ceases to be a property of a single engine’s forward pass. Tool outputs append tens of thousands of repeated context tokens, bursts of sub-agent calls hit the cluster unevenly, and latency-tolerant background jobs compete for the same accelerators as interactive users. Co-founded by Google with Red Hat, IBM, and contributors from over 25 organizations (more than 500 contributors overall), CNCF Sandbox project llm-d 1.0 connects PyTorch serving engines (vLLM, SGLang, TorchTPU) with Kubernetes control primitives (Gateway API Inference Extension, LeaderWorkerSet, Dynamic Resource Allocation) so admission control, cache locality, phase isolation, and multi-role rollouts operate as one coordinated cluster layer.
Source Lineage & Evidence Scope: This reading note cross-checks the frozen Google Cloud 1.0 launch post alongside three frozen architectural/operational references, separating evidence into three tiers: Tier 1 is the launch post itself (including the PyTorch Conference keynote demo with 1,000 sandboxed agents, three partner testimonials from Snap, ZenteiQ, and Mistral, and five linked benchmark/architecture posts); Tier 2 comprises the shipped
v1.0operational docs (tiered-prefix-cacheandllm-d-async), which specify exact router sizing math,/dev/shmcontainer-memory coupling, and two-level queue/pool gating; Tier 3 covers the explicitly labeled unreleased dev-versionDisaggregatedSetdocumentation (mirrored fromkubernetes-sigs/lwsKEP-766/846/848/849/960/1022) and the linkedpd-disaggregationguide—whose rollout availability budgets and NIXL handshakes must be verified against the exact release deployed rather than treated as unconditional zero-downtime guarantees.
Control Plane & Request Path: Envoy Inference Extension, EPP Scheduling, and Async Time-Slicing
Generic stateless load balancing—such as round-robin distribution behind a standard Kubernetes Service—fails multi-turn agent traffic in three coupled ways: replicas redundantly recompute identical prompt prefixes, accelerator HBM fills up with duplicated KV state, and bursty background loops stall interactive requests in shared queues.
View original image ↗
On the routing plane, llm-d builds on the Kubernetes Gateway API Inference Extension, grouping model-serving pods behind an InferencePool resource and intercepting inference requests through Envoy’s External Processing (ext_proc) gRPC hook. Whether running in Gateway Mode on managed GKE Inference Gateway or in Standalone Mode with an Envoy sidecar proxy, the L7 data plane queries the llm-d Endpoint Picker (EPP) on every request. The EPP evaluates live prefix-index state, replica queue depth, and predicted latency, returning the chosen backend via the x-gateway-destination-endpoint header and dynamic_metadata so Envoy forwards directly to the warmest capable replica.
Around that core request path, llm-d 1.0 integrates three scheduling extensions across heterogeneous fleets and background queues:
- One endpoint across mixed TPUs and GPUs: During the PyTorch Conference keynote, Google demonstrated 1,000 sandboxed agents on Agent Substrate on GKE hitting a single
llm-dendpoint backed byvLLM,SGLang, and mixed Google Cloud TPUs and GPUs. With TorchTPU, PyTorch models run natively inside upstreamvLLMandSGLangwithout model rewrites; paired withv1APIs, session-aware routing, turn-priority scheduling, and native Responses API state, hardware additions or pool migrations remain infrastructure changes rather than agent rewrites. - BYOQ async admission with two-level gates and 6 strict lanes: For latency-tolerant jobs whose SLOs span minutes or longer (bulk summarization, classification, offline workflows),
llm-d-async-processorpulls messages from external queues (redis-sortedsetrecommended for production,gcp-pubsub, experimental Postgressqlwith hash-partition leasing, and deprecatedredis-pubsub). Admission separates queue-level gates—whereActionRefuseimmediately returns the message to the broker for redelivery and frees the worker—from pool-level gates running inside the worker loop, whereActionWaitparks the worker in memory and polls until capacity opens, avoiding broker nack/retry churn. Quota gates ingating_mode: classifyingstamp requests asreservedoroverflow, combining with queuetierlabels (interactive,async,batch) to enforce six strict priority lanes (0: reserved/interactivedown to5: overflow/batch) with per-worker_pool_idmerge isolation so one saturated model pool never stalls another. Every message carries a mandatory Unixdeadline, capping exponential-backoff retries and emittingDEADLINE_EXCEEDEDon expiry. - Co-operative time-slicing for idle RL capacity: During distributed RL post-training, accelerators often sit idle 40% to 60% of the time waiting between rollout sampling and gradient updates.
llm-d-rl-time-slicingpairs lightweightacquire()andyield()client gRPC calls with an Accelerator Orchestrator and a node-scoped Snapshot Agent that checkpoints active CUDA state (~50 GB) into host DRAM in under a second, interleaving async inference into quiet intervals and lifting aggregate duty cycles from a 40% baseline to over 70% without degrading RL convergence (co-operative time-slicing blog).
Operationally, queuing and time-slicing require disciplined telemetry boundaries: time spent parked behind ActionWait or awaiting broker redelivery belongs in end-to-end async job latency rather than vanishing behind engine-only token-generation speeds, and multi-tenant evaluations must inspect low-priority completion rates and DEADLINE_EXCEEDED timeouts alongside high-priority tail TTFT.
Tiered KV Offload & NIXL P/D Disaggregation: Memory Coupling, Cross-Pool Transfer, and Dual-View Reconciliation
When multi-turn sessions exceed local accelerator HBM, llm-d combines tiered KV offloading with disaggregated Prefill/Decode execution—each introducing strict sizing and protocol invariants documented in the frozen guides.
On the tiered prefix-cache side, the v1.0 guide supports three connector paths—native (recommended: vLLM OffloadingConnector, SGLang HiCache, and TorchTPU’s TPURaidenOffloadingConnector / tpu-sync), lmcache-connector, and mooncake-store (embedded CPU DRAM under cpu, or a standalone Mooncake Client DaemonSet sized at 80 GB DRAM + 1 TB SSD per node over rdma/ib: 1 under fs). Four operational constraints in the guide govern whether offloading works as intended:
- Pod memory limits include
/dev/shm: vLLM allocates its host CPU tier inside/dev/shm, meaning offloaded KV blocks share the Pod’s cgroup memory ceiling with weights and runtime RSS. For example, the TPU v7 single-hostQwen/Qwen3.5-397B-A17B-FP8overlay (DP=8 × TP=1, 262k context) pins 32 GiB host tier plus a 16 GiBTPU_PREMAPPED_BUFFER_SIZEstaging buffer per engine (850GiPod request ontpu7x-standard-4twith ~919 GiB allocatable; doubling to 64 GiB per engine measured ~800 GiB RSS, leaving ~50 GiB headroom). - Shared filesystems require deterministic hashing,
direct_io, and external GC: UnderVARIANT=fs(ReadWriteManyPVC such as Google Cloud Managed Lustre, AWS EFS, or CephFS), TPU7xTPURaidenOffloadingConnectorrefuses to start withoutPYTHONHASHSEED=0because storage keys are prefix-block hashes that must match across pods so a fresh pod can restore a 22k-token prompt primed elsewhere. On parallel filesystems like Lustre,raiden_storage_properties.direct_iomust staytrueso KV reads bypass the Linux page cache and avoid competing with weights for host RAM. Crucially, connectors never evict from the shared filesystem tier—capacity reclamation requires storage-side limits or an external controller such as the reference PVC evictor inllm-d-kv-cache. - Router-vs-engine split-brain hazard: To steer follow-up turns toward pods holding evicted blocks in CPU RAM, the router runs two scorers (
gpu-prefix-cache-producerandcpu-prefix-cache-producer). However, vLLM does not report CPU-tier occupancy—vllm:kv_offload_cpu_cache_usage_perctracks only blocks pinned by in-flight transfers, not total fullness. Operators must manually setlruCapacityPerServer = CPU tier bytes per pod / (64 × KV bytes per token)(forQwen3-32Bat 256 KiB/token, 16 MiB per 64-token block gives19200for the 300 GiB NVIDIA default and6400for 100 GiB; TPU v7’s 262k overlay switches to4352-token router blocks matching--block-size). SettinglruCapacityPerServerabove actualcpu_bytes_to_usecauses the router to chase prefixes that the engine already evicted. While SGLangHiCacheexports actual occupancy (sglang:hicache_host_used_tokens / hicache_host_total_tokens), the guide also warns that bundled alerting rules do not cover offloading yet. - Asymmetric NIXL protocols in P/D disaggregation: When splitting compute-bound
Prefillfrom bandwidth-boundDecode(plus optional multimodalEncode), NIXL moves KV state over RDMA (InfiniBand/RoCE/EFA, or TCP fallback). Per the linkedpd-disaggregationguide, engine semantics diverge sharply: vLLM (NixlConnector) uses a pull model, where Decode workers read KV blocks directly out of Prefill GPU memory via one-sided RDMA P2P reads and retain fallback capability under matching parameters; SGLang uses a push model, coordinating via a Prefill bootstrap server (port8998) and NIXL side-channel handshake (port5600) so Prefill actively pushes KV blocks—and--disaggregation-mode=decodehas no local-prefill fallback, rejecting any request missing thebootstrap_host,bootstrap_port, andbootstrap_roomfields injected by the Routing Proxy Sidecar and EPP.
From an engineering trade-off perspective (derived from the documented mechanisms rather than benchmarked across every permutation), both capabilities obey strict break-even inequalities: CPU or Lustre offloading reduces TTFT only when index lookup, queue delay, and PCIe/storage restore latency remain smaller than recomputing the prefix; similarly, P/D disaggregation pays off only when eliminating prefill-decode interference outweighs cross-node NIXL transfer latency and operational complexity.
| Subsystem / Mechanism | Key Protocol, API & Config Surface | Operational Boundary & Primary Failure Mode |
|---|---|---|
| Envoy + EPP Control Plane | Gateway API InferencePool; Envoy ext_proc gRPC; GKE Gateway Mode / Standalone sidecar; x-gateway-destination-endpoint |
Misaligned prefix-match windows or single-tier scoring still steers long prompts onto cold replicas |
| Tiered KV Offload | CONNECTOR (native, lmcache-connector, mooncake-store) × VARIANT (cpu, fs); manual lruCapacityPerServer; PYTHONHASHSEED=0, direct_io=true |
/dev/shm bloat triggers Pod OOM; oversized lruCapacityPerServer causes router split-brain; shared FS lacks built-in eviction; bundled alerts omit offload |
| NIXL P/D Disaggregation | vLLM NixlConnector (Decode 1-sided Pull) vs. SGLang Bootstrap Push (8998 / 5600); Routing Proxy Sidecar metadata injection |
SGLang Decode has zero fallback and rejects unproxied requests; low concurrency or slow interconnects let transfer latency erase gains |
| DisaggregatedSet (dev) | disaggregatedset.x-k8s.io/v1 managing child LWSs; ExclusiveSlice / ExclusiveTopology; RoleScaler & rollout-screener |
Default maxUnavailable: 1 drops singleton roles to zero Ready pods; cross-revision KV incompatibility needs x-llm-d-disagg-revision gating |
| Async Processor & RL Time-Slicing | redis-sortedset / gcp-pubsub / sql; Queue Refuse vs. Pool Wait; 6 reserved/overflow lanes; acquire()/yield() DRAM swap |
Ignoring ActionWait and broker retry time hides true async E2E latency; frequent ~50 GB RL swaps require ample host DRAM and erode duty cycle |
Cross-Role Zero-Downtime Upgrades: DisaggregatedSet Coordination Budgets, Slices, and Revision Gating
Splitting Prefill, Decode, and Encode into independent pools with distinct container images, tensor-parallel widths, or accelerator types turns rolling updates into a cross-role coordination problem. In the DisaggregatedSet design documentation (again noting that this document is explicitly marked as dev-version unreleased documentation mirrored from kubernetes-sigs/lws), the architecture prevents “locally ready Pods, globally broken path” outages through four controls:
- Parent-child orchestration and topology isolation:
DisaggregatedSetdoes not replaceLeaderWorkerSet(LWS); it composes one child LWS per role (<ds>-<slice>-<rev>-<role>), requiring label selectors rather than hardcoded resource names because revision hashes rotate on update.spec.slicesreplicates entire P/D/E topologies as independent fault domains, whilespec.placementPolicyenforces scheduling constraints:ExclusiveSliceco-locates all roles within a slice inside one topology key (e.g.,topology.kubernetes.io/rackorcloud.google.com/gke-placement-group) for low-latency NIXL transfers while spreading slices across domains;ExclusiveTopologyinjects Pod anti-affinity for 1:1 domain-to-slice exclusivity across allDisaggregatedSets (though non-DisaggregatedSetcluster workloads can still land in the domain unless node taints isolate it). - Singleton outage trap and fractional coordination windows: Child roles default to
maxSurge: 0, maxUnavailable: 1(like LWS), yielding a Ready floor ofmax(0, replicas - maxUnavailable). On a singleton role (replicas: 1),maxUnavailable: 1permits 100% unavailability, taking down the entire serving path even while peer Decode pods remain healthy; keeping singleton roles continuously live demandsmaxUnavailable: 0, positivemaxSurge, and spare accelerator capacity. Because role sizes differ (e.g., updating4 Encode, 13 Prefill, 7 Decodegroups), the controller coordinates retirement and creation proportionally using a fractional coordination window of width1 / smallest non-zero role count(1/4 = 25%in that example). Meanwhile,spec.scalingPolicy.scaleDownDuringRolloutseparatesDeferred(default, holding created target replicas until old drains) fromImmediate(reclaiming excess old replicas or unscheduled target replicas sooner while still honoringeffective desired - maxUnavailableReady groups—never instant deletion when deleting Ready groups could breach availability floors). - Stable autoscaling targets and virtual sub-roles: Because child LWS names embed changing revision hashes, pointing HPA or KEDA directly at an LWS breaks across upgrades.
DisaggregatedSetRoleScaler(KEP-849) maintains a constant<ds>-<role>/scaletarget per role (currently restricted tospec.slices: 1). Where a single shared-template LWS needs differentiated routing pools (such assubRoles: [{name: interactive, replicas: 3}, {name: batch, replicas: 1}], KEP-960), pods carrydisaggregatedset.x-k8s.io/subroleand Hash scale-down hintsPodDeletionCost—though Kubernetes ReplicaSet still prioritizes keeping scheduled, healthy leaders over subrole cost preferences on a best-effort basis. - Revision gating (
rollout-screener+ Coordinator): Old Revision A and new Revision B may use incompatible KV-cache layouts or transfer protocols, making cross-revision Prefill-to-Decode handoffs unsafe. Configuringdisaggregatedset-rollout-screener(mode: max-role,requiredRoles: [prefill, decode]) insideEndpointPickerConfigblocks all traffic to Revision B until at least one Pod is Ready in every required role. Traffic across eligible revisions is then weighted by Ready Pods in the largest role (e.g., 6 Ready Decode pods in A and 4 in B sends 40% to B—counting Pod heads rather than GPUs or measured throughput). When running separate Prefill and Decode routers, the Prefill router picks the revision and the llm-d coordinator forwards thex-llm-d-disagg-revisionheader so Decode stays pinned to the exact same revision.
Evidence Boundaries Behind the Public Numbers and Incremental Adoption Sequence
While Google Cloud’s launch post highlights dramatic gains across benchmarks and production deployments, sound capacity planning requires pinning each figure back to its baseline, hardware configuration, and linked primary post—rather than projecting a headline multiplier onto an already-tuned cluster.
Auditing all six claims against the launch blog and its directly linked source posts yields the exact scope and validity table below:
| Benchmark / Production Claim | Reported Figures | Stated Baseline & Linked Source Context | Validity Boundary & Missing Details |
|---|---|---|---|
| Ironwood TPU (TPU 7x) Agentic Coding | Median TTFT over 85% lower; total throughput 2.4× higher (Oct 2026) | Baseline is a plain Kubernetes Service (round-robin); linked qwen3-coder-480b guide targets Qwen3-Coder-480B-A35B-Instruct-FP8 (peakPrefillThroughput: 16444 tok/s calibrated on ~25k multi-turn coding workloads) |
Blog omits concurrency and prompt-length distribution inline; evaluates the combined bundle (prefix-aware routing + host offload), so routing vs. offload contributions cannot be isolated and gains do not transfer to prefix-disjoint traffic |
| A3 Mega 70B + Managed Lustre | Roughly 40% TTFT improvement; 30% E2E latency reduction; nearly 60% fewer GPU-hours | Baseline is CPU-RAM-only offload on 50k-token prompts; linked Managed Lustre post specifies 6-node A3 Mega running Llama-3.3-70B at a 95% cache hit rate (over 50% TCO savings) |
Assumes massive long-context prompts with 95% prefix reuse; on low-reuse workloads or storage-read saturation, fetching blocks from a remote filesystem slows TTFT below recomputation |
| 17,000-Node Multi-Region MoE | 2.9× throughput across 3 clusters; 99.9% success rate; under 1% routing overhead | US + EU GKE clusters serving an MoE model (SGLang per linked multi-cluster post) via multi-cluster GKE Inference Gateway + llm-d router, delivering 99.5% of local-cluster throughput |
Demonstrates gateway horizontal scaling and low proxy overhead across regions; leaves cross-region network egress cost and P/D-split tail-latency breakdowns unspecified |
| Gemini Platform (Vertex AI) Production | Prefix cache hit rate 35% → 70%; coding-agent TTFT over 35% lower; bursty chat P95 TTFT over 50% lower | Live production traffic moved onto GKE Inference Gateway (load + prefix-aware routing); linked Vertex AI post cites 52% P95 TTFT drop under bursty chat | Cluster footprint, raw QPS, and exact serving model versions are not disclosed; reflects internal managed fleet gains over stateless load balancing |
| Co-operative RL Time-Slicing | Aggregate accelerator duty cycle raised from ~40% baseline to over 70% | Interleaves async inference into 40%–60% RL rollout/weight-update idle cycles via acquire()/yield() and host-DRAM CUDA swaps (<1s for ~50 GB, claiming zero convergence loss per RL blog) |
Requires sufficient host DRAM to stage swapped training state; overly frequent yield intervals raise checkpoint/restore overhead |
| Snap · ZenteiQ · Mistral Quotes | Snap: 75–80% hit rate; ZenteiQ: over 4× throughput (1.47B → 5.97B tokens/day per 1,000 TPU v6e); Mistral: strict priority SLOs under saturation | Partner testimonials covering Envoy Service Mesh integration (Snap), synthetic data generation (ZenteiQ), and commercial SLA tiers with flow control + P/D serving (Mistral) | Vendor-cited partner testimonials, not controlled ablations under shared prompts or baselines; local validation remains mandatory |
To keep evaluations reproducible rather than anecdotal, llm-d ships the open-source Prism benchmark explorer backed by standardized llm-d-benchmark recipes and inference-perf multi-turn workloads—letting operators inspect exact published configurations or upload internal runs to compare throughput, latency, and cost curves under identical traffic.
Synthesizing the blog’s four-step Get started progression with the operational safeguards across our three frozen primary docs yields a disciplined rollout ladder where every layer earns its complexity under controlled measurement:
- Start with prefix-aware routing (EPP) and preserve real inter-turn gaps: Place the
llm-drouter in front of existingvLLMorSGLangpods and replay realistic agent trajectories—preserving the tens of seconds spent executing external tools rather than collapsing turns back-to-back—to measure actualvllm:prefix_cache_hits_totaland TTFT gains before adding storage complexity. - Add priority flow control and async admission boundaries: When batch loops share accelerators with interactive traffic, enforce priority bands or deploy
llm-d-async-processorwithreserved/overflowlanes and isolatedworker_pool_idchannels, countingActionWaitand broker redelivery latency inside end-to-end job completion times while monitoringDEADLINE_EXCEEDEDrates. - Enable tiered KV offload with strict router-engine reconciliation: Introduce
OffloadingConnector/HiCache/TPURaidenOffloadingConnectoronly when HBM eviction drives measurable recomputation. Budget/dev/shmand staging buffers inside Pod memory limits, calibratelruCapacityPerServerto matchcpu_bytes_to_use, enforcePYTHONHASHSEED=0,direct_io=true, and an external PVC evictor onVARIANT=fs, and continuously cross-checkllm_d_epp_prefix_indexer_hit_ratioagainstvllm:external_prefix_cache_hits_total,kv_offload_store/load_bytes_total,load_time_total, andkv_offload_allocation_failure_totalso a write-only or slow-restore tier is caught immediately. - Adopt NIXL P/D disaggregation and
DisaggregatedSetlast: Separate Prefill and Decode pools only after measuring severe cross-phase TPOT/ITL contention and confirming adequate RDMA bandwidth; ensureSGLangDecode workers never bypass the Routing Proxy Sidecar; and when adoptingdev-documentedDisaggregatedSetrollouts, explicitly configuremaxUnavailable: 0on singleton roles and verify bothdisaggregatedset-rollout-screenerand coordinator header propagation (x-llm-d-disagg-revision) so locally healthy pods never mask cross-revision KV incompatibility.
Primary Sources & Verified References
- Launch announcement: Mark Lohmeyer & Sean Horgan, Announcing llm-d 1.0: Open distributed inference for agents on Google Cloud TPUs and GPUs, Google Cloud Blog, 2026-10-20 (page display Oct 21, 2026).
- Frozen companion docs:
- llm-d Docs (v1.0), Tiered Prefix Cache
- llm-d Docs (dev, mirrored from
kubernetes-sigs/lws), DisaggregatedSet - llm-d GitHub, Async Processor (AP) - User Guide
- Primary linked guides & benchmark references cited in the announcement:
- llm-d Docs, Prefill/Decode Disaggregation; GitHub, Qwen3-Coder-480B Guide; GitHub, llm-d, llm-d-benchmark, inference-perf, llm-d-rl-time-slicing, and Prism.
- Google Cloud / Developers posts: Agent Substrate on GKE, GKE Inference Gateway, TorchTPU, Co-operative Time-Slicing for RL, How GKE Inference Gateway Improved Latency for Vertex AI, Multi-Cluster GKE Inference Gateway, and Multi-Node KV Cache Offloading with GKE & Managed Lustre.
AI-Assisted Curation & Archival Note: Rewritten and expanded by the assistant (
authoring_source: assistant,translation_source: assistant) from the frozen Google Cloud 1.0 announcement and its three frozen companion docs, paired with the Chinese edition (中文笔记) while preserving originalid,date: '2026-10-20',permalink,published_at, and canonical tags (inference-serving,systems-reliability). The official primary-source illustrationserving.pngremains preserved untouched alongside two newv3-bluediagrams (llmd-disaggregated-routing-stack-en.svg,llmd-kv-offload-benchmarks-en.svg).v1.0operational guides,dev-mirroredDisaggregatedSetdocumentation, and baseline-conditioned benchmarks are explicitly bounded without inventing unverified metrics.