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

对数时间内轮数最优的n块广播调度

Round-optimal $n$-Block Broadcast Schedules in Logarithmic Time

Jesper Larsson Träff

AI总结:

本文提出每个处理器O(log p)时间的最优快速算法,用于计算消息传递系统中轮数最优的n块广播调度,将先前O(p log² p)和O(log³ p)的计算复杂度显著改进为O(log p),并在小型集群上验证了算法。

摘要:

我们给出了计算消息传递并行计算系统轮数最优广播调度的最优快速算法,每个处理器的时间复杂度为O(log p)。这肯定地回答了Träff (2022)中提出的问题。问题是将n个不可分割的数据块从给定的根处理器广播到所有其他处理器,网络为p个处理器的全连接网络(或其子图),具有完全双向、单端口通信能力。在该模型中,需要n-1+⌈log₂ p⌉个通信轮次。我们的新算法为网络中的每个处理器计算接收和发送调度,每个调度的大小为⌈log₂ p⌉,并在O(1)时间内唯一确定每个通信轮次中该处理器将接收的新块以及它必须发送的已接收块。调度计算由每个处理器独立完成,无需通信。广播通信子图与Träff (2022)及其他文献中使用的相同,是一个易于计算的、有向的、⌈log₂ p⌉正则循环图。我们展示了如何在O(log p)的最优时间和空间内完成调度计算,显著优于先前O(p log² p)和O(log³ p)的结果。调度计算和广播算法实现简单,但正确性和复杂性并不显然。所有算法均已实现,并与先前算法进行了比较,在一个36×32处理器核的小型集群上进行了简要评估。

英文摘要:

We give optimally fast $O(\log p)$ time (per processor) algorithms for computing round-optimal broadcast schedules for message-passing parallel computing systems. This affirmatively answers the questions posed in Träff (2022). The problem is to broadcast $n$ indivisible blocks of data from a given root processor to all other processors in a (subgraph of a) fully connected network of $p$ processors with fully bidirectional, one-ported communication capabilities. In this model, $n-1+\lceil\log_2 p\rceil$ communication rounds are required. Our new algorithms compute for each processor in the network receive and send schedules each of size $\lceil\log_2 p\rceil$ that determine uniquely in $O(1)$ time for each communication round the new block that the processor will receive, and the already received block it has to send. Schedule computations are done independently per processor without communication. The broadcast communication subgraph is the same, easily computable, directed, $\lceil\log_2 p\rceil$-regular circulant graph used in Träff (2022) and elsewhere. We show how the schedule computations can be done in optimal time and space of $O(\log p)$, improving significantly over previous results of $O(p\log^2 p)$ and $O(\log^3 p)$. The schedule computation and broadcast algorithms are simple to implement, but correctness and complexity are not obvious. All algorithms have been implemented, compared to previous algorithms, and briefly evaluated on a small $36\times 32$ processor-core cluster.

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

↑