---
title: "XPool: A Zero-Redundancy, Near-Zero-Overhead Multi-Tier KV Pool for Sparse-Attention LLM Serving"
authors: ["Donghua Jiang", "Yuqing Yang", "Yangjia Hu", "Wei Liu", "Kai Liu", "Jianchen Zhu"]
date: "2026-12-03"
version: "v1"
address: "https://iraven.io/papers/xpool-a-zero-redundancy-near-zero-overhead-2612-05921"
source: "https://arxiv.org/abs/2612.05921"
venue: "arXiv"
licence: "Creative Commons Attribution 4.0 International"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
---

## Abstract

Native sparse attention reduces per-step computation and KV reads, yet still retains the full KV history, exhausting GPU HBM before long-context decoding saturates compute. Existing offloaders adopt a **host-backed multi-tier KV cache** (*GPU-as-Cache*) in which GPU-cached entries duplicate host DRAM copies. As modern GPU HBM approaches host DRAM capacity, this paradigm **cannot convert growing HBM into runtime KV capacity**, lacks HBM hardware scalability, and lets offloading overhead erode or degrade throughput.

We present **XPool**, a **zero-redundancy, near-zero-overhead multi-tier KV pool** (*GPU-as-Capacity*) for prefill–decode (PD) disaggregated sparse-attention serving. By storing each main KV entry in one tier at steady state, XPool expands distinct main KV capacity from $C$ to $C+G$ with linear HBM scalability. To keep the resulting bidirectional writeback–recall chain off the critical path, XPool pairs an in-graph Token-Level KV Manager (prefill-heat placement, bucket-based eviction, MoE-window exchange on index-sharing layers, and local resolution–attention fusion on index-computing layers) with a PCIe Manager (pause-gated, chunked, dual-stream ingestion isolating urgent writebacks while RDMA continues). On an eight-GPU server node with HY4 and DeepSeek-V3.2, XPool delivers up to $3.44\times$ active decode batch size and 62.6% higher throughput over same-engine GPU-only serving, up to $1.46\times$ concurrency and $2.51\times$ throughput over `SGLang + HiSparse`, and 14% higher throughput from PCIe Manager.

## 1 Introduction

Frontier large language models (LLMs) increasingly support long context windows for repositories, full-length documents, and multi-step agentic sessions \[1, 2, 3, 4, 5, 6\]. At each attention layer, the model stores every historical token’s keys and values (KV) as a KV entry in a KV cache for reuse during decoding. Longer contexts therefore produce proportionally larger KV footprints.

Because attention concentrates on a small subset of historical positions \[7, 8, 9\], native sparse attention integrates sparse selection into model training \[10\]. In particular, DeepSeek Sparse Attention (DSA) uses a learned indexer to choose a *selected token set* per query so that main attention reads only the corresponding selected KV entries (*main KV*) \[11\]. However, because the selected token set changes dynamically at each decode step, unused historical entries may be needed later and cannot be discarded. Sparse attention therefore reduces per-step computation and KV reads, while still retaining the full KV history.

This asymmetry creates a **capacity–compute gap**. Because sparse attention lowers per-request compute, a larger active decode batch is required to saturate GPU compute. Under long contexts, GPU HBM fills before the decode batch reaches compute saturation (Section 3.1), leaving substantial compute idle. This raises our central question: *how can finite node storage hardware unlock larger active decode batches to realize sparse attention’s throughput potential?*

To expand capacity beyond GPU HBM, mainstream sparse-attention offloaders adopt a **host-backed multi-tier KV cache** (*GPU-as-Cache*): host DRAM retains the full KV history while GPU HBM caches hot replicas \[12, 13, 14\]. This design assumed earlier hardware generations where host DRAM vastly exceeded usable GPU HBM. As modern accelerators rapidly expand HBM capacity, usable GPU HBM after model weights now approaches host DRAM capacity (nearly 1:1 on our eight-GPU server node). Because every GPU-cached entry duplicates a host copy, a multi-tier KV cache suffers two structural limitations on high-HBM nodes. First, although offloading can still expand batch size when host DRAM avoids GPU weight occupancy, distinct main KV capacity remains capped at the host budget $C$, leaving the entire GPU HBM tier uncounted as runtime KV capacity. Second, as this relative capacity gain narrows, cross-PCIe transfer and cache-management overhead erodes throughput payoff or even degrades throughput below GPU-only serving (Section 7.2). More fundamentally, because $C$ is independent of GPU HBM size $G$, **a multi-tier KV cache lacks hardware scalability along the HBM dimension**: its relative benefit shrinks with every accelerator generation.

We present **XPool**, a **zero-redundancy, near-zero-overhead multi-tier KV pool** (*GPU-as-Capacity*) for prefill–decode (PD) disaggregated DSA serving. In XPool’s Zero-Redundancy Multi-Tier KV Pool, each main KV entry has a single steady-state residence ($K=K_{\mathrm{GPU}}\cup K_{\mathrm{CPU}},K_{\mathrm{GPU}}\cap K_{\mathrm{CPU}}=\emptyset$). Eliminating cross-tier duplicates lets both GPU HBM and host DRAM contribute distinct main KV capacity, lifting total capacity from $C$ to $C+G$ (nearly doubling capacity over a multi-tier KV cache on our eight-GPU server node). Because $C+G$ scales linearly with every storage tier, XPool’s advantage amplifies as future GPUs add more HBM, and the same abstraction generalizes cleanly to three-tier NVMe pools and NVLink/C2C supernodes.

Converting this reclaimed capacity into throughput requires overcoming the **bidirectional exchange cost** introduced by zero-redundancy pooling. Whereas a multi-tier KV cache silently discards evicted GPU entries, a zero-redundancy KV pool must write evicted entries back to host DRAM before reusing their GPU slots. Under PD disaggregation, these latency-critical D2H writebacks also share the local GPU-to-host PCIe uplink with prefill-cold KV ingestion. Naive bidirectional exchange exposes heavy critical-path latency and can erase the throughput benefit of larger batches.

We formulate an exposed-exchange-overhead model showing that achieving near-zero overhead ($T_{\mathrm{exposed}}\rightarrow 0$) requires **both shortening the exchange chain and maximizing its computation-hiding ratio $\rho$** (Section 3.3). XPool realizes this through three components. First, the Zero-Redundancy Multi-Tier KV Pool unifies GPU KV Storage and Host KV Storage ($C+G$), using prefill-heat placement and bucket-based eviction to keep GPU hit rates high and transfer volume small. Second, the Token-Level KV Manager compresses decision time $T_{\mathrm{decision}}$ inside decode CUDA Graphs (Section 5) and maximizes compute hiding $\rho$ via MoE-window exchange on index-sharing layers and local resolution–attention fusion on index-computing layers (Section 6). Third, the PCIe Manager protects effective writeback bandwidth $B_{\mathrm{D2H}}$ on the shared uplink (Section 5.3) using a pause gate, chunked transfers, and dual-stream submission while incoming RDMA continues.

This paper makes the following contributions:

- **Zero-redundancy, HBM-scalable KV pooling.** We show why host-backed multi-tier KV caches fail to convert growing GPU HBM into runtime KV capacity and propose a zero-redundancy multi-tier KV pool ($C+G$) with linear HBM hardware scalability.
- **Exposed-overhead model and in-graph, layer-specialized exchange.** We formulate decode-path exchange overhead and design a CUDA Graph-compatible Token-Level KV Manager that shrinks transfer volume and decision time while adapting overlap to index-sharing and index-computing layers.
- **Pause-gated PD ingestion.** We identify D2H uplink contention from zero-redundancy writebacks in PD serving and design a chunked, dual-stream PCIe Manager that isolates writeback tail latency without stalling RDMA.
- **Implementation and evaluation.** Implemented in our vLLM-based engine and evaluated on an eight-GPU server node with HY4 and DeepSeek-V3.2 across InfiniteBench Code.Debug and NarrativeQA, XPool scales active batches by up to $3.44\times$ and throughput by up to 62.6% over same-engine GPU-only serving, delivers up to $1.46\times$ the concurrency and $2.51\times$ the throughput of `SGLang + HiSparse`, and lifts 3P1D decode throughput by 14% via PCIe Manager.

## 2 Background

### 2\.1 Attention and KV Cache

At attention layer $l$ and decode step $t$, the newest token’s query scores all causally visible keys and aggregates their values,

$$
o_{t}=\mathrm{softmax}\!\left(\frac{q_{t}K_{1:t}^{T}}{\sqrt{d}}\right)V_{1:t},
$$

where $d$ is the key dimension. Because appending a token leaves prior KV entries unchanged, a KV cache retains historical keys and values across steps: prefill computes the prompt’s KV in parallel, while decode appends one new token’s KV entry per step per layer. KV occupancy grows with sequence length and concurrency, capping the decode batch size that GPU HBM can hold \[15\].

### 2\.2 Prefill–Decode Disaggregation

Prefill processes the entire prompt at once (compute-bound, governing TTFT), whereas decode generates one token per step (memory-bandwidth-bound, governing TPOT). Colocating both phases causes long prefills to stall ongoing decodes and forces a single parallelism configuration. Prefill–decode (PD) disaggregation separates prefill and decode onto distinct worker pools \[16\], transferring each request’s prompt KV from prefill to decode workers before decoding begins.

### 2\.3 Native Sparse Attention, DSA, and Index Sharing

Dense attention reads all $t$ KV entries per step ($O(t)$ reads and compute). Native sparse attention integrates sparse selection into model training \[10\]. DeepSeek Sparse Attention (DSA), used by DeepSeek-V3.2, GLM-5, and HY4 \[11, 4, 2, 3\], decouples scoring from main KV reads atop MLA \[17\]: each token has a main KV entry $c_{s}$ and a compact index key $k^{I}_{s}$. A lightning indexer scores all historical positions via FP8 dot products across $H^{I}$ heads:

$$
I_{t,s}=\sum_{j=1}^{H^{I}}w^{I}_{t,j}\,\mathrm{ReLU}\!\left(q^{I}_{t,j}\cdot k^{I}_{s}\right),
$$

selecting `S_{r,l,t}=\mathrm{Top\text{-}}k(I_{t,1:t})` (e.g., $k=2048$). Main attention reads only these $k$ entries ($O(k)$ per step), while the indexer scans $t$ compact keys and all main KV entries must remain stored for future queries.

**Cross-layer index sharing.** Models such as GLM-5.2/5.3 and HY4 partition layers into *index-computing layers* (running their own indexer) and *index-sharing layers* (reusing an earlier computing layer’s selected token set) \[18, 2, 14, 3\], making sharing layers’ required KV known before attention begins. DeepSeek-V3.2 indexes every layer independently \[11\].

### 2\.4 KV Offloading: Multi-Tier KV Cache vs. Zero-Redundancy KV Pool

KV offloading stores part of the main KV history in host DRAM and recalls missing selected entries on demand \[12, 13\]. Host-backed multi-tier KV caches (*GPU-as-Cache*), such as ECHO and SGLang HiSparse, retain the full history in host DRAM and cache hot replicas in GPU HBM \[12, 13\] (vLLM HiSparse defers writeback for newly generated tokens, yet recalled historical entries keep host copies \[14\]). GPU eviction simply invalidates metadata without D2H traffic, but GPU HBM adds zero distinct main KV capacity. In contrast, a zero-redundancy multi-tier KV pool (*GPU-as-Capacity*) stores each main KV entry in one tier at steady state: recall frees the host slot, while GPU eviction writes the entry back to host DRAM before slot reuse, letting both tiers contribute distinct main KV capacity.

## 3 Motivation and Challenges

### 3\.1 Problem: KV Capacity Caps Sparse Decode Throughput

To test whether long-context DSA decoding saturates GPU compute before exhausting GPU HBM, we measure GPU-only HY4 throughput on an eight-GPU server node (`DP8`, `EP8`, `MTP = 0`) with long prompts (Figure 1(a)). Throughput rises steadily up to the largest full-model batch fitting in GPU HBM (denoted $b_{\max}$) with no plateau. Measuring a real-weight four-layer prefix covering both index-computing and index-sharing layers and extrapolating to all layers confirms that compute-side throughput keeps scaling through $4\,b_{\max}$. **GPU HBM capacity, rather than compute, caps decode throughput.**

![Figure](figures/f1-fig1-decode-scaling-new.png)

(a) Decode throughput scaling

![Figure](figures/f2-capacity-node.svg)

(b) Distinct KV capacity

Figure 1: Motivation for zero-redundancy multi-tier KV pooling. (a) GPU-only HY4 decode throughput on an eight-GPU server node; four-layer compute-only extrapolation is plotted separately and the dashed line marks the largest completed full-model batch, $b_{\max}$; batch sizes are normalized to $b_{\max}$. (b) Node-level distinct main KV capacity budgets across GPU-only, multi-tier KV cache (*GPU-as-Cache*), and zero-redundancy KV pool (*GPU-as-Capacity*) on our eight-GPU testbed, normalized to GPU-only capacity; the percentage gives XPool’s gain over the multi-tier KV cache.

### 3\.2 Motivation: Multi-Tier KV Caches Fail on High-HBM GPUs

Let $C$ and $G$ denote the usable host DRAM and GPU HBM budgets for main KV payload under the same hardware and engine configuration (after reserving model weights, persistent indexer state, metadata, staging, and runtime overhead). Under a host-backed multi-tier KV cache (*GPU-as-Cache*), host DRAM retains the full KV history while GPU HBM holds copies of a hot subset \[12, 13\]. Under a zero-redundancy multi-tier KV pool (*GPU-as-Capacity*), each entry occupies only one tier at steady state. The corresponding distinct main KV capacities are

$$
U_{\mathrm{cache}}
$$

$$
=C,
$$

$$
U_{\mathrm{pool}}
$$

$$
=C+G,
$$

giving a relative capacity gain over a multi-tier KV cache of

$$
\frac{U_{\mathrm{pool}}-U_{\mathrm{cache}}}{U_{\mathrm{cache}}}=\frac{G}{C}.
$$

**Why multi-tier KV caches break down on high-HBM nodes.** On earlier accelerators where host DRAM far exceeded usable GPU HBM, keeping duplicate host backups left most of the capacity gain intact. On our eight-GPU testbed, however, usable GPU HBM after model weights approaches host DRAM capacity ($G/C=95.0\%$). Under a multi-tier KV cache, offloading can still raise batch size when runtime reserves keep GPU capacity below host capacity (Section 7.2), yet all GPU-resident KV remains duplicated in host DRAM and adds zero distinct main KV capacity. As this relative capacity gain narrows, cross-PCIe transfer and management overhead erodes throughput payoff or even degrades performance below GPU-only serving (Section 7.2). Fundamentally, because $U_{\mathrm{cache}}=C$ is independent of $G$, **a multi-tier KV cache lacks hardware scalability along the GPU HBM dimension**: its relative benefit shrinks with every accelerator generation.

**Hardware-scalable capacity via zero-redundancy pooling.** By contrast, XPool’s zero-redundancy KV pool nearly doubles distinct main KV capacity over a multi-tier KV cache on our testbed (reaching $2.05\times$ GPU-only capacity in Figure 1(b)). Because $U_{\mathrm{pool}}=C+G$ **scales linearly with every storage tier**, its advantage grows with future high-HBM hardware and generalizes cleanly to multi-tier NVMe pools and scale-up supernodes.

### 3\.3 Challenge: Modeling Exposed Exchange Overhead

Eliminating host replicas unlocks $C+G$ runtime KV capacity, but introduces a critical performance challenge: whereas a multi-tier KV cache silently discards evicted GPU entries, a zero-redundancy KV pool must write evicted entries back to host DRAM before reusing their GPU slots, and these D2H writebacks share the local PCIe uplink with PD prompt ingestion.

For an active decode batch size $b$, aggregate output throughput is approximately

$$
\mathrm{Throughput\ (tok/s)}\approx\frac{b}{T_{\mathrm{base}}(b)+T_{\mathrm{exposed}}(b)},
$$

where $T_{\mathrm{base}}(b)$ is the base per-step decode time and $T_{\mathrm{exposed}}(b)$ is the extra KV-exchange latency exposed on the critical path. Expanding $b$ converts extra capacity into higher output throughput only if $T_{\mathrm{exposed}}(b)$ **is driven close to zero** so that batch growth clearly outpaces step-time growth. We formulate the exposed exchange overhead that governs the rest of our design as

```
\boldsymbol{T_{\mathrm{exposed}}\approx(1-\rho)\!\left(T_{\mathrm{decision}}+\frac{V_{\mathrm{writeback}}}{B_{\mathrm{D2H}}}+\frac{V_{\mathrm{recall}}}{B_{\mathrm{H2D}}}\right)}
```

where $T_{\mathrm{decision}}$ is the decision time for miss detection, victim selection, and GPU-slot address resolution; $V_{\mathrm{writeback}}$ and $V_{\mathrm{recall}}$ are the D2H writeback and H2D recall byte volumes; $B_{\mathrm{D2H}}$ and $B_{\mathrm{H2D}}$ are the effective PCIe bandwidths in each direction; and $\rho\in[0,1]$ is the fraction of the decision and exchange chain hidden behind concurrent model computation.

**Impact of exposed exchange on throughput.** Exposing bidirectional exchange on the critical path severely erodes the throughput gain of larger batches. In our measured HY4 120k decode step breakdown (Section 7.4), even after XPool’s high steady-state hit rate and in-graph management are already applied, the bidirectional exchange chain still takes 28% of the decode step time on the side stream. Merely exposing this exchange serially ($\rho=0$) inflates step time by **28%** (reducing throughput by 22%). Without bucket-based eviction, CUDA Graph execution, pause-gated PD ingestion, and high hit rates, the $T_{\mathrm{decision}}$, $V$, and $B_{\mathrm{D2H}}$ terms in Equation (2) grow substantially (Section 7.6), further inflating exposed latency and eroding or negating the benefit of expanded decode batches.

### 3\.4 Analysis: Achieving Near-Zero Overhead

Driving $T_{\mathrm{exposed}}\rightarrow 0$ in Equation (2) demands attacking **both** factors together. First, intervening compute windows (such as MoE phases) are finite; any exchange chain exceeding the window stalls attention even under ideal scheduling, so the chain itself must be shortened. Second, even a shortened chain retains non-zero physical latency, so maximizing the hiding ratio $\rho$ is essential to cover it behind compute. Guided directly by Equation (2), XPool organizes its design around these two levers across Sections 4–6:

- **Shortening the exchange chain (Section 5):** XPool shrinks $V_{\mathrm{recall}}$ and $V_{\mathrm{writeback}}$ via prefill-heat placement and bucket-based eviction (Section 5.1); compresses $T_{\mathrm{decision}}$ via in-graph bucket-based victim selection and slot resolution (Section 5.2); and protects $B_{\mathrm{D2H}}$ via pause-gated, chunked, dual-stream PD ingestion (Section 5.3).
- **Maximizing computation overlap (Section 6):** Once the chain is short enough to fit within intervening compute windows, XPool maximizes $\rho$ via MoE-window exchange on index-sharing layers and local resolution–attention fusion on index-computing layers (Section 6).

## 4 System Overview

Figure 2 shows XPool’s decode worker under prefill–decode disaggregation \[16\]. The **Zero-Redundancy Multi-Tier KV Pool** combines GPU KV Storage in GPU HBM and Host KV Storage in host DRAM into a single runtime KV capacity pool ($C+G$). Each managed main KV entry has a single residence at steady state. Compact indexer keys remain in GPU Indexer State outside this pool \[11\].

Prompt KV arrives from prefill workers via GPUDirect RDMA into the Reception Buffer. Prefill-hot KV is placed in GPU KV Storage, while the **PCIe Manager** asynchronously drains prefill-cold KV to Host KV Storage. This admission path populates the zero-redundancy KV pool for subsequent decoding.

![Figure](figures/f3-architecture-ppt.svg)

Figure 2: XPool decode-worker architecture. Prompt KV enters the Reception Buffer via GPUDirect RDMA, then reaches GPU KV Storage or Host KV Storage. The Token-Level KV Manager controls residency and recall/writeback within the Zero-Redundancy Multi-Tier KV Pool. It asserts the PCIe Manager’s pause gate to coordinate local PD ingestion with urgent exchanges. Solid arrows show KV movement; dashed arrows show control flow. Incoming RDMA continues independently.

During decoding, XPool’s runtime managers execute the two levers of Equation (2). First, to **shorten the bidirectional exchange chain** (Section 5), the **Token-Level KV Manager** shrinks transfer volumes ($V_{\mathrm{recall}},V_{\mathrm{writeback}}$) and compresses decision time ($T_{\mathrm{decision}}$) inside decode CUDA Graphs, while the PCIe Manager protects effective writeback bandwidth ($B_{\mathrm{D2H}}$) against concurrent PD ingestion. Second, to **maximize computation overlap** (Section 6), the Token-Level KV Manager schedules the shortened chain inside MoE computation windows on index-sharing layers and fuses local resolution with attention on index-computing layers.

## 5 Shortening the Bidirectional Exchange Chain

Shortening the parenthesized chain in Equation (2) ($T_{\mathrm{decision}}+V_{\mathrm{writeback}}/B_{\mathrm{D2H}}+V_{\mathrm{recall}}/B_{\mathrm{H2D}}$) is a prerequisite for near-zero overhead: only when the chain is shorter than intervening compute windows can overlap scheduling eliminate attention stalls. XPool shrinks all three components of this chain in turn.

### 5\.1 Reducing Transfer Volume: Locality-Aware Placement

For a single request, layer, and decode step with DSA selecting $k$ entries, the number of entries recalled from host DRAM depends directly on the pre-exchange GPU hit rate:

$$
N_{\mathrm{recall}}=k\times(1-\mathrm{hit\ rate}),
$$

where multiplying $N_{\mathrm{recall}}$ by the single-entry KV byte size yields $V_{\mathrm{recall}}$. When GPU KV Storage is full at steady state, each recall triggers an equal-sized victim writeback, so $V_{\mathrm{writeback}}\approx V_{\mathrm{recall}}$. Sustaining a high GPU hit rate therefore shrinks both transfer volume terms in Equation (2). Crucially, achieving high hit rates is enabled by DSA’s **strong cross-step temporal locality**: as Figure 3 shows, persistent vertical access bands span consecutive decode forwards alongside a dense band at the newest positions, meaning a compact working set of historical and newly generated tokens is repeatedly reused while other positions remain cold. To turn this locality into high hit rates across a request’s full lifetime, XPool manages residency in two phases: cold-start initialization before decode history exists, and steady-state replacement as attention patterns evolve.

![Figure](figures/f4-locality-heatmap-clean.png)

Figure 3: Selected-token access patterns for one HY4 request at layers 6, 38, and 76. The x-axis groups historical token positions into 64-token bins and the y-axis is decode-forward number; color shows selected positions per bin (log scale; white means none). Persistent vertical bands show strong cross-step temporal locality, while the dense band at the newest positions reflects consistent selection of newly generated tokens.

**Cold-start decode: Prefill-heat placement.** When a long-context request arrives from prefill, no decode-time access history exists yet. Draining the full prompt to host DRAM or retaining an arbitrary prefix in GPU HBM would trigger a burst of cold-start misses during early decode steps, inflating both H2D recalls and D2H writebacks in Equation (2). During admission from the Reception Buffer, XPool instead applies **prefill-heat placement**: using token heat computed during prefill, it partitions the prompt into prefill-hot KV and prefill-cold KV. Entries with higher prefill heat (expected to be attended early in decoding) are placed directly into GPU KV Storage, while prefill-cold KV drains asynchronously to Host KV Storage through the PCIe Manager (Section 5.3). This establishes a high GPU hit rate from the earliest decode steps (Section 7.5).

**Steady-state decode: Bucket-based eviction.** Once decoding enters steady state over hundreds or thousands of generated tokens, XPool directly exploits the cross-step temporal locality in Figure 3 to keep the active working set resident in GPU HBM without full-sort overhead. It tracks each GPU-resident entry’s last-access epoch, protects recently accessed entries in a hot class, and groups older entries into age-ordered cold buckets (Section 5.2). Whenever recalls require GPU slots, eviction draws only from the oldest eligible cold buckets and never displaces hot, currently selected, or in-flight entries. This keeps steady-state misses low (the *steady-state miss regime*, around 2% misses or $\sim$ 41 entries out of 2,048 in Section 7.5) and bounds both $V_{\mathrm{recall}}$ and $V_{\mathrm{writeback}}$ in Equation (2).

### 5\.2 Compressing Decision Time: Token-Level KV Manager

Even when only a small fraction of selected entries misses per step, scanning or sorting all GPU-resident entries or making dynamic CPU-side decisions outside CUDA Graphs can cause decision time $T_{\mathrm{decision}}$ to dominate the exchange chain. The **Token-Level KV Manager** bridges vLLM’s block-based interface \[19\] and XPool’s token-granularity zero-redundancy KV pool while compressing the $T_{\mathrm{decision}}$ term in Equation (2) through three designs.

**Bucket-based victim selection.** Each GPU-resident entry records its most recent access as a logical *access epoch*. A full-sort policy orders all eligible GPU-resident entries in $O(N\log N)$ time to find the oldest victims, adding heavy work inside the decode graph. To keep victim selection lightweight and static-shape compatible, XPool uses **bucket-based eviction** (a bucket-based LRU policy) that classifies valid GPU-resident entries by age since their last access epoch into 32 cold buckets, each spanning eight epochs, plus one hot class. Only eligible cold entries participate in eviction, while entries needed by current attention are strictly protected. The manager scans cold buckets from oldest to newest and stops once enough eligible victims are collected to free slots for the missing entries. Section 7.6.1 evaluates both selection speedup inside CUDA Graphs and victim quality via future reuse.

**Exact miss, victim, and slot resolution.** The manager maintains logical-to-physical mappings for both GPU KV Storage and Host KV Storage so that the logical position visible to the engine stays unchanged as entries move between tiers. For each layer, it identifies hits and misses, pairs every miss with an eligible cold victim and its GPU slot, enforces D2H writeback before reusing that slot for H2D recall, and releases the source host slot once transfer completes. A miss therefore transfers only the required token’s KV even when its logical block contains multiple tokens.

**CUDA Graph integration.** While multi-tier KV caches such as ECHO and HiSparse support graph-friendly lookups \[12, 13\], zero-redundancy pooling additionally requires victim writebacks and coordinated updates to both GPU and host mappings. XPool stores residency tables, access epochs, and bucket structures in GPU HBM. On each graph replay, a fixed sequence of captured kernels performs miss detection, bucket-based victim selection, slot resolution, bidirectional KV exchange, and mapping updates entirely inside the decode CUDA Graph, eliminating per-layer CPU–GPU synchronization and kernel-launch overhead.

### 5\.3 Preserving Writeback Bandwidth: PCIe Manager

Even with small $V$ and compressed $T_{\mathrm{decision}}$, degraded D2H bandwidth can stretch the writeback phase and break exchange hiding. Under PD disaggregation, zero-redundancy pooling introduces an uplink contention path absent in multi-tier KV caches (Figure 4): prompt KV arrives at decode GPUs via per-GPU GPUDirect RDMA into the Reception Buffer, where prefill-hot KV stays in GPU KV Storage while bulk prefill-cold KV drains to Host KV Storage across each GPU’s GPU-to-host PCIe uplink. Because zero-redundancy victim writebacks share this exact D2H uplink, uncoordinated ingestion reduces effective $B_{\mathrm{D2H}}$ in Equation (2), delays GPU-slot release for pending recalls, and threatens to push KV readiness beyond the MoE window (Section 7.6.4). To safeguard $B_{\mathrm{D2H}}$ without stalling incoming RDMA, XPool introduces the **PCIe Manager**, which coordinates local D2H traffic through three mechanisms.

![Figure](figures/f5-pcie-topology-reviewed.svg)

Figure 4: Dual-socket eight-GPU PCIe topology and D2H uplink contention in the GPU-landing ingress path. Prompt KV arrives via per-GPU GPUDirect RDMA. Prefill-cold KV ingestion and XPool’s zero-redundancy victim writebacks share each GPU’s 63 GB/s GPU-to-host uplink.

**Writeback-priority pause gate.** XPool classifies victim writebacks as latency-critical traffic and prefill-cold KV ingestion as throughput-oriented background traffic. Before an urgent KV-exchange window (including planning and local resolution), the Token-Level KV Manager asserts the PCIe Manager’s **pause gate** (Figure 5). Before submitting each ingestion chunk, the PCIe Manager checks the pause gate; while paused, it halts new local D2H submissions on all copy streams, preserves task offsets, and lets already-submitted DMA copies finish normally. Once the protected decode work completes, the pause gate releases and ingestion resumes seamlessly while incoming network RDMA continues independently.

![Figure](figures/f6-pcie-contention.svg)

Figure 5: PCIe contention timeline on the local GPU-to-host uplink (schematic). (a) Without PD ingestion, writeback and recall fit within the MoE window. (b) Uncoordinated ingestion delays writeback and `KV ready`, stalling the next attention layer. (c) Enabling the pause gate halts new ingestion submissions so in-flight chunks drain before urgent exchange proceeds, while incoming RDMA continues independently.

**Software chunking for bounded drain latency.** Because pausing cannot cancel already-submitted DMA copies, ingestion tasks are divided into software chunks to create frequent stopping boundaries. After the pause gate is asserted, in-flight chunks continue occupying PCIe until completion (*drain latency*). Smaller chunks shorten drain latency at higher submission overhead, whereas larger chunks improve raw bandwidth at longer drains. XPool selects 1 MiB chunks by default to balance sustained ingestion throughput against rapid uplink yielding (Section 7.6.5).

**Dual-stream copy scheduling.** Performing chunk-level pause checks and copy submission on a single stream leaves the copy engine idle between transfers. XPool alternates 1 MiB ingestion chunks across two CUDA copy streams sharing the same pause gate and total in-flight cap, overlapping status checks and submission on one stream with active DMA transfer on the other. Dual-stream scheduling eliminates submission gaps while preserving fast yielding so urgent writebacks retain $B_{\mathrm{D2H}}$.

## 6 Hiding Bidirectional Exchange Behind Computation

With Section 5 compressing the exchange chain ($V$, $T_{\mathrm{decision}}$, and $B_{\mathrm{D2H}}$) into a compact budget, achieving near-zero exposed latency in Equation (2) depends on maximizing the computation-hiding ratio $\rho$. Because DSA models combine layers whose selected token sets become known at different points in the forward pass, XPool tailors overlap scheduling to each layer type and coordinates both levers inside the decode loop.

### 6\.1 Index-Sharing Layers: MoE-Window KV Exchange

Cross-layer index sharing \[2, 14\] makes an index-sharing layer’s selected token set available as soon as its upstream index-computing layer finishes selection. Sharing applies to token positions; each layer maintains its own KV entries and residency mappings. From the known positions, the Token-Level KV Manager identifies the next sharing layer’s GPU misses and eligible victims and schedules the entire exchange chain (decision, D2H writeback, and H2D recall) onto a side stream during the current layer’s **MoE computation phase**.

**Bounding SM interference during overlap.** Launching side-stream exchange concurrently with MoE creates a tradeoff: too few exchange CTAs leave PCIe underutilized and risk missing the end of the MoE window, whereas too many CTAs contend with expert GEMMs for SMs and memory bandwidth, lengthening the compute window itself. XPool bounds the KV-exchange kernel to eight CTAs by default, saturating the small steady-state transfer without slowing MoE execution. Because Section 5 shortens the exchange chain below the MoE window duration in the steady-state miss regime, background bidirectional exchange finishes before the next attention layer reads it, achieving $\rho\rightarrow 1$ **and $T_{\mathrm{exposed}}\rightarrow 0$** (Sections 7.4 and 7.6.3).

### 6\.2 Index-Computing Layers: Local Resolution–Attention Fusion

An index-computing layer (as well as every layer in models without cross-layer index sharing, such as DeepSeek-V3.2) produces its selected token set immediately before its own attention kernel, leaving no cross-layer lookahead window for MoE-phase prefetching. To maximize $\rho$ on this demand path, XPool applies **local resolution–attention fusion**.

**Eliminating intermediate HBM round-trips and overlapping access.** In an unfused path, a standalone resolution kernel maps selected logical positions to physical GPU slots and writes the resolved slot-address array to GPU HBM; the subsequent attention kernel must read that entire array back from HBM before accessing KV. XPool fuses local slot resolution directly into the attention kernel, keeping resolved slot addresses in registers or shared memory for immediate consumption and overlapping local preparation with attention computation over already-resident KV entries (Section 7.6.2). Meanwhile, as soon as the index-computing layer finishes selection, the next index-sharing layer’s exchange immediately launches onto the side stream during the computing layer’s MoE phase.

### 6\.3 Coordinating Both Levers in the Decode Loop

Combining Sections 5 and 6 inside the captured decode CUDA Graph requires careful ordering across streams without CPU intervention. Before entering a layer’s exchange window, the captured graph asserts the PCIe Manager’s pause gate so in-flight local ingestion chunks drain promptly and preserve $B_{\mathrm{D2H}}$. Inside the graph, the Token-Level KV Manager executes bucket-based victim selection and slot resolution ($T_{\mathrm{decision}}$), enforces D2H-before-H2D ordering on reused GPU slots, and launches side-stream exchange during MoE (for index-sharing layers) or fused local resolution–attention (for index-computing layers). Once transfers complete, residency mappings update in-graph and the pause gate releases so background PD ingestion resumes seamlessly. Together, chain shortening and layer-specialized hiding convert XPool’s $C+G$ capacity into active decode concurrency at near-zero critical-path overhead.

## 7 Evaluation

We evaluate whether XPool’s zero-redundancy KV pool translates GPU HBM into decode concurrency and throughput at near-zero overhead, whether pause gating protects decoding under concurrent PD ingestion, and how each mechanism drives down $T_{\mathrm{exposed}}$ in Equation (2). End-to-end comparisons use the model–workload matrix in Section 7.2; controlled microbenchmarks in Section 7.6 isolate each term of Equation (2).

### 7\.1 Experimental Setup

**Hardware and parallelism.** End-to-end decode experiments run on a dual-socket eight-GPU server node, configured with `DP8` and `EP8` (attention `TP1`) and multi-token prediction at `MTP = 3` \[20, 21\]. For XPool, GPU HBM and host DRAM KV budgets follow the usable-memory accounting in Section 3.2: model weights, persistent indexer state, metadata, staging, and runtime reserves are allocated first, and the remaining capacity forms the Zero-Redundancy Multi-Tier KV Pool. Disaggregated evaluations use a 3P1D cluster topology with three dedicated prefill nodes feeding one decode node over RDMA.

**Models and precision.** We evaluate two production-scale DSA models ($k=2048$):

- **HY4** \[3\] (78 layers mapped to 21 index-computing and 57 index-sharing layers): mixed-precision weights with standard linear layers in FP8 (E4M3), MoE experts (including MTP) in 4-bit precision, and selected layers retained in BF16; KV cache uses FP8 MLA format \[17\].
- **DeepSeek-V3.2** \[11\] (per-layer lightning indexer without cross-layer sharing): block-quantized FP8 (E4M3) weights with selected layers retained in BF16; KV cache uses the same FP8 MLA format.

**Workloads.** We evaluate long-context code and document workloads:

- **InfiniteBench Code.Debug (80k–120k tokens)** \[22\]: given a long code context, identify the function containing an error that causes the program to crash.
- **NarrativeQA (`50k+` tokens)** \[5\]: a single-turn long-document comprehension workload feeding full 50k+-token passages into the prompt.

**Baselines.** We compare five serving configurations: `SGLang` \[23\]; the host-backed multi-tier KV cache offloaders `SGLang + HiSparse` \[13\] and `ECHO` \[12\]; `vLLM-Ours (GPU-only)`, which retains KV in GPU HBM; and `XPool`, which uses our zero-redundancy KV pool inside the same vLLM-based engine. In the disaggregated PD evaluation, we additionally compare XPool with its PCIe Manager pause gate disabled (`XPool (Pause OFF)`, Section 7.3).

**Methodology and metrics.** All five configurations use identical hardware, parallelism (`DP8 + EP8`, attention `TP1`), `MTP = 3`, weight precision, FP8 MLA KV format, and request sequences. Under steady-state continuous batching, we report maximum sustained active decode batch size and aggregate eight-GPU node output throughput in tokens/s.

### 7\.2 End-to-End Concurrency and Throughput

![Figure](figures/f7-eval-e2e.svg)

Figure 6: End-to-end maximum active decode batch size (a) and saturated node output throughput (b) across InfiniteBench Code.Debug (80k–120k) and NarrativeQA (50k+) on HY4 and DeepSeek-V3.2. Batch sizes in (a) are normalized to `vLLM-Ours (GPU-only)` on each workload. Annotations above `XPool` bars show its batch-size gain (a) or its throughput and gain (b) over `vLLM-Ours (GPU-only)`.

Figure 6 compares concurrency and throughput across the four model–workload combinations.

**XPool expands decode batches and improves throughput over GPU-only serving.** Compared with `vLLM-Ours (GPU-only)` in the same engine, XPool increases the maximum active decode batch size by $2.40\text{--}3.44\times$ (averaging $2.86\times$) and output throughput by 42.0%–62.6% (averaging 51.6%). On HY4 Code.Debug, active batch size increases $2.53\times$ and output throughput increases 62.6% (15,853 to 25,776 tok/s), realizing the batch-scaling headroom identified in Section 3.1.

**XPool supports larger batches and higher throughput than multi-tier KV cache baselines.** Relative to `SGLang + HiSparse`, XPool sustains $1.24\text{--}1.46\times$ the active decode batch size and $1.18\text{--}2.51\times$ the output throughput. Relative to `ECHO`, these gains are $1.16\text{--}1.42\times$ and $2.79\text{--}7.82\times$, respectively. Although `SGLang + HiSparse` and `ECHO` expand batch size by $1.55\text{--}2.38\times$ over `SGLang` when host DRAM avoids GPU weight occupancy, their offloading overhead consumes much of the gain: `SGLang + HiSparse` improves DeepSeek-V3.2 InfiniteBench throughput by only 10.2% from a $1.55\times$ batch increase, and `ECHO` falls below GPU-only `SGLang` across all four workloads. XPool recovers the GPU HBM tier into runtime KV capacity and delivers $1.83\text{--}3.37\times$ the output throughput of standard `SGLang`.

**Both index-sharing and non-sharing models benefit.** XPool improves concurrency and throughput on both HY4 (with cross-layer index sharing) and DeepSeek-V3.2 (which runs an independent indexer at every layer), confirming that zero-redundancy pooling and fused local resolution benefit decoding even without cross-layer lookahead.

### 7\.3 Disaggregated Serving and Pausable Ingestion

In our 3P1D disaggregated PD deployment, prefill-cold KV ingestion runs concurrently with decoding. Comparing `XPool (Pause OFF)` with `XPool` (changing only the PCIe Manager’s pause gate) shows that enabling the pause gate increases end-to-end decode throughput by 14% relative to Pause OFF. Protecting effective writeback bandwidth $B_{\mathrm{D2H}}$ prevents bulk PD ingestion from stalling decode-path exchange; Section 7.6.4 isolates the corresponding exchange tail-latency reduction.

### 7\.4 Decode Step Breakdown

![Figure](figures/f8-eval-breakdown-reviewed.svg)

Figure 7: HY4 decode step breakdown at 120k input tokens, comparing `vLLM-Ours (GPU-only)` (labeled `GPU-only`) and `XPool`, each at its maximum active decode batch size, averaged across eight GPUs. (a) Execution time of MoE, indexing, and attention/resolution per decode step. (b) Average per-layer execution for index-computing (`Comp`, 21 layers) and index-sharing (`Share`, 57 layers) paths, with side-stream KV exchange aligned with the MoE window. The starred computing-layer attention segment includes local KV resolution.

Serving $2.53\times$ the active batch adds only 24.5% to per-step decode time (Figure 7(a)).

**Attention-side work tracks the batch; expert computation does not.** Indexing and attention grow roughly with the batch ratio because both read per-request state. MoE active time grows by only 18.5%: at these per-expert token counts, expert GEMMs are limited by loading expert weights, so additional tokens routed to an expert reuse weight loads already paid for. Projections, FFN, MTP, runtime, and XPool’s in-graph decision logic barely grow either.

**Side-stream KV exchange is fully hidden.** For both layer paths (Figure 7(b)), side-stream KV exchange is shorter than the MoE phase it runs under (167.4 $\mu$s vs. 211.8 $\mu$s on computing layers; 170.8 $\mu$s vs. 199.0 $\mu$s on sharing layers), confirming that background exchange completes before the next layer’s attention reads it ($\rho\approx 1$, $T_{\mathrm{exposed}}\approx 0$).

**Computing-layer attention integrates local resolution.** Attention on index-computing layers fuses local resolution with KV access in registers or shared memory, eliminating the intermediate HBM address-array write and read and directly serving models without cross-layer index sharing (Section 7.6.2).

### 7\.5 Context-Growth Cache Stability

We verify whether XPool keeps transfer volumes $V_{\mathrm{recall}}$ and $V_{\mathrm{writeback}}$ small as generation extends the sequence. On HY4 with a 120k-token prompt initialized by prefill-heat placement (Figure 2), the GPU hit rate starts at 93.69%, reaches 98.09% in the 64–255-token output interval, and remains above 98% through 8,191 generated tokens (Figure 8). The sustained hit rate shows no progressive decline and confirms the $\sim$ 2% steady-state miss regime ($\sim$ 41 entries per 2,048-position selection) used in Section 5.1.

![Figure](figures/f9-eval-hitrate.svg)

Figure 8: GPU cache hit rate of selected KV entries during HY4 decoding with a 120k-token input. The x-axis groups decode steps by output tokens generated before each step; each point reports the interval hit rate. The dashed line marks 98%.

### 7\.6 Controlled Mechanism Measurements

These microbenchmarks isolate each factor of Equation (2) across three miss regimes: *Steady-state* ($\sim$ 2% misses, 41 entries/request), *Burst* (10% misses, 205 entries), and *Stress* (50% misses, 1,024 entries).

#### 7\.6.1 Bucket-Based Eviction: Selection Cost and Quality

To evaluate decision time $T_{\mathrm{decision}}$, we compare bucket-based victim selection against stable full sorting on identical HY4 trace snapshots (43,071 resident entries at layers 6, 38, and 76, suffix-initialized residency, identical eligible sets and eviction counts). Across Steady-state, Burst, and Stress regimes, bucket-based victim selection inside CUDA Graphs is $3.38\text{--}3.95\times$ faster than full sorting.

We evaluate victim quality by the fraction selected again within the next 64 decode forwards (lower is better). Bucket-based eviction lowers future reuse at layer 6 and raises it at layers 38 and 76, with a maximum increase of 6.40 percentage points across all measured regimes, trading fine-grained recency ordering for lower in-graph decision time.

#### 7\.6.2 Local Resolution–Attention Fusion

We compare unfused and fused local resolution–attention paths on one GPU of this node with packed FP8 KV in the Steady-state regime (three repetitions of 150 samples, timing local resolution and attention). Fusion accelerates this path by $1.132\text{--}1.361\times$ across per-GPU query counts of 128–512.

#### 7\.6.3 MoE-Overlapped Bidirectional Exchange

To evaluate the hiding ratio $\rho$, we measure all eight GPUs of this node running a W4A8-quantized MoE kernel with EP8 parallelism, using HY4-shaped synthetic weights, activations, and uniform random routing (exchange batch fixed at 32/rank, MoE batch 32–256/rank, eight exchange CTAs, median of three repetition medians of slowest-rank completion time). Overlapping bidirectional exchange improves combined completion by $1.157\text{--}1.722\times$ over serial execution (Figure 9). In the Steady-state regime, exchange is fully hidden within the MoE window ($\rho\approx 1$) and closely tracks MoE-only execution; in the Burst regime, exchange is fully hidden at MoE batch $\geq 128$/rank; in the Stress regime, computation hides part of the exchange latency.

![Figure](figures/f10-moe-overlap-reviewed.png)

Figure 9: Controlled MoE–exchange experiment: MoE-only, serial, and overlapped execution. Exchange batch is fixed at 32 per rank; the x-axis varies MoE batch per rank across Steady-state, Burst, and Stress miss regimes. Eight KV-exchange CTAs are used; results aggregate the slowest rank over three repetition medians.

#### 7\.6.4 Exchange Tail Latency under Ingestion

To evaluate effective writeback bandwidth $B_{\mathrm{D2H}}$ under contention, we test one GPU of this node (batch 32, 4,096 context, 16 outer 256 MiB ingestion tasks, 1 MiB chunks, eight outstanding chunks, median P99 over three repetitions of 2,000 CUDA-event samples). Concurrent ingestion with Pause OFF inflates exchange P99 by $1.60\text{--}1.73\times$. Enabling the pause gate reduces exchange P99 by $1.59\text{--}1.74\times$ relative to Pause OFF (e.g., 67.39 to 38.82 $\mu$s at 41 misses), restoring latency close to standalone exchange (Figure 10) and preserving MoE-window hiding.

![Figure](figures/f11-exchange-p99-reviewed.svg)

Figure 10: Exchange-only P99 under standalone, concurrent Pause OFF, and concurrent Pause ON across Steady-state, Burst, and Stress miss regimes. One GPU, local batch 32, 4,096 context, 1 MiB chunks, and eight outstanding chunks.

#### 7\.6.5 Chunk Size and Drain Latency

We sweep software chunk size from 64 KiB to 4 MiB (Figure 11) to examine the bandwidth–drain tradeoff. XPool’s 1 MiB default achieves 40.38 GB/s ingestion bandwidth with an 11.12 $\mu$s mean drain latency, compared with 51.81 GB/s and 28.76 $\mu$s at 4 MiB, balancing sustained ingestion throughput with rapid uplink yielding.

![Figure](figures/f12-chunk-tradeoff-reviewed.svg)

Figure 11: Cold-KV ingestion bandwidth (bars) and mean drain latency (line) versus software chunk size. The 1 MiB setting balances sustained throughput and pause responsiveness.

## 8 Related Work and Discussion

### 8\.1 Related Work

Table 1 summarizes how XPool compares with prior and concurrent KV offloading and pooling systems along one vertical axis and three horizontal axes.

| **System** | **Axis** | **Hardware / Fabric** | **Pooled KV Object** | **Capacity** | **HBM Scale** | **PD Link** |
|---|---|---|---|---|---|---|
| ECHO \[12\] | Vertical | Commodity PCIe | Active sparse decode | $C$ | No | No |
| HiSparse \[13, 14\] | Vertical | Commodity PCIe | Active sparse decode | $C$ | No | No |
| UlaCache \[24\] | Vertical | Commodity PCIe | Active sparse decode | $C+G$ | Yes | No |
| XM-Sparse \[25\] | Horiz. 1 | NVLink scale-up pool | Active KV + K-index | Ext. pool | Ext.-bound | N/A |
| Infinite-LLM \[26\], LoongServe \[27\] | Horiz. 2 | Cross-node GPU HBM | Active dense blocks | Redist. | No | N/A |
| Mooncake \[28\], MemServe \[29\], | Horiz. 3 | Cross-node DRAM/SSD | Inactive shared prefix | Global | Orthog. | N/A |
| LMCache \[30\], AttentionStore \[31\] |  |  |  |  |  |  |
| **XPool (Ours)** | **Ours** | **Commodity PCIe** | **Active sparse decode** | `\boldsymbol{C+G}` | **Yes** | **Pause gate** |

Table 1: Comparison of XPool with vertical (single-node PCIe sparse-attention offloading) and horizontal (scale-up memory pools, cross-node GPU HBM pooling, and distributed global prefix pools) KV systems. *Capacity* denotes single-node distinct main KV capacity given host budget $C$ and GPU HBM budget $G$; *HBM Scale* indicates whether growing GPU HBM linearly expands runtime KV capacity; *PD Link* denotes arbitration against local PD prompt ingestion.

**Vertical comparison: Single-node PCIe sparse-attention offloading.** ECHO overlaps speculative KV prefetching with indexer computation \[12\], while SGLang HiSparse and vLLM HiSparse combine host KV storage with GPU caching, fused resolution, and cross-layer prefetching \[13, 14\]. Because these host-backed multi-tier KV caches (*GPU-as-Cache*) keep duplicate host copies for GPU-cached historical entries, they cannot convert modern GPU HBM into runtime KV capacity and lack HBM hardware scalability. Concurrent PCIe work UlaCache removes GPU–CPU duplication via unified logical addressing and parallel bucket-based LRU \[24\], focusing on cross-rank TP partitioning rather than PD writeback–ingestion PCIe contention or layer-specialized in-graph hiding. XPool delivers a zero-redundancy, near-zero-overhead multi-tier KV pool on commodity PCIe servers under PD disaggregation.

**Horizontal comparison 1: Dedicated high-bandwidth scale-up memory pools.** XM-Sparse \[25\] retains an external pool for full KV and K-index caches with small GPU hot buffers, but replaces PCIe host DRAM with a dedicated NVLink scale-up memory pool (such as X-Mem), using TMA-fused attention and GPU-initiated DMA to trade high fabric bandwidth for HBM capacity. This design requires specialized scale-up hardware unavailable on commodity PCIe servers, whereas XPool unlocks $C+G$ runtime KV capacity on commodity PCIe nodes through zero-redundancy pooling and software scheduling.

**Horizontal comparison 2: Cross-node GPU HBM pooling and distributed attention.** Infinite-LLM \[26\] and LoongServe \[27\] pool GPU HBM across cluster nodes, borrowing idle remote HBM and running distributed partial attention (DistAttention or elastic sequence parallelism). Because they **redistribute existing HBM across imbalanced nodes rather than adding capacity**, idle remote HBM vanishes under saturated long-context decoding. Moreover, remote block attention targets dense attention rather than sparse attention’s high locality and sparse per-step misses. XPool increases total distinct main KV capacity inside every decode node ($C\rightarrow C+G$), stays effective at saturation, and keeps token-level exchange node-local.

**Horizontal comparison 3: Distributed DRAM/SSD global prefix pools.** Mooncake \[28\], MemServe \[29\], LMCache \[30\], and CachedAttention/AttentionStore \[31\] build multi-tier DRAM/SSD KV pools, but pool **inactive, cross-request or multi-turn shared prefix KV** at coarse block granularity for pre-prefill TTFT reduction (millisecond domain). They do not manage **active, in-flight decode KV** requiring microsecond token-level bidirectional exchange inside CUDA Graphs, nor do they resolve *GPU-as-Cache* redundancy within a decode worker; thus they are complementary to XPool.

**Serving, dense offloading, sparse algorithms, and hierarchy principles.** Orca \[15\] and PagedAttention \[19\] improve continuous batching and block memory efficiency; DistServe \[16\] and Splitwise \[32\] disaggregate prefill and decode; SGLang RadixAttention \[23\] and CacheBlend \[33\] reuse cached prompt KV across requests; FlexGen \[34\] and InfiniGen \[35\] offload or prefetch KV for dense models. Sparse-attention algorithms, including H2O \[36\], Quest \[7\], NSA \[10\], MoBA \[8\], InfLLM-v2 \[9\], DSA \[11\], and IndexCache \[18\], cut per-step reads while keeping full history, intensifying the capacity–compute gap that XPool addresses. Classic computer architecture introduced duplicate-free cache hierarchies \[37\]; XPool brings this principle to long-context sparse LLM decoding with in-graph token-level exchange and PD uplink arbitration.

### 8\.2 Discussion

**Turning HBM growth into sustained throughput.** Replacing host-backed multi-tier KV caches ($U_{\mathrm{cache}}=C$) with a zero-redundancy KV pool ($U_{\mathrm{pool}}=C+G$) turns growing GPU HBM into runtime KV capacity rather than redundant replicas. Guided by Equation (2), high hit rates, in-graph bucket-based victim selection, pause-gated chunked PD ingestion, and MoE-window or fused hiding keep bidirectional exchange at near-zero overhead.

**Hardware and architectural extensibility.** XPool’s zero-redundancy pooling abstraction and pause-gated scheduling suggest three extensions:

- **Next-generation high-HBM GPUs and scale-up supernodes.** Because XPool’s distinct main KV capacity scales linearly with $G$, larger future HBM amplifies XPool’s gain over multi-tier KV caches. On NVLink/C2C supernodes \[25\], higher GPU–pool bandwidth shortens exchange chains, a shared rack pool balances rank skew, and prefill workers can place prefill-cold KV directly in the shared tier, bypassing local D2H uplinks.
- **Three-tier zero-redundancy pooling with NVMe.** Extending hierarchical storage \[31\], XPool’s logical-to-physical mapping generalizes to `GPU` $\leftrightarrow$ `Host DRAM` $\leftrightarrow$ `NVMe`: host victims drain asynchronously to NVMe while chunking and pause gating isolate GPU–host exchanges from storage I/O so all three tiers contribute distinct main KV capacity.
- **Hybrid linear–full-attention models.** Models such as Jamba and MiniMax-01 \[38, 39\] interleave linear-attention or state-space layers with full-attention layers, providing computation windows analogous to MoE phases for hiding upcoming attention layers’ bidirectional exchange.

## 9 Conclusion

XPool replaces host-backed multi-tier KV caches with a **zero-redundancy, near-zero-overhead multi-tier KV pool** that converts growing GPU HBM into runtime KV capacity ($C+G$) with linear HBM scalability. Guided by our exposed-exchange-overhead model, XPool combines prefill-heat placement, in-graph bucket-based eviction, MoE-window and fused attention hiding, and pause-gated chunked dual-stream PD ingestion. On an eight-GPU server node with HY4 and DeepSeek-V3.2, XPool scales active decode batches by up to $3.44\times$ and throughput by up to 62.6% over same-engine GPU-only serving, delivers up to $1.46\times$ the concurrency and $2.51\times$ the throughput of `SGLang + HiSparse`.

## References

- \[1\] G. Comanici and Gemini Team (2025) Gemini 2.5: pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. [Link](https://arxiv.org/abs/2507.06261)
- \[2\] Z.ai (2026) GLM-5.2: built for long-horizon tasks. [Link](https://z.ai/blog/glm-5.2)
- \[3\] Tencent Hy Team (2026) HY4 technical report. [Link](https://hunyuan.tencent.com/research/hy4?langVersion=zh)
- \[4\] GLM-5-Team (2026) GLM-5: from vibe coding to agentic engineering. [Link](https://arxiv.org/abs/2602.15763)
- \[5\] T. Kočiský, J. Schwarz, P. Blunsom, C. Dyer, K. M. Hermann, G. Melis, and E. Grefenstette (2018) The NarrativeQA reading comprehension challenge. Transactions of the Association for Computational Linguistics (TACL) 6, pp. 317–328. [Link](https://aclanthology.org/Q18-1023/)
- \[6\] J. Luo, W. Zhang, Y. Yuan, Y. Zhao, J. Yang, Y. Gu, B. Wu, B. Chen, Z. Qiao, Q. Long, R. Tu, X. Luo, W. Ju, Z. Xiao, Y. Wang, M. Xiao, C. Liu, J. Yuan, S. Zhang, Y. Jin, F. Zhang, X. Wu, H. Zhao, D. Tao, P. S. Yu, and M. Zhang (2025) Large language model agent: a survey on methodology, applications and challenges. [Link](https://arxiv.org/abs/2503.21460)
- \[7\] J. Tang, Y. Zhao, K. Zhu, G. Xiao, B. Kasikci, and S. Han (2024) Quest: query-aware sparsity for efficient long-context llm inference. In International Conference on Machine Learning (ICML),
- \[8\] E. Lu, Z. Jiang, J. Liu, Y. Du, T. Jiang, C. Hong, S. Liu, W. He, E. Yuan, Y. Wang, Z. Huang, H. Yuan, S. Xu, X. Xu, G. Lai, Y. Chen, H. Zheng, J. Yan, J. Su, Y. Wu, N. Y. Zhang, Z. Yang, X. Zhou, M. Zhang, and J. Qiu (2025) MoBA: mixture of block attention for long-context LLMs. In Advances in Neural Information Processing Systems (NeurIPS 25),
- \[9\] W. Zhao, Z. Zhou, Z. Su, C. Xiao, Y. Li, Y. Li, Y. Zhang, W. Zhao, Z. Li, Y. Huang, A. Sun, X. Han, and Z. Liu (2026) InfLLM-v2: dense-sparse switchable attention for seamless short-to-long adaptation. In International Conference on Learning Representations (ICLR 26),
- \[10\] J. Yuan, H. Gao, D. Dai, J. Luo, L. Zhao, Z. Zhang, Z. Xie, Y. Wei, L. Wang, Z. Xiao, Y. Wang, C. Ruan, M. Zhang, W. Liang, and W. Zeng (2025) Native sparse attention: hardware-aligned and natively trainable sparse attention. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (ACL 25), [Link](https://aclanthology.org/2025.acl-long.1126/)
- \[11\] DeepSeek-AI (2025) DeepSeek-v3.2: pushing the frontier of open large language models. [Link](https://arxiv.org/abs/2512.02556)
- \[12\] G. Liu, W. Chen, C. Li, Z. Ning, J. Lin, Y. Yao, Q. Chen, S. Sun, J. Zhao, and M. Guo (2026) ECHO: efficient kv cache offloading with lossless prefetching for serving native sparse attention llms. In 20th USENIX Symposium on Operating Systems Design and Implementation (OSDI 26), [Link](https://www.usenix.org/conference/osdi26/presentation/liu-guangda)
- \[13\] Z. Xie, Z. Huang, T. Huang, Z. Xu, R. Ma, and C. Kozyrakis (2026) HiSparse: scaling sparse-attention decoding with hierarchical kv cache management. [Link](https://arxiv.org/abs/2608.07009)
- \[14\] vLLM Team (2026) GLM 5.3 optimizations, part 1: hybrid hisparse offloading in vllm. [Link](https://vllm.ai/blog/2026-09-08-glm53-part1-hybrid-sparse-offloading)
- \[15\] G. Yu, J. S. Jeong, G. Kim, S. Kim, and B. Chun (2022) Orca: a distributed serving system for transformer-based generative models. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22), [Link](https://www.usenix.org/conference/osdi22/presentation/yu)
- \[16\] Y. Zhong, S. Liu, J. Chen, J. Hu, Y. Zhu, X. Liu, X. Jin, and H. Zhang (2024) DistServe: disaggregating prefill and decoding for goodput-optimized large language model serving. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), [Link](https://www.usenix.org/conference/osdi24/presentation/zhong-yinmin)
- \[17\] DeepSeek-AI (2024) DeepSeek-V2: a strong, economical, and efficient mixture-of-experts language model. [Link](https://arxiv.org/abs/2405.04434)
- \[18\] Y. Bai, Q. Dong, T. Jiang, X. Lv, Z. Du, A. Zeng, J. Tang, and J. Li (2026) IndexCache: accelerating sparse attention via cross-layer index reuse. [Link](https://arxiv.org/abs/2603.12201)
- \[19\] W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. E. Gonzalez, H. Zhang, and I. Stoica (2023) Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles (SOSP 23),
- \[20\] DeepSeek-AI (2024) DeepSeek-V3 technical report. [Link](https://arxiv.org/abs/2412.19437)
- \[21\] F. Gloeckle, B. Y. Idrissi, B. Rozière, D. Lopez-Paz, and G. Synnaeve (2024) Better \& faster large language models via multi-token prediction. In Proceedings of the 41st International Conference on Machine Learning (ICML 24), pp. 15706–15734.
- \[22\] X. Zhang, Y. Chen, S. Hu, Z. Xu, J. Chen, M. Hao, X. Han, Z. Thai, S. Wang, Z. Liu, and M. Sun (2024) InfiniteBench: extending long context evaluation beyond 100K tokens. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL 24), pp. 15262–15277. [Link](https://aclanthology.org/2024.acl-long.814)
- \[23\] L. Zheng, L. Yin, Z. Xie, C. Sun, J. Huang, C. H. Yu, S. Cao, C. Kozyrakis, I. Stoica, J. E. Gonzalez, C. Barrett, and Y. Sheng (2024) SGLang: efficient execution of structured language model programs. In Advances in Neural Information Processing Systems (NeurIPS 24),
- \[24\] I. Zhu, A. Cao, H. Yin, R. Wang, O. Wang, H. Zhang, J. Li, and J. Zhao (2026) UlaCache: unified logical addressing for sparse LLM serving. [Link](https://arxiv.org/abs/2610.29820)
- \[25\] Y. Sun, X. Liao, Z. Huang, K. Chen, N. Lazarev, and Z. Zhong (2026) XM-Sparse: high-throughput sparse-attention LLM serving over scale-up memory pools. [Link](https://arxiv.org/abs/2611.22280)
- \[26\] B. Lin, C. Zhang, T. Peng, H. Zhao, W. Xiao, M. Sun, A. Liu, Z. Zhang, L. Li, X. Qiu, S. Li, Z. Ji, T. Xie, Y. Li, and W. Lin (2024) Infinite-LLM: efficient LLM service for long context with DistAttention and distributed KVCache. [Link](https://arxiv.org/abs/2401.02669)
- \[27\] B. Wu, S. Liu, Y. Zhong, P. Sun, X. Liu, and X. Jin (2024) LoongServe: efficiently serving long-context large language models with elastic sequence parallelism. In Proceedings of the ACM SIGOPS 30th Symposium on Operating Systems Principles (SOSP 24), [Document](https://dx.doi.org/10.1145/3694715.3695948)
- \[28\] R. Qin, Z. Li, W. He, J. Cui, F. Ren, M. Zhang, Y. Wu, W. Zheng, and X. Xu (2025) Mooncake: trading more storage for less computation – a KVCache-centric architecture for serving LLM chatbot. In 23rd USENIX Conference on File and Storage Technologies (FAST 25), pp. 155–170. [Link](https://www.usenix.org/conference/fast25/presentation/qin)
- \[29\] C. Hu, H. Huang, J. Hu, J. Xu, X. Chen, T. Xie, C. Wang, S. Wang, Y. Bao, N. Sun, and Y. Shan (2024) MemServe: context caching for disaggregated LLM serving with elastic memory pool. [Link](https://arxiv.org/abs/2406.17565)
- \[30\] Y. Liu, Y. Cheng, J. Yao, Y. An, X. Chen, S. Feng, Y. Huang, S. Shen, R. Zhang, K. Du, and J. Jiang (2025) LMCache: an efficient KV cache layer for enterprise-scale LLM inference. [Link](https://arxiv.org/abs/2510.09665)
- \[31\] B. Gao, Z. He, P. Sharma, Q. Kang, D. Jevdjic, J. Deng, X. Yang, Z. Yu, and P. Zuo (2024) Cost-efficient large language model serving for multi-turn conversations with CachedAttention. In 2024 USENIX Annual Technical Conference (USENIX ATC 24), pp. 111–126. [Link](https://www.usenix.org/conference/atc24/presentation/gao-bin-cost)
- \[32\] P. Patel, E. Choukse, C. Zhang, A. Shah, Í. Goiri, S. Maleki, and R. Bianchini (2024) Splitwise: efficient generative LLM inference using phase splitting. In Proceedings of the 51st Annual International Symposium on Computer Architecture (ISCA 24), pp. 118–132. [Document](https://dx.doi.org/10.1109/ISCA59077.2024.00019)
- \[33\] J. Yao, H. Li, Y. Liu, S. Ray, Y. Cheng, Q. Zhang, K. Du, S. Lu, and J. Jiang (2025) CacheBlend: fast large language model serving for RAG with cached knowledge fusion. In Proceedings of the Twentieth European Conference on Computer Systems (EuroSys 25), pp. 94–109. [Document](https://dx.doi.org/10.1145/3689031.3696098)
- \[34\] Y. Sheng, L. Zheng, B. Yuan, Z. Li, M. Ryabinin, B. Chen, P. Liang, C. Ré, I. Stoica, and C. Zhang (2023) FlexGen: high-throughput generative inference of large language models with a single GPU. In Proceedings of the 40th International Conference on Machine Learning (ICML 23), pp. 31094–31116.
- \[35\] W. Lee, J. Lee, J. Seo, and J. Sim (2024) InfiniGen: efficient generative inference of large language models with dynamic kv cache management. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), [Link](https://www.usenix.org/conference/osdi24/presentation/lee)
- \[36\] Z. Zhang, Y. Sheng, T. Zhou, T. Chen, L. Zheng, R. Cai, Z. Song, Y. Tian, C. Ré, C. Barrett, Z. Wang, and B. Chen (2023) H2O: heavy-hitter oracle for efficient generative inference of large language models. In Advances in Neural Information Processing Systems (NeurIPS 23),
- \[37\] N. P. Jouppi (1990) Improving direct-mapped cache performance by the addition of a small fully-associative cache and prefetch buffers. In Proceedings of the 17th Annual International Symposium on Computer Architecture, [Document](https://dx.doi.org/10.1109/ISCA.1990.134547)
- \[38\] O. Lieber, B. Lenz, H. Bata, G. Cohen, J. Osin, I. Dalmedigos, E. Safahi, S. Meirom, Y. Belinkov, S. Shalev-Shwartz, O. Abend, R. Alon, T. Asida, A. Bergman, R. Glozman, M. Gokhman, A. Manevich, N. Ratner, N. Rozen, E. Shwartz, M. Zusman, and Y. Shoham (2024) Jamba: a hybrid transformer-mamba language model. [Link](https://arxiv.org/abs/2403.19887)
- \[39\] MiniMax (2025) MiniMax-01: scaling foundation models with lightning attention. [Link](https://arxiv.org/abs/2501.08313)
