arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.04205cs.LO
收藏

一种用于资源分配启发式算法的性能验证方法

A Performance Verification Methodology for Resource Allocation Heuristics

Saksham Goel, Benjamin Mikek, Jehad Aly, Venkat Arun, Ahmed Saeed, Aditya Akella

AI总结:

本文提出资源分配启发式算法的性能验证方法及 Virelay 框架,通过六个案例研究验证其在经典调度、拥塞控制等方面的效用,并发现 Linux CFS 负载均衡器的两个缺陷。

摘要:

性能验证是一种新兴但有前景的工具,用于在现实假设下理解启发式算法的性能与局限性。定制的性能验证工具已经在拥塞控制和数据包调度等场景中证明了其价值。在本文中,我们旨在强调性能验证的广泛适用性和实用性。为此,我们阐述了性能验证的设计原则。然后,我们利用这些理解制定了一套易于遵循的指导方针,适用于广泛的资源分配启发式算法。特别地,我们引入了 Virelay,一个使启发式算法设计者能够在一个类似于离散事件模拟器的环境中表达其算法行为及其对系统假设的框架。我们通过将 Virelay 应用于六个不同的案例研究来展示其实用性和易用性。我们在实际假设下给出了经典算法、work stealing 和 SRPT 调度的性能界限。我们通过捕获拥塞控制和数据包调度的现有模型来展示 Virelay 的表达能力,并验证了 TCP 不公平性可能导致某些 ML 训练工作负载自发收敛到高网络利用率状态的观察结果。最后,我们使用 Virelay 识别了 Linux CFS 负载均衡器中的两个缺陷。

英文摘要:

Performance verification is a nascent but promising tool for understanding the performance and limitations of heuristics under realistic assumptions. Bespoke performance verification tools have already demonstrated their value in settings like congestion control and packet scheduling. In this paper, we aim to emphasize the broad applicability and utility of performance verification. To that end, we highlight the design principles of performance verification. Then, we leverage that understanding to develop a set of easy-to-follow guidelines that are applicable to a wide range of resource allocation heuristics. In particular, we introduce Virelay, a framework that enables heuristic designers to express the behavior of their algorithms and their assumptions about the system in an environment that resembles a discrete-event simulator. We demonstrate the utility and ease-of-use of Virelay by applying it to six diverse case studies. We produce bounds on the performance of classical algorithms, work stealing and SRPT scheduling, under practical assumptions. We demonstrate Virelay's expressiveness by capturing existing models for congestion control and packet scheduling, and we verify the observation that TCP unfairness can cause some ML training workloads to spontaneously converge to a state of high network utilization. Finally, we use Virelay to identify two bugs in the Linux CFS load balancer.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑