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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Böhnlein, Toni, Papp, Pál András, Yzelman, A. N.
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914940021899264
author Böhnlein, Toni
Papp, Pál András
Yzelman, A. N.
author_facet Böhnlein, Toni
Papp, Pál András
Yzelman, A. N.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_03898
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Red-Blue Pebbling with Multiple Processors: Time, Communication and Memory Trade-offs
Böhnlein, Toni
Papp, Pál András
Yzelman, A. N.
Distributed, Parallel, and Cluster Computing
Computational Complexity
68Q10, 68Q17, 68Q85,
F.2.2; F.1.1
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.
title Red-Blue Pebbling with Multiple Processors: Time, Communication and Memory Trade-offs
topic Distributed, Parallel, and Cluster Computing
Computational Complexity
68Q10, 68Q17, 68Q85,
F.2.2; F.1.1
url https://arxiv.org/abs/2409.03898