FlowTracer:一款揭示 AI 训练集群中网络路径使用不均衡的工具
FlowTracer: A Tool for Uncovering Network Path Usage Imbalance in AI Training Clusters
AI总结:
本文提出 FlowTracer 工具,用于分析 AI 训练集群中的网络路径利用率与路由策略;在 16 节点 400 Gbps RoCEv2 leaf-spine 集群上,其新指标显示静态配置相比 ECMP 可将流不均衡降低 30%。
摘要:
AI 工作负载(尤其是分布式大语言模型(LLM)训练)的复杂性不断增加,给并行数据中心和超级计算系统的网络基础设施带来了巨大压力。尽管等价多路径(Equal-Cost Multi-Path,ECMP)路由会在并行路径之间分配流量,但哈希冲突往往会导致网络资源利用不均衡和性能瓶颈。本文提出 FlowTracer,这是一款旨在分析网络路径利用率并评估不同路由策略的工具。FlowTracer 通过提供对流量分布的详细可见性,并帮助识别性能下降的根本原因(例如哈希冲突导致的问题),来辅助调试网络低效现象。通过提供流级洞察,FlowTracer 使系统运维人员能够优化路由、减少拥塞,并提升分布式 AI 工作负载的性能。我们使用一个支持 RoCEv2、采用 leaf-spine 网络并包含 16 个 400 Gbps 节点的集群,展示如何利用 FlowTracer 比较 ECMP 路由与静态配置网络的流量不均衡情况。该示例表明,按照我们提出的一项新指标衡量,不均衡程度降低了 30%。
英文摘要:
The increasing complexity of AI workloads, especially distributed Large Language Model (LLM) training, places significant strain on the networking infrastructure of parallel data centers and supercomputing systems. While Equal-Cost Multi- Path (ECMP) routing distributes traffic over parallel paths, hash collisions often lead to imbalanced network resource utilization and performance bottlenecks. This paper presents FlowTracer, a tool designed to analyze network path utilization and evaluate different routing strategies. FlowTracer aids in debugging network inefficiencies by providing detailed visibility into traffic distribution and helping to identify the root causes of performance degradation, such as issues caused by hash collisions. By offering flow-level insights, FlowTracer enables system operators to optimize routing, reduce congestion, and improve the performance of distributed AI workloads. We use a RoCEv2-enabled cluster with a leaf-spine network and 16 400-Gbps nodes to demonstrate how FlowTracer can be used to compare the flow imbalances of ECMP routing against a statically configured network. The example showcases a 30% reduction in imbalance, as measured by a new metric we introduce.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。