结论先行:"1M+ tokens × PD disaggregation"在 2026 年中仍是一个新浮现、未被系统化解的交叉问题域。
| arXiv ID | 标题 | 核心贡献 + 与 PD + 长 context 的关联 |
|---|---|---|
| 2604.15039 | PrfaaS: Prefill-as-a-Service Ruoyu Qin et al., Moonshot AI, 2026-04 |
直接指出:在 Long-context 场景下,传统 dense attention 模型的 KV Cache 量使 prefill 与 decode 被迫紧耦合在同一高带宽域内。PrfaaS 通过 hybrid attention 压缩 KV 后,将 prefill offload 到独立集群,经以太网传给本地 decode。关键洞察:长 context PD 跨 DC 部署的瓶颈不在 KV 大小本身,而在 selector 调度 + 带宽感知 + cache 感知 placement 的协同。 |
| 2607.01831 | Lynx: Progressive Speculative Quantization for KV Transfer Wenchen Han et al., SIGCOMM'26 submission, 2026-07 |
直接切中 PD 长上下文最大瓶颈——KV cache 在 P→D 网络传输的 TTFT。Lynx 挑战"KV cache 是一个不可分割的整体"假设,将 KV 拆为 Anchor(MSB)+Residual(LSB) 双流:先收 Anchor 就开始 speculative decode,Residual 并发传、最后验证。在 disaggregated inference 下,TTFT 接近 4bit 量化水平,精度等同 BF16。 |
| 2606.19746 | SAC: Disaggregated KV Cache System for Sparse Attention LLMs with CXL Ruiyang Ma, Teng Ma et al., 2026-06 |
揭示传统 RDMA-based disaggregated KV pool 对 sparse attention 根本浪费——长 context 下只有 top-k KV entries 有效,但 RDMA 要把整块 prefix KV 取回。SAC 用 CXL 细粒度 load/store 只在需要时取 top-k 条目。对 PD 长 context 架构有范式启示:CXL 让 decode 端按需读取成为可能。 |
| 2607.01617 | 3DLS: 3D Logic-Stacked Architecture for Disaggregated LLM Serving Jaehun Lee et al., IEEE CAL 2026, 2026-07 |
首次从芯片层面揭示 PD 长上下文的核心冲突:P→D KV transfer 与 decode TP collectives 共享 die-to-die 互连,混合流量抢占 decode critical path。3DLS 用 3D 堆叠将 KV 转移走垂直互连,decode TP fabric 独立。提示:长 context PD 的瓶颈不仅在系统层,已在封装互连层显现。 |
| 2604.08075 | Dual-Pool Token-Budget Routing for Cost-Efficient LLM Serving Xunzhuo Liu, Huamin Chen et al., 2026-04 |
显式指出传统 PD production fleet 为最坏上下文配置资源导致 4-8x 吞吐浪费、OOM、preemption 频发。提出按 token budget 路由到 short-context pool / long-context pool,与 PD disaggregation 无缝组合。洞察:长 context 请求的容量规划本质是让 fleet 承受 80-95% short + 5-15% long 的 mix 调度。 |
| arXiv ID | 标题 | 核心贡献 + 与 PD 交集的关联 |
|---|---|---|
| 2511.00321 | Scalable PNM for 1M-Token LLM Inference (CXL) Dowon Kim, Jungwook Choi et al., 2025-11 |
针对 1M token 推理设计 CXL-PNM 系统:将 token page selection offload 到 CXL 内存内的 PNM 加速器,消除 KV recall 成本。PNM-KV 和 PnG-KV 在 405B 1M token 下取得 21.9x 吞吐提升。对 PD 架构的启示:如果 P 端能把 KV 压缩/筛选后才传 D,传输和内存瓶颈同时缓解。 |
| 2407.00079 | Mooncake: A KVCache-centric Disaggregated Architecture Ruoyu Qin et al., Moonshot AI, 2024-06 (v4 2025-09) |
Kimi 生产平台,首个提出 overload early rejection 政策。长 context 下 Mooncake 的 Conductor 必须预测 future KV block usage + 未来 generation length 来决定拒绝/接受。chunked pipeline parallelism (CPP) + layer-wise prefill 是针对长 context TTFT 的专门机制。基准文献:Mooncake 是 PD 长 context 研究绕不开的参考点。 |
| 2512.03324 | Cache What Lasts: Token Retention for Memory-Bounded KV Cache Ngoc Bui et al., 2025-12 |
针对 long-horizon LLM 推理的 KV cache 容量有界场景,提出 token retention 策略。与 PD 的关联:当 decode 端 HBM 无法容纳 1M token 全量 KV 时,该工作给出 eviction policy 的原则性框架。 |
| 2601.22001 | Heterogeneous Computing: Key to AI Agent Inference Aaron Zhao (Imperial), Junyi Liu (MSR), 2026-01 |
明确定义 Capacity Footprint (CF) 指标——每个请求在 DRAM 中需要的 bytes 数——指出 AI agent 推理已撞上 memory capacity wall,PD disaggregation 的部署必须按 OI/CF 二维配置异构加速器。 |
关键信息源:Pipeline Parallelism for Long Context 文档(直接打开) + PR #8846(Support PD disaggregation with Prefill PP,2025-10 合并)
PPT 文档明确指出:
核心链条:
观察:SGLang 从未在文档中声称 PD disaggregation 是长 context 的天然解法;相反,社区对 1M context 的讨论几乎全部在 PP 范式下进行。PD 分离在 1M 场景下为何需要 PP 帮忙?这本身就说明 PD 架构面对长 context 时的原生瓶颈。
关键信息源:GitHub Issue #11286 [Performance]: decoding speed on long context(2024-12 开)
Issue 实测数据揭示了长 context decode 的断崖式下降(单 A800 80G, bs=90):
| Prompt length | 0-100 | 100-200 | 500-1k | 1k-2k | 2k-4k | 4k-8k | 8k+ |
|---|---|---|---|---|---|---|---|
| Decoded tokens/s | 5364 | 5500 | 2815 | 2484 | 1627 | 782 | 273 |
vLLM 维护者 noooop 的官方解释(直接译文):
对 PD 架构的启示:
--block-size 仍是主要调优参数,未发现类似 SGLang PP 的专门配套。vLLM Semantic Router(arxiv:2604.dualpool 同源工作):xunzhuo 系列的 Token-Budget Routing 指明 fleet 中 80-95% 是短请求,为最坏长 context 配置 fleet 会导致 4-8x 吞吐浪费。
关键信息源:Mooncake HTML 全文 + PrfaaS (arxiv:2604.15039) + SGLang #8846
Mooncake 生产视角下长 context PD 的独有挑战:
PD 分离相对于共置推理的独特挑战:
| 共置(chunked PD 同机) | PD 分离(跨机) | |
|---|---|---|
| KV 生存空间 | P 和 D 共享同一 GPU 的 HBM,prefill 结束后 KV 本地可见 | KV 必须跨网络传输到另一台 GPU;传输后的 KV 占 D 端 HBM,且 D 端 无法释放 直到请求结束 |
| 连续 batching | 操作简单,KV local 自取 | 必须对抵达的 KV 预分配 decode 缓冲(prefetch-aware admission) |
| 容量浪费 | KV pool 被所有请求共享 | 每台 D 节点按最大上下文预留 KV pool——长 context 导致 pool 5-10x 膨胀 |
| Overload 表现 | OOM 后拒绝即可 | P→D 传输中才 OOM → +network 浪费 + decode slot 占用 |
判定:PD 分离下长 context 的 HBM 容量压力不仅是绝对量的放大,更是调度时序问题——KV 在传输中不可被 decode 使用,但已在目标节点被预留。
传统 PD 理论基础——prefill 是 compute-bound,decode 是 memory-bound——在长 context 下在两个阶段同时失效:
以 Llama-3-70B(80层, 128 head dim=128, GQA 8 组)为例估算:每个 token 的 KV ≈ 80 × 8 × 128 × 2 × 2 bytes ≈ 320KB。
PD 分离特有现象:KV 不仅要跨网络传输,还要按 batch + layer 顺序组织以便 decode attention 直接读取。这进一步增加了 decode 端的 buffer 管理复杂度。
Dual-Pool Token-Budget Routing (arxiv:2604.08075) 直接指出:
Mooncake (arxiv:2407.00079) 观察到一个反直觉现象:
原因:长 context 请求在 prefill 完成后才知是否能在 decode slot 中被接受。prefill 是 expensive compute,如果被 reject,已消耗的计算被浪费、网络带宽被占用、decode 端的期望 batch 被破坏。
SAC (arxiv:2606.19746) + PNM-1M (arxiv:2511.00321) 代表一条路径:让 KV 留在远端,只在 decode attention 需要时 cache-line 粒度读取。对 PD 的影响:
限制:CXL 生态成熟度、dense attention 无解。
Lynx (arxiv:2607.01831) + Token-Budget Routing (arxiv:2604.08075) 代表系统层压缩路径:
限制:仅解了 P→D 传输瓶颈,D 端 HBM 容量瓶颈仍存。
3DLS (arxiv:2607.01617) 代表硬件层路径:将 P→D KV 转移走垂直互连,decode TP 留在 lateral fabric,避免混合流量竞争。
限制:尚未流片,2-3 年内不可生产。
Moonshot 的 PrfaaS (arxiv:2604.15039) 承认:dense attention 下的 PD 长 context 是无解的——必须依赖 hybrid attention(如 Jamba、DeepSeek-V3.2 的 sparse attention)压缩 KV 才可能。
范式判断:工业界正在从"PD 系统层面解决 long context"向"模型架构 + 系统协同"视角迁移。
Mooncake 的 Conductor + early rejection + 预测未来 generation length,演进到 PrfaaS 的跨 DC KV 选择性 offload——这是唯一一条被商业产品验证的路径。
内在限制:overload 预测依赖 workload pattern,面对 bursty long context 流量(agentic 系统)预测准确率下降。
--block-size=128 是当前仅有的长 context 参数。| # | URL | 状态 | 内容 |
|---|---|---|---|
| 1 | arxiv.org/search?q=long+context+prefill+decode+disaggregation+challenge | 200 | 返回 1 结果(Mooncake 2407.00079) |
| 2 | arxiv.org/search?q=KV+cache+memory+pressure+ultra+long+context+LLM | 200 (no results) | 空 |
| 3 | arxiv.org/search?q=1M+token+context+LLM+serving+inference+2025 | 200 | 返回 1 结果(CXL-1M 2511.00321) |
| 4 | google.com/search?q=SGLang+long+context+1M+PD+disaggregation | 200 | LMSYS PDF + GitHub issues 摘要(越南语界面,内容可提取) |
| 5 | google.com/search?q=vLLM+long+context+decode+worker+HBM+capacity | 200 | Spheron/Flynn HBM sizing + vLLM 文档 + TDS 文章 |
| 6 | google.com/search?q="prefill+decode+disaggregation"+"long+context" | 200 | LMSYS 博客目录(提取到 SGLang 长上下文 PP 信息) |
| 7 | google.com/search?q=Mooncake+Kimi+long+context+1M+challenge+memory | 200 | SGLang 文档首页 (重定向) |
| 8 | arxiv.org/search?q=long+context+KV+cache+disaggregated+serving | 200 | 返回 7 结果(含 Lynx, 3DLS, SAC, PrfaaS, Dual-Pool) |
| 9 | arxiv.org/search?q=KV+cache+offloading+disaggregated+CXL+2025+2026 | 200 (no results) | 空 |
| 10 | arxiv.org/search?q=Infini-Attention+disaggregated+serving+long+context | 200 (no results) | 空 |
| 11 | arxiv.org/search?q=Linear+attention+PD+disaggregation+Jamba+Mamba | 200 (no results) | 空 |
| 12 | arxiv.org/abs/2407.00079 | 200 | Mooncake abstract |
| 13 | arxiv.org/abs/2511.00321 | 200 | CXL-1M token abstract |
| 14 | arxiv.org/abs/2604.15039 | 200 | PrfaaS abstract |
| 15 | arxiv.org/abs/2607.01831 | 200 | Lynx abstract |
| 16 | arxiv.org/abs/2606.19746 | 200 | SAC abstract |
| 17 | arxiv.org/abs/2607.01617 | 200 | 3DLS abstract |
| 18 | arxiv.org/abs/2604.08075 | 200 | Dual-Pool Routing abstract |
| 19 | arxiv.org/abs/2601.22001 | 200 | Heterogeneous Computing (Aaron Zhao) |
| 20 | arxiv.org/html/2407.00079 | 200 | Mooncake HTML 全文(提取 overload early rejection、CPP 细节) |
| 21 | docs.sglang.ai/advanced_features/pipeline_parallelism | 200 | SGLang PP for Long Context 文档(核心材料) |
| 22 | docs.sglang.ai/advanced_features/pd_disaggregation | 200 | SGLang PD 文档 |
| 23 | github.com/sgl-project/sglang/issues/8846 | 200 | PR: Support PD disaggregation with Prefill PP |
| 24 | github.com/vllm-project/vllm/issues/11286 | 200 | vLLM 长上下文 decode 性能断崖实测 |
| 25 | arxiv.org/search?q=Mooncake+overloaded+early+rejection | 200 | 返回 1 结果(Mooncake) |
| 26 | arxiv.org/search?q=attention+sink+KV+cache+token+eviction | 200 | 返回 1 结果(Cache What Lasts 2512.03324) |
| 27 | arxiv.org/html/2601.22001 | 200 | Heterogeneous Computing HTML |
| 28 | arxiv.org/search?q=ultra+long+context+KV+cache+compression | 200 (no results) | 空 |
| 29 | google.com/search?q=KV+cache+offloading+disaggregated+serving+CXL+2025+2026 | (avoided) | 跳过以避免重复 |
| 30 | arxiv.org/search?q=LAPS+prefill+length+aware+PD | 200 (no results) | Google snippet 查到但 arxiv 搜索未命中 |