Lune

NSDI2025顶会

Unlocking ECMP Programmability for Precise Traffic Control

Yadong Liu, Yunming Xiao, Xuan Zhang, Weizhen Dang, Huihui Liu, Xiang Li, Zekun He, Jilong Wang, Aleksandar Kuzmanovic, Ang Chen, Congcong Miao

摘要

ECMP (equal-cost multi-path) has become a fundamental mechanism in data centers, which distributes flows along multiple equivalent paths based on their hash values. Randomized distribution optimizes for the aggregate case, spreading load across flows over time. However, there exists a class of important Precise Traffic Control (PTC) tasks that are at odds with ECMP randomness. For instance, if an end host perceives that its flows are traversing a problematic switch/link, it often needs to change their paths before a fix can be rolled out. With randomized hashing, existing solutions resort to modifying flow tuples; since hashing mechanisms are unknown and they vary across switches/vendors, it may take many trials before yielding a new path. Many other similar cases exist where precise and timely response is critical to the network.

We propose programmable ECMP (P-ECMP), a programming model, compiler, and runtime that provides precise traffic control. P-ECMP leverages an oft-ignored feature, ECMP groups, which allows for a constrained set of capabilities that are nonetheless sufficiently expressive for our tasks. An operator supplies high-level descriptions of their topology and policies, and our compiler generates PTC configurations for each switch. End hosts can reconfigure specific flows to use different PTC policies precisely and quickly, addressing a range of important use cases. We have evaluated P-ECMP using simulation at scale, and deployed one use case to a real-world data center that serves live user traffic.

Randomized flow hashing has turned out to be a simple yet effective mechanism. In data center networks, traffic patterns are hard to predict and they fluctuate over time. ECMP embraces this observation and optimizes for the aggregate. Individual flows might still fall victim to unfortunate choices of randomness (e.g., hash collisions between large flows); however, given enough flows, and when considering a long timespan, this randomness produces a good traffic spread and utilizes the underlying network efficiently. All production data center networks that we are aware of make use of ECMP.

However, strong aggregate performance does not remove the pitfalls of randomness in specific scenarios. In particular, we have identified a set of Precise Traffic Control (PTC) scenarios where rapid and precise response to network anomalies is key but randomness hinders it. Consider the case of switch/link failures that render an ECMP path unavailable or unstable [49,56,66]: it is then critical to quickly redirect network traffic off this path before we roll out a fix. In the presence of ECMP, this is no easy task: state-of-the-art solutions (e.g., Google's PLB [49] or PRR [56]) resort to random modification of flow tuples (e.g., by varying TCP ports), hoping that it would eventually yield a new path. This trial-and-error process could take minutes to complete [49]. Likewise, network monitoring systems [28,31,32] often need to quickly probe all paths to localize a fault; with randomness, we again need repeated flow modifications until all paths are covered. What these PTC scenarios have in common is the need to 1) exert precise control over traffic paths 2) against the backdrop of ECMP-the latter is equally important, as we cannot afford to disable ECMP, even if momentarily. In other words, the majority of network traffic should still be subjected to ECMP, while we seek a way to impose precise control over ECMP.

We propose to achieve this by carefully leveraging a commodity switch feature, ECMP groups, which is as simple, efficient, and widely available as basic ECMP itself. Basic ECMP maps a flow f to a preconfigured list of outgoing ports l = [p 0 , p 2 , • • • , p n ] based on the range that hash( f ) falls into. ECMP groups allow a flow to carry a selector s in its packet header, where each s maps to a its own port list l s . Operators

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Alibaba HPN: A Data Center Network for Large Language Model Training 引用了 PLB: congestion signals are simple and effective for network load balancing
  • ZooRoute: Enhancing Cloud-Scale Network Reliability via Candidate Path Provisioning and Overlay Proactive Rerouting 引用了 PLB: congestion signals are simple and effective for network load balancing
  • Harp: Improving VPC Network Availability via Efficient Failure Detection and Rerouting in Tencent Cloud 引用了 Alibaba HPN: A Data Center Network for Large Language Model Training
  • Harp: Improving VPC Network Availability via Efficient Failure Detection and Rerouting in Tencent Cloud 引用了 PINT: Probabilistic In-band Network Telemetry
  • Harp: Improving VPC Network Availability via Efficient Failure Detection and Rerouting in Tencent Cloud 引用了 Flow Event Telemetry on Programmable Data Plane
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. LCMP: Distributed Long-Haul Cost-Aware Multi-Path Routing for Inter-Datacenter RDMA NetworksDong-Yang Yu, Yuchao Zhang, Xiaodi Wang, Jun Wang 等EuroSys 2026 · 2 次引用
  2. REAL: Emulating Control Plane at Simulator's CostZe Xia, Hao Li, Jinyu Fu, Xin Wan 等NSDI 2026 · 2 次引用
  3. MirrorNet: High-fidelity and Scalable Network Emulation for Software-defined WANCongcong Miao, Yuejie Wang, Jianming Wang, Xuefeng Ji 等NSDI 2026 · 1 次引用
  4. ZooRoute: Enhancing Cloud-Scale Network Reliability via Candidate Path Provisioning and Overlay Proactive ReroutingXiaoqing Sun, Xing Li, Xionglie Wei, Tian Pan 等NSDI 2026
  5. Harp: Improving VPC Network Availability via Efficient Failure Detection and Rerouting in Tencent CloudJiayu Hu, Feng Jin, Xianping Zhou, Kai Zhang 等NSDI 2026

它引用的 Paper13

  1. PINT: Probabilistic In-band Network TelemetryRan Ben Basat, Sivaramakrishnan Ramanathan, Yuliang Li, Gianni Antichi 等SIGCOMM 2020 · 268 次引用
  2. Alibaba HPN: A Data Center Network for Large Language Model TrainingKun Qian, Yongqing Xi, Jiamin Cao, Jiaqi Gao 等SIGCOMM 2024 · 173 次引用
  3. Flow Event Telemetry on Programmable Data PlaneYu Zhou, Chen Sun, Hongqiang Harry Liu, Rui Miao 等SIGCOMM 2020 · 139 次引用
  4. PLB: congestion signals are simple and effective for network load balancingMubashir Adnan Qureshi, Yuchung Cheng, Qianwen Yin, Qiaobin Fu 等SIGCOMM 2022 · 82 次引用
  5. NetLock: Fast, Centralized Lock Management Using Programmable SwitchesZhuolong Yu, Yiwen Zhang, Vladimir Braverman, Mosharaf Chowdhury 等SIGCOMM 2020 · 60 次引用

相关 Paper

  1. Uniform-Cost Multi-Path Routing for Reconfigurable Data Center NetworksJialong Li, Haotian Gong, Federico De Marchi, Aoyu Gong 等SIGCOMM 2024 · 14 次引用
  2. Precise Data Center Traffic Engineering with Constrained Hardware ResourcesShawn Shuoshuo Chen, Keqiang He, Rui Wang, Srinivasan Seshan 等NSDI 2024 · 7 次引用
  3. Mantis: Reactive Programmable SwitchesLiangcheng Yu, John Sonchack, Vincent LiuSIGCOMM 2020 · 37 次引用
  4. Time-division TCP for reconfigurable data center networksShawn Shuoshuo Chen, Weiyang Wang, Christopher Canel, Srinivasan Seshan 等SIGCOMM 2022 · 13 次引用
  5. Simplifying Prioritization and Scheduling with P2CSAli Munir, Xiaolin Pang, Junyi ZhangSIGCOMM 2026
黄昏的海面,两侧是细线勾勒的悬崖