The Performance of MapReduce: An In-depth Study

Dawei Jiang    Beng Chin Ooi    Lei Shi   Sai Wu

School of Computing
National University of Singapore

Overview

MapReduce has been widely used for large-scale data analysis in the Cloud. The system is well recognized for its elastic scalability and fine-grained fault tolerance although its performance has been noted to be suboptimal in the database context. Some recent studies reveal that Hadoop, an open source implementation of MapReduce, is slower than two state-of-the-art parallel database systems in performing a variety of analytical tasks by a factor of 3.1 to 6.5. MapReduce can achieve better performance with the allocation of more compute nodes from the cloud to speed up computation; however, this approach of "renting more nodes" is not cost efficient in a pay-as-you-go environment. Users desire an economical elastically scalable data processing system, and therefore, are interested in whether MapReduce can offer both elastic scalability and efficiency.

We have conducted a performance study of MapReduce (Hadoop) on a 100-node cluster of Amazon EC2 with various levels of parallelism. We identify five design factors that affect the performance of Hadoop, and investigate alternative but known methods for each factor. We show that by carefully tuning these factors, the overall performance of Hadoop can be improved by a factor of 2.5 to 3.5 for a well-known benchmark, and is thus more comparable to that of parallel database systems. Our results show that it is therefore possible to build a cloud data processing system that is both elastically scalable and efficient.

This document is meant to provide details about our MapReduce performance study.



Publication

  • The Performance of MapReduce: An In-depth Study
  •     D. Jiang, B. C. Ooi, L. Shi, S. Wu. Int'l Conference on Very Large Data Bases (VLDB), 2010


    Source Code

    The source code can be downloaded from:

        MapReduceBenchmark.tar.gz



    Acknowledgement

    This work is supported by the research grant provided by Amazon Web Service (AWS) in Education.