arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1408.2858cs.DCcs.DScs.MS
收藏

MapReduce上多轮矩阵乘法的实验评价

Experimental Evaluation of Multi-Round Matrix Multiplication on MapReduce

Matteo Ceccarello, Francesco Silvestri

摘要:

MapReduce算法设计中的一种常见方法是最小化轮数。事实上,在文献中有许多单片MapReduce算法的例子,这些算法只需要一个或两个回合。然而,我们认为,单片算法的设计可能不是云系统中的最佳方法。实际上,多轮算法可以通过根据执行上下文适当地设置轮数来利用云平台的一些特征。在本文中,我们进行了多轮MapReduce算法的实验研究,旨在调查的多轮方法的性能。我们使用矩阵乘法作为案例研究。首先,我们提出了一个可扩展的Hadoop库,命名为M $_3$,在密集和稀疏的情况下,允许权衡轮数与数据在每轮洗牌和减少功能所需的内存量的矩阵乘法。然后,我们提出了一个广泛的研究,这个库的内部集群和亚马逊网络服务,旨在显示其性能和比较单片和多轮的方法。实验表明,即使没有一个低层次的优化,它是可能的设计多轮算法与小的运行时间开销。

英文摘要:

A common approach in the design of MapReduce algorithms is to minimize the number of rounds. Indeed, there are many examples in the literature of monolithic MapReduce algorithms, which are algorithms requiring just one or two rounds. However, we claim that the design of monolithic algorithms may not be the best approach in cloud systems. Indeed, multi-round algorithms may exploit some features of cloud platforms by suitably setting the round number according to the execution context. In this paper we carry out an experimental study of multi-round MapReduce algorithms aiming at investigating the performance of the multi-round approach. We use matrix multiplication as a case study. We first propose a scalable Hadoop library, named M$_3$, for matrix multiplication in the dense and sparse cases which allows to tradeoff round number with the amount of data shuffled in each round and the amount of memory required by reduce functions. Then, we present an extensive study of this library on an in-house cluster and on Amazon Web Services aiming at showing its performance and at comparing monolithic and multi-round approaches. The experiments show that, even without a low level optimization, it is possible to design multi-round algorithms with a small running time overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑