Dynamic Demand-Aware Link Scheduling for Reconfigurable Datacenters

Kathrin Hanauer, Monika Henzinger, Lara Ost, Stefan Schmid

TL;DR

This paper tackles the bottleneck in reconfigurable datacenter networks: the slow computation of optimal network topologies. They introduce dynamic and batch-dynamic algorithms that incrementally update network configurations based on traffic changes, significantly speeding up the process and reducing disruptive topology changes compared to recomputing from scratch.

What Problem Does This Paper Address?

Modern datacenters rely on high-throughput networks to handle massive data transfers for applications like distributed machine learning. Reconfigurable datacenter networks use optical switches to dynamically adjust the network topology, creating direct connections between racks as needed. While optical switches can reconfigure very quickly (microseconds), the process of determining the best topology (a set of "heavy" disjoint matchings) based on current traffic demands is computationally expensive. This optimization step can take much longer than the actual reconfiguration, becoming the bottleneck and preventing the network from fully leveraging its dynamic capabilities. The paper aims to bridge this gap by developing faster algorithms for this topology optimization.

Methods

The core of this paper is the development and evaluation of several new algorithms for the "weighted k-disjoint matching problem," which models the datacenter topology optimization. They propose:

  • Dynamic Algorithms: These algorithms update the network configuration after each individual traffic update.
  • Batch-Dynamic Algorithms: These algorithms process a batch of traffic updates together, allowing for more efficient collective updates.
  • Hybrid Algorithms: These algorithms intelligently switch between dynamic and static (recomputing from scratch) approaches based on the size of the update batch.
  • Speedup Technique: A universal method to filter out insignificant traffic updates, reducing unnecessary computation.
  • Post-Processing Routine: A technique to improve the quality of the computed topology, ensuring it's close to optimal.

These new algorithms are compared against existing static algorithms, particularly "kEC," which is identified as a strong baseline.

Datasets

The authors evaluated their algorithms on a diverse set of datasets:

  • Real-World Instances: 39 datasets derived from actual network traffic traces (e.g., Facebook, HPC, pfab).
  • Synthetic Instances: 176 datasets generated using the RMAT model, designed to mimic various network properties like skewed degree distributions and small-world characteristics.
  • Split Instances: A novel benchmark created from real-world traces by splitting batches into smaller sub-batches. This was done to simulate higher resolution traffic and study the impact of more frequent, smaller updates.

Key Insights and Ideas

  • Temporal Locality is Key: Traffic patterns in datacenters often exhibit temporal locality, meaning changes in demand are often incremental. This makes recomputing the entire topology from scratch inefficient; incremental updates are more effective.
  • Dynamic Updates Reduce Disruption: Dynamic algorithms not only speed up computation but also lead to fewer topology changes. This is crucial for ongoing data transfers, as fewer flows will be interrupted.
  • Batching Offers a Sweet Spot: Processing updates in batches strikes a good balance between responsiveness and computational efficiency, often outperforming individual dynamic updates.
  • Hybrid Approaches are Versatile: Combining dynamic and static methods allows algorithms to adapt to different update patterns, offering a robust general-purpose solution.
  • Post-processing is Crucial for Quality: While dynamic algorithms are fast, a post-processing step is vital to ensure the computed topology achieves a high solution weight (i.e., effectively utilizes the network).

Key Results

  • Significant Speedups: Dynamic and batch-dynamic algorithms consistently outperformed static algorithms in terms of running time, especially on instances with smaller batches or more frequent updates. For example, on synthetic instances, some dynamic algorithms achieved speedups of up to 5.2x over the static kEC.
  • Comparable Solution Weights: With the aid of filtering and post-processing, the dynamic and hybrid algorithms achieved solution weights very close to the best static algorithms (often within 1-2% difference).
  • Reduced Recourse: Dynamic algorithms significantly reduced the "recourse" (number of topology changes) compared to static methods, leading to less network disruption. For instance, some dynamic algorithms achieved recourse as low as 30% relative to kEC.
  • Algorithm Recommendations: The paper provides clear recommendations based on batch size and the number of matchings (k):
  • Small batches/few matchings: batch-apx offers the best trade-off.
  • More matchings: dyn-greedy-rpf and dyn-kEC-pf provide speed and high weights.
  • Large batches: hybrid-kEC and hybrid-greedy-rpf are excellent general-purpose choices.
  • Top priority on solution weight: kEC remains the best choice.

Limitations and Future Work

  • Centralized Control Assumption: The current algorithms assume a centralized controller. Future work could explore distributed versions of these algorithms, which would be more aligned with emerging distributed control architectures in datacenters.
  • Online Algorithms: The paper focuses on algorithms that process batches of updates. Exploring online algorithms that don't require knowledge of future traffic demands could be beneficial, as traffic predictability is application-specific.
  • Exploiting Headroom: The authors suggest investigating how dynamic schedulers could leverage "headroom" (available capacity) for repetitive applications to pre-compute solutions and further improve performance.
  • Parameter Tuning: While preliminary studies were done, further exploration of parameter tuning for dynamic algorithms could yield even better results.

Summary updated

BibTeX
@inproceedings{hanauer2023dynamic,
  author = {Kathrin Hanauer and Monika Henzinger and Lara Ost and Stefan Schmid},
  title = {{Dynamic Demand-Aware Link Scheduling for Reconfigurable Datacenters}},
  booktitle = {INFOCOM},
  year = {2023},
  url = {https://openreview.net/forum?id=BuB5FAbdaAV},
}
Figure