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

一种通信与内存感知的负载均衡任务模型

A Communication- and Memory-Aware Model for Load Balancing Tasks

Jonathan Lifflander, Philippe P. Pebay, Nicole L. Slattengren, Pierre L. Pebay, Robert A. Pfeiffer, Joseph D. Kotulski, Sean T. McGovern

AI总结:

提出统一的降阶模型描述分布式系统中计算、通信与内存的权衡,设计分布式启发式负载均衡算法,在电磁学代码中实现高达2.3倍加速。

摘要:

尽管分布式内存计算中的负载均衡已被深入研究,我们提出了一种创新方法:一个统一的降阶模型,结合三个关键组件来描述分布式系统中的“工作”:计算、通信和内存。该模型使优化器能够探索任务放置中的复杂权衡,例如以增加数据复制为代价提高并行度,从而增加内存使用。我们提出了一种完全分布式的、基于启发式的负载均衡优化算法,并证明它能快速找到接近最优的解。我们将该复杂优化问题形式化为混合整数线性规划,并与我们的策略进行比较。最后,我们表明,当应用于电磁学代码时,我们的方法在不平衡执行中获得了高达2.3倍的加速。

英文摘要:

While load balancing in distributed-memory computing has been well-studied, we present an innovative approach to this problem: a unified, reduced-order model that combines three key components to describe "work" in a distributed system: computation, communication, and memory. Our model enables an optimizer to explore complex tradeoffs in task placement, such as increased parallelism at the expense of data replication, which increases memory usage. We propose a fully distributed, heuristic-based load balancing optimization algorithm, and demonstrate that it quickly finds close-to-optimal solutions. We formalize the complex optimization problem as a mixed-integer linear program, and compare it to our strategy. Finally, we show that when applied to an electromagnetics code, our approach obtains up to 2.3x speedups for the imbalanced execution.

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

↑