OptiNIC: 一种适用于分布式机器学习工作负载的健壮且尾优化的RDMA网络接口控制器
OptiNIC: A Resilient and Tail-Optimal RDMA NIC for Distributed ML Workloads
AI总结:
OptiNIC是一种专为分布式机器学习设计的RDMA网络接口控制器,通过消除重传和有序交付,采用最佳努力、无序传输模型,显著提升时间到准确率和吞吐量,同时降低尾部延迟和资源消耗。
摘要:
随着分布式机器学习(ML)工作负载扩展到通过高速互连连接的数千个GPU,集体通信中的尾部延迟已成为主要瓶颈。现有的RDMA传输,如RoCE、IRN、SRNIC和Falcon,强制执行严格可靠性和有序交付,依赖重传和数据包序列来确保正确性。虽然这些方法在通用工作负载中表现良好,但它们在机器学习中引入了复杂性和延迟,这些延迟随着规模扩大而恶化,因为即使罕见的数据包延迟也会使整个模型流水线停滞。我们提出了OptiNIC,一种专用的RDMA传输,重新审视基于机器学习对部分或缺失数据的容忍度的传统可靠性保证。OptiNIC从NIC中消除了重传和有序交付,使RDMA采用最佳努力、无序传输模型。与传统的RDMA不同,后者只有在完整数据交付后才信号完成,OptiNIC引入了自适应超时以在数据可能丢失或延迟时触发前进。OptiNIC保留了标准的拥塞控制机制(例如DCQCN、EQDS或Swift),同时将丢失恢复转移给ML流水线本身(例如通过Hadamard变换和擦除编码)。我们的评估显示,OptiNIC在训练和推理中分别提高了时间到准确率(TTA)2倍,增加了吞吐量1.6倍,覆盖两个公共云(即Hyperstack和CloudLab)。OptiNIC还降低了99百分位延迟3.5倍,减少了BRAM使用2.7倍,并几乎翻倍了NIC对故障的容忍性,提供了一种专为分布式ML工作负载设计的健壮且尾优化的RDMA传输。
英文摘要:
As distributed machine learning (ML) workloads scale to thousands of GPUs connected by high-speed interconnects, tail latency in collective communication has become a major bottleneck. Existing RDMA transports, such as RoCE, IRN, SRNIC, and Falcon, enforce strict reliability and in-order delivery, relying on retransmissions and packet sequencing to ensure correctness. While these approaches work well for general-purpose workloads, they introduce complexity and latency that scale poorly in ML, where even rare packet delays can stall entire model pipelines. We present OptiNIC, a domain-specific RDMA transport that revisits traditional reliability guarantees based on ML's tolerance for partial or missing data. OptiNIC eliminates retransmissions and in-order delivery from the NIC, enabling a best-effort, out-of-order transport model for RDMA. Unlike traditional RDMA, which signals completion only after complete data delivery, OptiNIC introduces adaptive timeouts to trigger forward progress when data may be lost or delayed. OptiNIC retains standard congestion control mechanisms (e.g., DCQCN, EQDS, or Swift) while shifting loss recovery to the ML pipeline itself (e.g., via the Hadamard Transform and Erasure Coding). Our evaluation shows that OptiNIC improves time-to-accuracy (TTA) by 2x and increases throughput by 1.6x for training and inference, respectively, across two public clouds (i.e., Hyperstack and CloudLab). OptiNIC also lowers 99th-percentile latency by 3.5x, cuts BRAM usage by 2.7x, and nearly doubles NIC resilience to faults-delivering a resilient, tail-optimized RDMA transport purpose-built for distributed ML workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。