[论文解读] Chopin: Combining Distributed and Centralized Schedulers for Self-Adjusting Datacenter Networks
Chopin 提出了一种用于自适应数据中心网络的混合调度器,结合了集中式调度器对关键流进行全局优化,以及分布式调度器对本地流量变化的快速实时响应。通过利用全局知识处理关键流,同时依靠本地响应能力实现动态调整,Chopin 相较于仅使用分布式调度器的方案,实现了高达23%的光路吞吐率提升,在各类流量模式下均优于集中式与分布式方案。
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.
研究动机与目标
- 为应对需求感知、可重构数据中心网络(RDCNs)中的可扩展性挑战,平衡全局优化与本地响应能力。
- 通过利用通信模式中的时间与空间局部性,特别是针对高带宽的“大象流”,提升网络吞吐量。
- 减少完全集中式调度器固有的控制平面瓶颈,同时避免完全分布式方法可能导致的次优决策。
- 设计一种混合调度器,在保持低开销的同时,实现对多样化、动态流量模式的近似最优性能。
- 评估在真实世界流量分布及不同网络条件下,集中式与分布式调度之间的权衡。
提出的方法
- Chopin 使用集中式调度器,基于每3 ms更新一次的全局流量信息,为大象流分配光路。
- 分布式调度器在每个机架本地运行,仅依赖本地流量测量和统一阈值机制,快速响应流量变化。
- 系统采用基于阈值的策略:若某一流量速率超过预设阈值,则优先分配光路。
- 集中式调度器基于全局流统计信息计算最优光路分配方案,而分布式调度器则动态调整本地路由以维持高利用率。
- Chopin 通过允许分布式调度器实时处理大部分流量,同时由集中式调度器纠正长期失衡并优化高带宽流,实现两种调度器的集成。
- 该架构在真实流量模式(HULL、pFabric、VL2)下进行评估,采用支持不同网络规模、主机速率和光路度数的仿真框架。
实验结果
研究问题
- RQ1与纯集中式或纯分布式方法相比,结合集中式与分布式调度的混合调度器在自适应数据中心网络中如何提升吞吐量?
- RQ2在不同流量模式下,调度频率与信息粒度对光路吞吐率比的影响如何?
- RQ3ToR 交换机的光路度数如何影响混合调度器在不同工作负载下的性能表现?
- RQ4Chopin 的性能在多大程度上接近于频繁集中更新的在线最优调度器?
- RQ5在突发性、倾斜分布的流量下,系统在不同网络规模和主机数据速率下的可扩展性如何?
主要发现
- 在 HULL 流量模式下,Chopin 相较于仅使用分布式调度器的方案,光路吞吐率比最高提升16%。
- 在 pFabric 模式下,Chopin 相较于分布式调度器实现20%的光路吞吐率提升;在 VL2 模式下,提升达23%。
- 即使集中式更新频率达到1 ms(接近在线最优),Chopin 在 VL2 模式下仅获得微小增益,表明对长时流而言,高频更新带来的收益递减。
- 对于短时流(如 HULL),Chopin 显著受益于更频繁的集中式更新,1 ms 更新频率下可实现最高20%的性能提升。
- 随着 ToR 交换机光路度数的提升,Chopin 的性能持续改善,并趋近最优,尤其在大象流密集的工作负载中受益更明显。
- 在所有测试的流量模式下,Chopin 均优于集中式与分布式调度器,展现出对动态工作负载的强鲁棒性与适应性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。