Research Papers 论文研究 1d ago Updated 15h ago 更新于 15小时前 50

Topology-Aware Data Movement for Disaggregated GPU Inference 面向拆分式 GPU 推理的拓扑感知数据迁移

Disaggregated LLM inference requires transferring large KV caches (2.6 GB per 70B request) between prefill and decode GPU pools, creating a critical networking bottleneck at production scale. Existing systems (DistServe, Splitwise, Mooncake) use uniform RDMA, ignoring that inter-GPU bandwidth varies by 72x depending on physical topology: 900 GB/s (NVLink), 50 GB/s (InfiniBand), 12.5 GB/s (TCP). The proposed topology-aware transfer orchestrator discovers interconnect hierarchy at startup and sele 异构GPU推理中KV cache传输带宽差异高达72倍(NVLink 900 GB/s vs TCP 12.5 GB/s),现有系统DistServe/Splitwise/Mooncake均忽略拓扑差异 提出拓扑感知传输编排器,启动时自动发现互联层级并按传输选择最优路径 三层机制协同:层间流水线传输隐藏60-85%延迟、NVLink域感知MoE专家调度、CXL 3.0内存扩展器提供6倍容量 分析模型与投影评估显示3-18倍传输延迟降低,但完整验证受限于CXL 3.0硬件尚未商用

65
Hot 热度
78
Quality 质量
72
Impact 影响力

Analysis 深度分析

TL;DR

  • Disaggregated LLM inference requires transferring large KV caches (2.6 GB per 70B request) between prefill and decode GPU pools, creating a critical networking bottleneck at production scale.
  • Existing systems (DistServe, Splitwise, Mooncake) use uniform RDMA, ignoring that inter-GPU bandwidth varies by 72x depending on physical topology: 900 GB/s (NVLink), 50 GB/s (InfiniBand), 12.5 GB/s (TCP).
  • The proposed topology-aware transfer orchestrator discovers interconnect hierarchy at startup and selects optimal transport per transfer, achieving 3–18x latency reduction over uniform RDMA.
  • Three co-designed mechanisms enable this: pipelined layer-by-layer transfer (hiding 60–85% of latency), NVLink domain-aware placement for MoE models, and CXL 3.0 memory expanders as a shared overflow tier.
  • Full evaluation is deferred to hardware not yet available in GPU clouds; results are based on analytical bandwidth models and projected analysis across three architectures.

Why It Matters

As LLM serving scales to production workloads, disaggregated inference—separating prefill and decode across GPU pools—becomes increasingly attractive for resource efficiency, but KV cache transfer has emerged as a critical unsolved bottleneck. This work directly addresses a gap in the infrastructure stack that every major LLM serving framework currently overlooks, making it essential reading for anyone building or optimizing large-scale inference systems.

Technical Details

  • Bandwidth heterogeneity: The paper documents a 72x bandwidth variation across physical relationships: NVLink intra-domain (900 GB/s), InfiniBand cross-node (50 GB/s), and TCP cross-datacenter (12.5 GB/s). Prior systems treat all transfers uniformly via RDMA, wasting the topology advantage.
  • Topology-aware transfer orchestrator: Discovers the full interconnect hierarchy at startup and dynamically selects the optimal transport path for each KV cache transfer, rather than relying on a single default network path.
  • Pipelined layer-by-layer transfer: KV cache is streamed in layers, overlapping transmission with ongoing prefill computation. This hides 60–85% of transfer latency behind useful work, dramatically reducing effective stall time.
  • NVLink domain-aware MoE placement: For Mixture-of-Experts models, the system co-optimizes expert dispatch decisions with KV cache locality, ensuring that expert computations and cache transfers stay within high-bandwidth NVLink domains wherever possible.
  • CXL 3.0 memory expanders: Proposed as a shared overflow tier providing 6x capacity over GPU memory at 86x lower latency than NVMe storage, bridging the gap between GPU memory and disk for KV cache spill scenarios.
  • Evaluation approach: Due to the lack of multi-node heterogeneous clusters and CXL 3.0 hardware in academic/cloud settings, the paper presents analytical bandwidth models, component implementations, and projected performance across three architectures.

Industry Insight

  • The 72x bandwidth variation across topologies means that infrastructure decisions about GPU placement and networking are not just cost considerations—they are fundamental performance determinants for disaggregated inference. Cloud providers and datacenter operators should prioritize NVLink-domain-aware scheduling as a first-order optimization.
  • CXL 3.0 memory expanders represent a paradigm shift for KV cache management: treating memory as a tiered resource rather than a hard boundary could unlock new serving architectures. Teams should monitor CXL hardware availability and begin prototyping overflow strategies now.
  • The pipelined layer-by-layer transfer technique is broadly applicable beyond this specific system—any disaggregated or pipeline-parallel inference framework can benefit from overlapping data movement with computation. This should be adopted as a standard optimization in next-generation serving runtimes.

TL;DR

  • 异构GPU推理中KV cache传输带宽差异高达72倍(NVLink 900 GB/s vs TCP 12.5 GB/s),现有系统DistServe/Splitwise/Mooncake均忽略拓扑差异
  • 提出拓扑感知传输编排器,启动时自动发现互联层级并按传输选择最优路径
  • 三层机制协同:层间流水线传输隐藏60-85%延迟、NVLink域感知MoE专家调度、CXL 3.0内存扩展器提供6倍容量
  • 分析模型与投影评估显示3-18倍传输延迟降低,但完整验证受限于CXL 3.0硬件尚未商用

为什么值得看

本文直击 disaggregated LLM inference 的核心瓶颈——KV cache跨池传输,首次量化了GPU间带宽的72倍拓扑差异,为大规模推理集群的网络优化提供了可落地的架构思路。

技术解析

  • 带宽拓扑差异:NVLink同域900 GB/s、InfiniBand跨节点50 GB/s、TCP跨数据中心12.5 GB/s,现有系统统一使用RDMA导致性能浪费
  • 层间流水线传输:将KV cache按层拆分,在prefill计算过程中重叠传输,隐藏60-85%延迟
  • MoE专家调度优化:NVLink域感知放置策略,联合优化专家分发与KV cache局部性
  • CXL 3.0溢出层:作为共享内存扩展,提供6倍容量且延迟比NVMe低86倍
  • 评估局限:需多节点异构集群+CXL 3.0硬件,目前超出学术资源,仅呈现分析模型与投影分析

行业启示

  • 推理集群设计需从"统一网络假设"转向"拓扑感知架构",带宽异构性将成为成本优化的关键杠杆
  • CXL 3.0内存扩展器有望成为GPU云的标准配置,解决大模型KV cache内存墙问题
  • 现有开源系统(DistServe等)需升级拓扑发现机制,否则将在多数据中心部署中遭遇性能瓶颈

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Inference 推理 GPU GPU Research 科学研究 Deployment 部署 LLM 大模型