arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.03898cs.DCcs.CC
收藏

多处理器下的红蓝 Pebbling:时间、通信与内存的权衡

Red-Blue Pebbling with Multiple Processors: Time, Communication and Memory Trade-offs

Toni Böhnlein, Pál András Papp, A. N. Yzelman

AI总结:

本文将红蓝 Pebbling 推广到多处理器场景,分析时间、通信与内存的权衡,并证明标准及多处理器 Pebbling 的 I/O 代价不可有限近似、总代价仅可有限常数近似。

摘要:

已被充分研究的红蓝 Pebble 游戏刻画了单个处理器在两级存储层次上执行任意计算 DAG 的过程。我们提出了一种自然的多处理器推广,其中每个处理器拥有自己有限的快速内存,所有处理器共享无限的慢速内存。据我们所知,这是首个将 Pebbling 与 DAG 调度问题结合起来的系统研究,刻画了具有内存约束和通信代价的多处理器上通用工作负载的计算过程。我们的 Pebbling 模型使我们能够分析工作负载均衡、通信和内存限制之间的权衡,并且能够捕捉现实世界中的因素,例如并行化带来的超线性加速。我们的结果包括 Pebbling 代价的上界和下界、对贪心 Pebbling 策略的分析,以及将更简单模型中的 NP 困难性结果扩展到特定 DAG 类别。作为主要技术贡献,我们展示了两个不可近似性结果,这些结果已经适用于长期存在的标准红蓝 Pebbling 问题:(i)最优 I/O 代价不能被近似到任何有限因子;(ii)最优总代价(I/O+计算)只能被近似到有限的常数因子,即它不允许存在多项式时间近似方案。这些结果也自然地适用于我们的多处理器 Pebbling 模型。

英文摘要:

The well-studied red-blue pebble game models the execution of an arbitrary computational DAG by a single processor over a two-level memory hierarchy. We present a natural generalization to a multiprocessor setting where each processor has its own limited fast memory, and all processors share unlimited slow memory. To our knowledge, this is the first thorough study that combines pebbling and DAG scheduling problems, capturing the computation of general workloads on multiple processors with memory constraints and communication costs. Our pebbling model enables us to analyze trade-offs between workload balancing, communication and memory limitations, and it captures real-world factors such as superlinear speedups due to parallelization. Our results include upper and lower bounds on the pebbling cost, an analysis of a greedy pebbling strategy, and an extension of NP-hardness results for specific DAG classes from simpler models. For our main technical contribution, we show two inapproximability results that already hold for the long-standing problem of standard red-blue pebbling: (i) the optimal I/O cost cannot be approximated to any finite factor, and (ii) the optimal total cost (I/O+computation) can only be approximated to a limited constant factor, i.e., it does not allow for a polynomial-time approximation scheme. These results also carry over naturally to our multiprocessor pebbling model.

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

↑