AMP: A Better Multipath TCP for Data Center Networks

Morteza Kheirkhah, Myungjin LeearXiv 2017

TL;DR

This paper introduces AMP, a novel multipath TCP (MPTCP) congestion control mechanism designed for data center networks (DCNs). AMP effectively addresses two critical issues, TCP incast and the "minimum window syndrome," which hinder the adoption of existing MPTCP solutions, by adaptively switching between multipath and single-path modes to ensure fairness and robustness.

What Problem Does This Paper Address?

Data centers are increasingly leveraging the diversity of network paths to improve performance. Multipath TCP (MPTCP) is a promising technology for this, allowing a single connection to use multiple paths simultaneously. However, existing MPTCP variants struggle in DCN environments due to two main problems:

  1. TCP Incast: In many DCN workloads, like MapReduce, numerous servers send data to a single destination (many-to-one pattern). This can lead to a sudden surge of packets overwhelming network switches, causing frequent TCP incast collapses and significant delays.
  2. Minimum Window Syndrome: When MPTCP variants (like DCM and XMP) compete with single-path TCP flows (like DCTCP) on the same network links, a severe unfairness arises. The MPTCP flows can achieve 2-5 times higher throughput than single-path flows, drastically violating network fairness. This happens because the combined traffic from multiple subflows, coupled with aggressive ECN marking thresholds, forces single-path flows into a minimal congestion window state.

These issues have limited the widespread deployment of MPTCP in DCNs, despite its potential benefits.

Methods

The paper proposes AMP (Adaptive Multipath TCP), a congestion control mechanism with three core components:

  1. Subflow Suppression/Release (SSR): This is AMP's key innovation. It detects when all subflows of an AMP flow are experiencing congestion (indicated by their congestion windows (cwnd) being at their minimum). If this state persists for a short duration (a few RTTs), AMP suppresses all but one subflow, effectively turning the multipath flow into a single-path flow. When congestion subsides (indicated by the absence of ECN-marked packets for a period), AMP reactivates the suppressed subflows. This adaptive switching is crucial for handling incast and ensuring fairness.
  2. Constant Factor CWND Decrease: When ECN signals congestion, AMP reduces the cwnd of the affected subflow by a fixed factor (β). This is simpler and more aggressive than the proportional reduction used by DCM, leading to faster traffic shifting away from congested paths.
  3. RTT-agnostic CWND Increase: AMP increases the cwnd of its subflows by a small, fixed amount per ACK, independent of Round-Trip Time (RTT) measurements. This simplifies the algorithm and leverages the observation that in DCNs, RTT differences are often minimal and ECN signals are sufficient for congestion detection.

Datasets

The paper does not introduce new datasets. Instead, it uses simulations within Network Simulator-3 (NS-3) to evaluate AMP. The simulations employ realistic DCN topologies (fat-tree) and traffic patterns, including:

  • Incast workloads: Simulating many-to-one communication patterns with varying file sizes (128KB to 1MB).
  • Realistic traffic matrices: Mimicking typical DCN communication patterns.
  • Mix of multipath and single-path flows: To test fairness and coexistence.

Key Insights and Ideas

  • The "Minimum Window Syndrome" is a novel and critical problem: The paper identifies and characterizes a new fairness issue where multipath flows unfairly dominate single-path flows in DCNs, leading to significant throughput disparities.
  • Adaptive switching is key: The core idea of AMP is that a multipath flow doesn't need to be multipath all the time. Dynamically switching to a single-path mode during congestion events is crucial for both robustness (incast) and fairness (minimum window syndrome).
  • Simplicity can be a strength: AMP's design choices, like RTT-agnostic increases and fixed cwnd decreases, simplify the algorithm without sacrificing performance, making it easier to deploy and manage.
  • ECN is powerful, but needs careful application: While ECN is effective for congestion signaling, its aggressive use in existing MPTCP variants contributes to the minimum window syndrome. AMP uses ECN more judiciously.

Key Results

  • Robustness to TCP Incast: AMP significantly outperforms XMP and DCM in handling incast traffic, achieving flow completion times (FCT) that are 1-2 orders of magnitude shorter, with a much narrower standard deviation.
  • Improved Fairness: AMP effectively mitigates the minimum window syndrome, ensuring that multipath flows do not unfairly starve single-path DCTCP flows. In scenarios with competing flows, AMP achieves significantly better fairness than XMP and DCM.
  • Fast Traffic Shifting: AMP demonstrates fast traffic shifting capabilities, comparable to XMP and significantly faster than DCM, enabling it to quickly move traffic away from congested paths.
  • Minimal Performance Loss: Despite its adaptive nature, AMP incurs little to no performance penalty in terms of throughput or latency compared to other schemes in non-syndrome scenarios.
  • Scalability: AMP is shown to work well in large-scale fat-tree topologies with realistic workloads.

Limitations and Future Work

  • Parameter Tuning: While the paper provides default values for parameters like $\gamma$ (suppression threshold) and $\tau$ (release threshold), these might require fine-tuning in different network environments. The paper suggests that $\gamma=2$ and $\tau=8$ are good starting points.
  • Future Work: The paper suggests extending AMP to delay-based congestion control schemes, which could further enhance its applicability in diverse DCN scenarios. It also notes that while AMP supports up to 8 subflows, further investigation into optimal subflow counts might be beneficial.

Summary updated

Abstract

In recent years several multipath data transport mechanisms, such as MPTCP and XMP, have been introduced to effectively exploit the path diversity of data center networks (DCNs). However, these multipath schemes have not been widely deployed in DCNs. We argue that two key factors among others impeded their adoption: TCP incast and minimum window syndrome. First, these mechanisms are ill-suited for workloads with a many-to-one communication pattern, commonly found in DCNs, causing frequent TCP incast collapses. Second, the syndrome we discover for the first time, results in 2-5 times lower throughput for single-path flows than multipath flows, thus severely violating network fairness. To effectively tackle these problems, we propose AMP: an adaptive multipath congestion control mechanism that quickly detects the onset of these problems and transforms its multipath flow into a single-path flow. Once these problems disappear, AMP safely reverses this transformation and continues its data transmission via multiple paths. Our evaluation results under a diverse set of scenarios in a fat-tree topology with realistic workloads demonstrate that AMP is robust to the TCP incast problem and improves network fairness between multipath and single-path flows significantly with little performance loss.
BibTeX
@misc{kheirkhah2017amp,
  author = {Morteza Kheirkhah and Myungjin Lee},
  title = {{AMP: A Better Multipath TCP for Data Center Networks}},
  year = {2017},
  eprint = {1707.00322},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.00322},
}

Loading related content...

Figure