Red-Blue Pebbling with Multiple Processors: Time, Communication and Memory Trade-offs
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- A Lower Bound Technique for Communication in BSPACM Transactions on Parallel Computing, 2017
- Trade-Offs Between Synchronization, Communication, and Computation in Parallel Linear Algebra ComputationsACM Transactions on Parallel Computing, 2016
- Upper and lower I/O bounds for pebbling r-pyramidsJournal of Discrete Algorithms, 2012
- Some APX-completeness results for cubic graphsTheoretical Computer Science, 2000
- The bulk-synchronous parallel random access machineTheoretical Computer Science, 1998
- Asymptotically tight bounds on time-space trade-offs in a pebble gameJournal of the ACM, 1982
- Improved Bounds on the Problem of Time-Space Trade-Off in the Pebble GameJournal of the ACM, 1980
- On Time Versus SpaceJournal of the ACM, 1977
- Bounds on Multiprocessing Timing AnomaliesSIAM Journal on Applied Mathematics, 1969