[Paper Review] Chopin: Combining Distributed and Centralized Schedulers for Self-Adjusting Datacenter Networks
Chopin proposes a hybrid scheduler for self-adjusting datacenter networks that combines a centralized scheduler for global optimization of elephant flows and a fast distributed scheduler for local, real-time adaptation to traffic changes. By leveraging global knowledge for critical flows and local responsiveness for dynamic adjustments, Chopin achieves up to 23% higher optical throughput ratio than distributed-only schedulers, outperforming both centralized and distributed approaches across diverse traffic patterns.
Despite the widespread usage of FIFO queues in distributed applications, designing efficient wait-free implementations of queues remains a challenge. The majority of wait-free queue implementations restrict either the number of dequeuers or the number of enqueuers that can operate on the queue, even when they use strong synchronization primitives, like the Compare&Swap. If we do not limit the number of processes that can perform enqueue and dequeue operations, the best-known upper bound on the worst case step complexity for a wait-free queue is given by [Khanchandani and Wattenhofer, 2018]. In particular, they present an implementation of a multiple dequeuer multiple enqueuer wait-free queue whose worst case step complexity is in O(√n), where n is the number of processes. In this work, we investigate whether it is possible to improve this bound. In particular, we present a wait-free FIFO queue implementation that supports n enqueuers and k dequeuers where the worst case step complexity of an Enqueue operation is in O(log n) and of a Dequeue operation is in O(k log n). Then, we show that if the semantics of the queue can be relaxed, by allowing concurrent Dequeue operations to retrieve the same element, then we can achieve O(log n) worst-case step complexity for both the Enqueue and Dequeue operations.
Motivation & Objective
- To address the scalability challenge in demand-aware, reconfigurable datacenter networks (RDCNs) by balancing global optimization and local responsiveness.
- To improve network throughput by exploiting temporal and spatial locality in communication patterns, especially for high-bandwidth elephant flows.
- To reduce the control plane bottleneck inherent in fully centralized schedulers while avoiding suboptimal decisions from fully distributed approaches.
- To design a hybrid scheduler that maintains low overhead while achieving near-optimal performance across diverse, dynamic traffic patterns.
- To evaluate the trade-offs between centralized and distributed scheduling under real-world traffic distributions and varying network conditions.
Proposed method
- Chopin uses a centralized scheduler to allocate optical circuits to elephant flows using global traffic information, updated every 3 ms.
- A distributed scheduler operates locally at each rack, reacting swiftly to traffic changes using only local flow measurements and a uniform threshold mechanism.
- The system employs a threshold-based policy: if a flow’s rate exceeds a predefined threshold, it is prioritized for optical circuit allocation.
- The centralized scheduler computes optimal circuit allocations based on global flow statistics, while the distributed scheduler dynamically adjusts local routing to maintain high utilization.
- Chopin integrates both schedulers by allowing the distributed scheduler to handle most flows in real time, while the centralized scheduler corrects long-term imbalances and optimizes for high-bandwidth flows.
- The architecture is evaluated under realistic traffic patterns (HULL, pFabric, VL2) using a simulation framework with varying network sizes, host rates, and optical degrees.
Experimental results
Research questions
- RQ1How does a hybrid scheduler combining centralized and distributed scheduling improve throughput in self-adjusting datacenter networks compared to purely centralized or distributed approaches?
- RQ2What is the impact of scheduling frequency and information granularity on optical throughput ratio under different traffic patterns?
- RQ3How does the optical degree of ToR switches affect the performance of the hybrid scheduler across varying workloads?
- RQ4To what extent does Chopin’s performance approach that of an online optimal scheduler with frequent centralized updates?
- RQ5How does the system scale across different network sizes and host data rates under bursty, skewed traffic?
Key findings
- Chopin increases the optical throughput ratio by up to 16% compared to the distributed-only scheduler under the HULL traffic pattern.
- Under the pFabric pattern, Chopin improves optical throughput by 20% over the distributed scheduler, and by 23% under the VL2 pattern.
- Even with centralized updates every 1 ms (approaching online optimality), Chopin shows only marginal gains under VL2, indicating that high-frequency updates provide diminishing returns for long-lived flows.
- For short-lived flows (e.g., HULL), Chopin benefits significantly from more frequent centralized updates, achieving up to 20% improvement with 1-ms updates.
- As the optical degree of ToR switches increases, Chopin’s performance improves and approaches the optimal, especially benefiting from higher connectivity in elephant-heavy workloads.
- Chopin outperforms both centralized and distributed schedulers across all tested traffic patterns, demonstrating robustness and adaptability to dynamic workloads.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.