ABSTRACT
Red-blue pebbling is a model of computation that captures the complexity of I/O operations in systems with external memory access. We focus on one-shot pebbling strategies, that is without re-computation. Prior work on this model has focused on finding upper and lower bounds on the I/O complexity of certain families of graphs. We give a polynomial-time bi-criteria approximation algorithm for this problem for graphs with bounded out-degree. More precisely, given a n-vertex DAG that admits a pebbling strategy with R red pebbles and I/O complexity opt, our algorithm outputs a strategy using O(R ⋅ log3/2 n) red pebbles, and I/O complexity O(opt ⋅ log3/2 n). We further extend our result to the generalization of red-blue pebble games that correspond to multi-level memory hierarchies. Finally, we complement our theoretical analysis with an experimental evaluation of our algorithm for red-blue pebbling.
- A. Agarwal, M. Charikar, K. Makarychev, and Y. Makarychev. O(sqrt log n) approximation algorithms for min uncut, min 2cnf deletion, and directed cut problems. In Proc. of the 37th Annual ACM Symposium on Theory of Computing, STOC '05, 2005. Google ScholarDigital Library
- P. Austrin, T. Pitassi, and Y. Wu. Inapproximability of treewidth, one-shot pebbling, and related layout problems. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, pages 13--24. Springer, 2012.Google Scholar
- D. A. Bader, H. Meyerhenke, P. Sanders, and D. Wagner. Graph partitioning and graph clustering - 10th DIMACS implementation challenge workshop.Google Scholar
- S. M. Chan, M. Lauria, J. Nordstrom, and M. Vinyals. Hardness of approximation in PSPACE and separation results for pebble games. In Proc. of IEEE 56th Ann. Symp. on Found. of Comp. Science, 2015. Google ScholarDigital Library
- V. Elango, F. Rastello, L.-N. Pouchet, J. Ramanujam, and P. Sadayappan. Data access complexity: The red/blue pebble game revisited. Technical report, OSU-CISRC-7/13-TR16, Ohio State University, 2013.Google Scholar
- U. Feige, M. Hajiaghayi, and J. R. Lee. Improved approximation algorithms for minimum-weight vertex separators. In Proc. of the 37th Annual ACM Symp. on Theory of Comp., STOC '05, 2005. Google ScholarDigital Library
- J.-W. Hong and H. T. Kung. I/O complexity: The red-blue pebble game. In Proc. of the 13th Annual ACM Symposium on Theory of Computing, 1981. Google ScholarDigital Library
- G. Karypis and V. Kumar. Metis--unstructured graph partitioning and sparse matrix ordering system, version 2.0. 1995.Google Scholar
- G. Karypis and V. Kumar. A fast and high quality multilevel scheme for partitioning irregular graphs. SIAM J. Sci. Comput., 20(1):359--392, December 1998. Google ScholarDigital Library
- P. Klein, A. Agrawal, R. Ravi, and S. Rao. Approximation through multicommodity flow. In Proc. of the 30th Ann. Symp. on Found. of Comp. Science, 1989. Google ScholarDigital Library
- T. Leighton and S. Rao. Multicommodity max-flow min-cut theorems and their use in designing approximation algorithms. J. ACM, 46(6):787--832, 1999. Google ScholarDigital Library
- J. Nordström. New wine into old wineskins: A survey of some pebbling classics with supplemental results. Foundations and Trends in Theoretical Computer Science. http://people.csail.mit.edu/jakobn, 2010.Google Scholar
- N. Pippenger. Advances in pebbling. Springer, 1982.Google ScholarCross Ref
- D. Ranjan, J. Savage, and M. Zubair. Upper and lower I/O bounds for pebbling r-pyramids. Journal of Discrete Algorithms, 14:2--12, 2012. Google ScholarDigital Library
- J. E. Savage. Extending the hong-kung model to memory hierarchies. In Computing and Combinatorics, pages 270--281. Springer, 1995. Google ScholarDigital Library
- F. Shahrokhi and D. W. Matula. The maximum concurrent flow problem. Journal of the ACM (JACM), 37(2):318--334, 1990. Google ScholarDigital Library
Index Terms
- Brief Announcement: Approximating the I/O Complexity of One-Shot Red-Blue Pebbling
Recommendations
Pebbles, Graphs, and a Pinch of Combinatorics: Towards Tight I/O Lower Bounds for Statically Analyzable Programs
SPAA '21: Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and ArchitecturesDetermining I/O lower bounds is a crucial step in obtaining communication-efficient parallel algorithms, both across the memory hierarchy and between processors. Current approaches either study specific algorithms individually, disallow programmatic ...
Red-Blue Pebble Game: Complexity of Computing the Trade-Off between Cache Size and Memory Transfers
SPAA '18: Proceedings of the 30th on Symposium on Parallelism in Algorithms and ArchitecturesThe red-blue pebble game was formulated in the 1980s~\citeHK81 to model the I/O complexity of algorithms on a two-level memory hierarchy. Given a directed acyclic graph representing computations (vertices) and their dependencies (edges), the red-blue ...
Brief Announcement: On the I/O Complexity of Sequential and Parallel Hybrid Integer Multiplication Algorithms
SPAA '22: Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and ArchitecturesAlmost asymptotically tight lower bounds are derived for the Input/Output (I/O) complexity IOA(n, M) of a general class of hybrid algorithms computing the product of two integers, each represented with n digits in a given base s, in a two-level storage ...
Comments