Mitigating the Performance Impact of Network Failures in Public Clouds

Pooria Namyar, Behnaz Arzani, Daniel Crankshaw, Daniel S. Berger, Kevin Hsieh, Srikanth Kandula, Ramesh GovindanarXiv 2023 · OpenReview

Abstract

Some faults in data center networks require hours to days to repair because they may need reboots, re-imaging, or manual work by technicians. To reduce traffic impact, cloud providers mitigate the effect of faults, for example, by steering traffic to alternate paths. The state-of-art in automatic network mitigations uses simple safety checks and proxy metrics to determine mitigations. SWARM, the approach described in this paper, can pick orders of magnitude better mitigations by estimating end-to-end connection-level performance (CLP) metrics. At its core is a scalable CLP estimator that quickly ranks mitigations with high fidelity and, on failures observed at a large cloud provider, outperforms the state-of-the-art by over 700x in some cases.

Introduction

In massive cloud datacenters, network failures—such as lossy links or persistent congestion—are inevitable. While hardware repairs can take hours or days, operators must implement "mitigations" (like disabling a link or rerouting traffic) within minutes to protect customer experience.

Currently, most auto-mitigation systems rely on local criteria (e.g., "disable a link if it drops >0.1% of packets") or proxy metrics like link utilization. However, these metrics often fail to correlate with end-to-end performance. For example, disabling a lossy link might seem beneficial, but if the action causes massive congestion on remaining paths, the user's Flow Completion Time (FCT) may actually worsen. This "proxy metric trap" occurs because local metrics ignore how different transport protocols react to loss and congestion. The challenge lies in predicting global, end-to-end impact quickly enough to act in real-time.

The SWARM Approach

SWARM is a failure mitigation system that ranks potential recovery actions based on their predicted impact on end-to-end user experience, specifically throughput and flow completion time. The system centers around a novel Connection-Level Performance Estimator (CLPEstimator).

A core insight of SWARM is that effective mitigation requires accurate ranking of actions rather than absolute performance prediction. This allows the system to use several clever approximations to rank mitigations in under five minutes:

  • Traffic & Routing Sampling: SWARM uses historical distributions of flow arrivals and sizes to sample potential network states, accounting for ECMP/WCMP uncertainty.
  • Differentiated Flow Modeling: Short flows (latency-sensitive) are modeled based on RTT and queueing delays, while long flows (throughput-sensitive) are modeled using a demand-aware max-min fair bandwidth sharing algorithm.
  • Epoch-based Estimation: Time is divided into discrete epochs to capture shifting network bottlenecks as flows arrive and depart.
  • Aggressive Scaling: To handle topologies with over 16,000 servers, SWARM employs parallelism and an ultra-fast max-min fair computation algorithm, providing a 36x speedup over standard methods.
The SWARM design architecture, featuring the core CLPEstimator component.

Evaluation and Results

Researchers evaluated SWARM using Azure production logs, standard benchmarks (DCTCP and FbHadoop), and a suite of 57 common incident types, including link-level corruption and switch failures. Evaluation was performed across Mininet (emulation), NS3 (simulation), and a physical testbed featuring Arista 7050QX-32 switches.

SWARM demonstrated massive performance gains, achieving a 793x lower performance penalty on 99th percentile FCT compared to state-of-the-art baselines like NetPilot or CorrOpt. The system proved resilient to noisy input data, consistently picking optimal or near-optimal actions even with errors in failure localization or packet drop rate estimates.

Performance penalty on 99th percentile FCT for SWARM vs. baselines.

Discussion and Future Work

While SWARM significantly improves mitigation for TCP-like traffic, future work is required to model RDMA-specific behaviors, such as Priority Flow Control (PFC) pauses. Additionally, the current model assumes a quasi-steady state and does not fully capture the micro-transients that occur during switch reboots. Expanding the system to account for the higher RTTs and unique dynamics of Wide Area Network (WAN) traffic is a suggested next step for holistic cloud network management.

Summary updated

Abstract

Some faults in data center networks require hours to days to repair because they may need reboots, re-imaging, or manual work by technicians. To reduce traffic impact, cloud providers \textit{mitigate} the effect of faults, for example, by steering traffic to alternate paths. The state-of-art in automatic network mitigations uses simple safety checks and proxy metrics to determine mitigations. SWARM, the approach described in this paper, can pick orders of magnitude better mitigations by estimating end-to-end connection-level performance (CLP) metrics. At its core is a scalable CLP estimator that quickly ranks mitigations with high fidelity and, on failures observed at a large cloud provider, outperforms the state-of-the-art by over 700$\times$ in some cases.
BibTeX
@misc{namyar2023mitigating,
  author = {Pooria Namyar and Behnaz Arzani and Daniel Crankshaw and Daniel S. Berger and Kevin Hsieh and Srikanth Kandula and Ramesh Govindan},
  title = {{Mitigating the Performance Impact of Network Failures in Public Clouds}},
  year = {2023},
  eprint = {2305.13792},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.13792},
}

Loading related content...

Figure