Upper and lower bounds on the cost of a map-reduce computation
Authors:
Open Access
- 1 February 2013
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 6 (4) , 277-288
Abstract
In this paper we study the tradeoff between parallelism and communication cost in a map-reduce computation. For any problem that is not "embarrassingly parallel," the finer we partition the work of the reducers so that more parallelism can be extracted, the greater will be the total communication between mappers and reducers. We introduce a model of problems that can be solved in a single round of map-reduce computation. This model enables a generic recipe for discovering lower bounds on communication cost as a function of the maximum number of inputs that can be assigned to one reducer. We use the model to analyze the tradeoff for three problems: finding pairs of strings at Hamming distance d , finding triangles and other patterns in a larger graph, and matrix multiplication. For finding strings of Hamming distance 1, we have upper and lower bounds that match exactly. For triangles and many other graphs, we have upper and lower bounds that are the same to within a constant factor. For the problem of matrix multiplication, we have matching upper and lower bounds for one-round map-reduce algorithms. We are also able to explore two-round map-reduce algorithms for matrix multiplication and show that these never have more communication, for a given reducer size, than the best one-round algorithm, and often have significantly less.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Parallel evaluation of conjunctive queries2011
- SystemML: Declarative machine learning on MapReduce2011
- Optimizing Multiway Joins in a Map-Reduce EnvironmentIEEE Transactions on Knowledge and Data Engineering, 2011
- A Model of Computation for MapReduce2010
- Size Bounds and Query Plans for Relational Joins2008
- Constraint solving via fractional edge covers2006
- On the number of subgraphs of prescribed type of graphs with a given number of edgesIsrael Journal of Mathematics, 1981
- Organizing matrices and matrix operations for paged memory systemsCommunications of the ACM, 1969