English

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

Distributed, Parallel, and Cluster Computing 2024-04-03 v2

Abstract

We give optimally fast O(logp)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\"aff (2022). The problem is to broadcast nn indivisible blocks of data from a given root processor to all other processors in a (subgraph of a) fully connected network of pp processors with fully bidirectional, one-ported communication capabilities. In this model, n1+log2pn-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 log2p\lceil\log_2 p\rceil that determine uniquely in O(1)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, log2p\lceil\log_2 p\rceil-regular circulant graph used in Tr\"aff (2022) and elsewhere. We show how the schedule computations can be done in optimal time and space of O(logp)O(\log p), improving significantly over previous results of O(plog2p)O(p\log^2 p) and O(log3p)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×3236\times 32 processor-core cluster.

Keywords

Cite

@article{arxiv.2312.11236,
  title  = {Round-optimal $n$-Block Broadcast Schedules in Logarithmic Time},
  author = {Jesper Larsson Träff},
  journal= {arXiv preprint arXiv:2312.11236},
  year   = {2024}
}
R2 v1 2026-06-28T13:54:40.529Z