Skip to main content
QUICK REVIEW

[论文解读] On Modeling Dependency between MapReduce Configuration Parameters and Total Execution Time

Nikzad Babaii Rizvandi, Albert Y. Zomaya|arXiv (Cornell University)|Mar 3, 2012
Cloud Computing and Resource ManagementComputer Science参考文献 29被引用 17
一句话总结

本文提出了一种三阶段分析方法——性能分析、建模与预测,用于建模MapReduce配置参数(mapper和reducer的数量)与总执行时间之间的依赖关系。基于在4节点集群上对WordCount和Exim Mainlog解析应用的多变量线性回归分析,该方法能够准确预测执行时间,表明配置调优对性能有显著影响。

ABSTRACT

In this paper, we propose an analytical method to model the dependency between configuration parameters and total execution time of Map-Reduce applications. Our approach has three key phases: profiling, modeling, and prediction. In profiling, an application is run several times with different sets of MapReduce configuration parameters to profile the execution time of the application on a given platform. Then in modeling, the relation between these parameters and total execution time is modeled by multivariate linear regression. Among the possible configuration parameters, two main parameters have been used in this study: the number of Mappers, and the number of Reducers. For evaluation, two standard applications (WordCount, and Exim Mainlog parsing) are utilized to evaluate our technique on a 4-node MapReduce platform.

研究动机与目标

  • 理解配置参数如何影响MapReduce工作负载的总执行时间。
  • 开发一种基于配置设置的系统化执行时间预测方法。
  • 评估该预测模型在真实Hadoop应用中的有效性。
  • 通过数据驱动建模识别出能最小化执行时间的最优配置。

提出的方法

  • 性能分析阶段涉及在不同mapper和reducer配置下多次执行MapReduce应用。
  • 建模阶段应用多变量线性回归,捕捉配置参数与执行时间之间的关系。
  • 预测阶段使用训练好的回归模型,估算新配置设置下的执行时间。
  • 研究使用两个标准Hadoop应用——WordCount和Exim Mainlog解析,进行实证评估。
  • 模型在4节点Hadoop集群上进行训练和验证,以确保其在真实场景中的适用性。
  • 分析的关键参数为mapper数量和reducer数量,这些参数在性能分析阶段被系统性地调整。

实验结果

研究问题

  • RQ1mapper和reducer的数量如何影响MapReduce应用的总执行时间?
  • RQ2多变量线性回归模型能否基于配置参数准确预测执行时间?
  • RQ3不同配置设置对标准Hadoop工作负载的性能影响如何?
  • RQ4在MapReduce作业中,配置调优能在多大程度上减少执行时间?

主要发现

  • 多变量线性回归模型能够以高精度捕捉配置参数与执行时间之间的依赖关系。
  • 执行时间随mapper和reducer数量的显著变化,表明配置具有高度敏感性。
  • 该模型可对未见过的配置实现可靠的执行时间预测,支持性能优化。
  • WordCount和Exim Mainlog解析应用在不同配置下表现出一致且可预测的性能模式。
  • 已识别出能最小化执行时间的最优配置,证明了该模型的实际应用价值。
  • 该方法提供了一套无需深入算法修改即可实现性能调优的数据驱动框架。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。