TL;DR
This paper tackles the challenge of efficiently configuring reconfigurable optical networks in datacenters by developing fast algorithms for finding multiple, high-weight, edge-disjoint matchings. They introduce and evaluate six novel algorithms, demonstrating that while the problem is NP-hard, practical solutions can achieve near-optimal results quickly, with the best choice depending on the number of matchings required.
What Problem Does This Paper Address?
Modern datacenters are increasingly relying on data-intensive applications, leading to an explosion in network traffic. Traditional datacenter networks are often static and oblivious to this traffic. Emerging reconfigurable optical technologies offer a solution by allowing the physical network topology to be dynamically adjusted. Specifically, these technologies can establish and update direct connections between top-of-rack switches in microseconds, forming "edge-disjoint matchings." To fully leverage this dynamic capability and maximize the amount of traffic handled by the reconfigurable network, fast algorithms are needed to compute these matchings, especially when multiple matchings (k) are desired simultaneously. This paper addresses the problem of finding k disjoint weighted matchings that maximize the total traffic demand they can carry.
Methods
The authors propose and analyze six algorithms for the k-disjoint weighted matching problem. These algorithms draw inspiration from existing techniques for related problems:
- Iterative Matching Algorithms (*-It): These algorithms repeatedly find a single heavy matching using established methods (like the greedy approach or the Blossom algorithm) and then remove the used edges to find the next matching. This is done k times.
- b-Matching and Edge Coloring Inspired Algorithms: One approach leverages the fact that a k-disjoint matching is a specific type of b-matching. Another algorithm adapts edge-coloring techniques, where edges are assigned colors (representing matchings) such that no two edges incident to the same vertex share a color.
- Node-Centered Algorithm: This novel approach uses a "rating" system for vertices and greedily assigns edges to matchings based on these ratings and available colors.
The paper also explores postprocessing techniques like ROMA (Random Order Matching Augmentation) and Swaps to further improve the quality of the computed matchings.
Datasets
The authors evaluated their algorithms on a diverse set of 88 instances, including:
- Facebook Datacenter Traces: Six real-world production traces from Facebook's Altoona Data Center, representing large-scale networks.
- HPC Cluster Traces: Four instances from High-Performance Computing clusters.
- Synthetic pFabric Traces: Three synthetic traces generated based on Poisson processes.
- Florida Sparse Matrix Collection: Nine instances from various domains like collaboration networks and sensor data.
- Kronecker Graphs: 66 synthetic graphs generated using the Graph500 RMAT generator, with varying demand distributions (uniform and exponential).
Key Insights and Ideas
- NP-Hardness is Not a Showstopper: While the problem is proven to be NP-hard, the authors demonstrate that fast, near-optimal solutions are achievable in practice, which is crucial for real-time datacenter operations.
- Algorithm Choice Matters: There isn't a single "best" algorithm for all scenarios. The optimal choice depends heavily on the value of k and the acceptable trade-off between running time and solution quality.
- Iterative vs. Direct Approaches: Iterative methods (like Blossom-It) can achieve high quality but are computationally expensive, especially for larger k. Edge-coloring-based and node-centered approaches offer a better balance of speed and quality for larger k.
- Postprocessing Boosts Quality: Techniques like LocalSwaps and ROMA can significantly improve the quality of matchings, often with a manageable increase in runtime.
- Practical Performance Surprises: The k-edge coloring (k-EC) and NodeCentered algorithms, despite their complexity, often outperform simpler iterative methods in terms of speed, especially for larger k.
Key Results
- High Quality Achieved: All proposed algorithms consistently produced high-quality matchings, often within 95% or more of the best-found solution (or the unknown optimum).
- Speed vs. Quality Trade-off:
- For small k, iterative approaches like GPA-It with LocalSwaps offer a good balance of speed and quality.
- For larger k, the k-EC algorithm stands out, with running times that barely increase with k and quality scores consistently high.
- Blossom-It, while achieving the best quality, is significantly slower and only practical for small k or when runtime is not a constraint.
- Specific Performance Gains:
- k-EC with the "common color" (CC) flag significantly reduces running time and improves quality.
- NodeCentered with the kSUM aggregation function and a threshold of 0.2 proved to be a strong configuration.
- GPA-It with LocalSwaps showed a notable quality improvement over plain GPA-It.
- Runtime Differences: The k-EC and NodeCentered algorithms were found to be significantly faster than the iterative -It algorithms, especially for larger values of k. For instance, k-EC achieved speedups of up to 21.6x over Greedy-It with LocalSwaps for k*=96 on Facebook instances.
Limitations and Future Work
- NP-Hardness: The inherent NP-hardness of the problem means that finding the absolute optimal solution is computationally infeasible for large instances. The paper focuses on finding good approximations.
- Randomized Algorithms: While GPA-It with ROMA was analyzed, the authors suggest further exploring the potential of other randomized algorithms.
- Real-World Deployment: The paper calls for deploying and experimenting with these algorithms in actual datacenter networks equipped with optical circuit switches to validate their performance in a live environment.
- Further Algorithmic Exploration: The authors hint at the complexity of the problem for k=2 still being an open question, suggesting room for further theoretical investigation.
Summary updated