IndexServe: Disaggregating the Indexer as a Service for Efficient Sparse-Attention LLM Serving
Wang et al. in Inference & systems
Sparse attention's last growing state can cap decoding
IndexServe: Disaggregating the Indexer as a Service for Efficient Sparse-Attention LLM Serving
KV offloading leaves an index-sized wall
Offloading moves the full key–value (KV) cache to host DRAM, but the per-token index stays in decoder high-bandwidth memory (HBM) and must be scanned for top-k selection.
Its BF16 index across 61 layers is 1.906 GiB per request, 7.11× the fixed 0.268-GiB buffer for selected KV (4,096 tokens).
So decoder HBM can cap batches while sparse-attention stages still benefit from more concurrency.
What moves off the decoder, what stays

Compare (a) with (b): both show KV offloaded to DRAM; (b) also moves index storage and scan/select to a shared service across decoders. Evaluation pairs them, but IndexServe does not require KV offloading.
One decode step, split across decoder and indexer
- 1
Decoder makes current inputs
Model weights stay local; projections produce the current index query, scoring weights, and one new index key.
- 2
Service scores stored history
The service appends the key, scores history with the query and weights using the original scoring rule and numerical format, then returns top-k IDs.
- 3
IDs guide sparse KV retrieval
Prefix index loads once at setup; during decode, fixed-size inputs and IDs cross regardless of context length, driving KV retrieval before sparse attention.
Three fixes make a shared selector workable
- 1
Graph replay for every layer
Registered fixed-address buffers keep per-layer device-to-device requests and replies inside graph replay, avoiding repeated host launches and CPU staging.
- 2
PagedIndex grows without moving keys
PagedIndex allocates fixed-size pages as sessions grow; stable logical handles keep old keys in place while sessions share free HBM pages.
- 3
Schedule for latency and length
Offline scan profiles size batches for current load and latency target; short histories get priority, while recurring slots keep long scans progressing.
Separate peak rates reveal a widening batch gap

DeepSeek-V3.2 INT8, TP8×DP2, Workloads A–C (40K–140K): lines: throughput; bars: max batch per DP replica. IndexServe 37; baseline 7→2. ECHO peak lead: 3.82×→8.32×. IndexServe throughput is normalized by 16/(16+n), n service NPUs.
Moving the index alone slows peak throughput

Panel (f), DeepSeek-V3.2 INT8, TP8×DP2, Workload B: baseline→index-only, 62.4→45.2 tokens/s. Graph replay, device-to-device communication, PagedIndex, then batching: 109.9→207.5→299.2→346.1 tokens/s (5.54× baseline).
Throughput gains have a latency and capacity price
Remote selection adds latency
At 0.2 req/s, indexer time summed over layers is 16.8 ms/step vs 9–10 ms for baselines. DeepSeek-V3.2 INT8 gains are limited at an 80-ms mean-ITL budget.
Service HBM can fill
With one service server, adding beyond 12 decoder instances drops throughput 4.7% as service HBM fills; at 15 total servers it still reaches 2.96× vLLM.
Tested platform and models
Ascend A3 tests compare DeepSeek-V3.2 INT8 and GLM-5.1 INT4 against vLLM, SGLang HiSparse, and ECHO; NVIDIA portability is analyzed, not benchmarked.
Why it matters
- Sparse attention can remain HBM-capacity-bound: top-k still needs a growing index for the full history.
- If that index caps batches, pool it in a shared service, but budget for its extra per-layer latency.
- Can a larger, multi-server index pool preserve the throughput gain without a slower remote-selection path on other interconnects?
2 likes 9 slides, 2 min
4 days ago