arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1303.3632cs.DCcs.LGcs.PF
收藏

预测MapReduce作业的CPU总累积使用量的统计回归

Statistical Regression to Predict Total Cumulative CPU Usage of MapReduce Jobs

Nikzad Babaii Rizvandi, Javid Taheri, Reza Moraveji, Albert Y. Zomaya

摘要:

最近,企业已经开始使用MapReduce作为一种流行的计算框架来处理大量数据,例如垃圾邮件检测,以及公共云和私有云中的不同数据采掘任务。在这种环境中的两个挑战性问题是(1)为MapReduce配置参数选择合适的值,例如,映射器的数量、缩减器的数量和DFS块大小,以及(2)预测用户应该从服务提供商租用的资源量。目前,选择配置参数和估计所需资源的任务完全由用户负责。在本文中,我们提出了一种方法来提供总的CPU使用在MapReduce环境中的作业的时钟周期。对于MapReduce作业,时钟周期中的总CPU使用率的简档是从作业过去的执行中构建的,其中具有两个配置参数的不同值,例如,映射器的数量和缩减器的数量。然后,多项式回归被用来模拟这些配置参数和总的CPU使用的工作的时钟周期之间的关系。我们还简要地研究了输入数据缩放对测量的总CPU使用率在时钟周期的影响。这个导出的模型与缩放结果一起可以用于提供具有不同输入数据大小的相同作业的时钟周期中的总CPU使用率。我们验证我们的模型使用三个现实的应用程序的准确性(WordCount的,WARTOM的主日志解析,和TeraSort)。结果表明,在我们的20个节点的虚拟Hadoop集群中,生成的资源配置选项的时钟周期中的预测总CPU使用率小于时钟周期中的测量总CPU使用率的8%。

英文摘要:

Recently, businesses have started using MapReduce as a popular computation framework for processing large amount of data, such as spam detection, and different data mining tasks, in both public and private clouds. Two of the challenging questions in such environments are (1) choosing suitable values for MapReduce configuration parameters e.g., number of mappers, number of reducers, and DFS block size, and (2) predicting the amount of resources that a user should lease from the service provider. Currently, the tasks of both choosing configuration parameters and estimating required resources are solely the users responsibilities. In this paper, we present an approach to provision the total CPU usage in clock cycles of jobs in MapReduce environment. For a MapReduce job, a profile of total CPU usage in clock cycles is built from the job past executions with different values of two configuration parameters e.g., number of mappers, and number of reducers. Then, a polynomial regression is used to model the relation between these configuration parameters and total CPU usage in clock cycles of the job. We also briefly study the influence of input data scaling on measured total CPU usage in clock cycles. This derived model along with the scaling result can then be used to provision the total CPU usage in clock cycles of the same jobs with different input data size. We validate the accuracy of our models using three realistic applications (WordCount, Exim MainLog parsing, and TeraSort). Results show that the predicted total CPU usage in clock cycles of generated resource provisioning options are less than 8% of the measured total CPU usage in clock cycles in our 20-node virtual Hadoop cluster.

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

↑