arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.12214cs.DCcs.PF
收藏

用于Spark云应用性能预测的机器学习

Machine Learning for Performance Prediction of Spark Cloud Applications

Alexandre Maros, Fabricio Murai, Ana Paula Couto da Silva, Jussara M. Almeida, Marco Lattuada, Eugenio Gianniti, Marjan Hosseini, Danilo Ardagna

摘要:

大数据应用程序和分析在许多领域都被用于各种目标:提高客户满意度,预测市场行为或改善公共卫生流程。这些应用程序由复杂的软件堆栈组成,通常在云系统上运行。预测执行时间对于估计云服务的成本和在运行时有效管理底层资源非常重要。机器学习(ML)提供黑盒解决方案来建模应用性能和系统配置之间的关系,而不需要系统的详细知识,已经成为预测大数据应用性能的流行方式。我们研究了使用监督ML模型预测Spark上应用程序性能的成本效益,Spark是当今最广泛使用的大数据分析框架之一。我们将我们的方法与\textit{Ernest}(Spark发明者在文献中提出的基于ML的技术)在一系列场景,应用程序工作负载和云系统配置上进行比较。我们的实验表明,欧内斯特可以准确地估计性能非常规则的应用程序,但它失败时,应用程序表现出更不规则的模式和/或外推更大的数据集大小。结果表明,我们的模型匹配或超过欧内斯特的性能,有时使我们能够减少预测误差从126-187%到只有5- 19%。

英文摘要:

Big data applications and analytics are employed in many sectors for a variety of goals: improving customers satisfaction, predicting market behavior or improving processes in public health. These applications consist of complex software stacks that are often run on cloud systems. Predicting execution times is important for estimating the cost of cloud services and for effectively managing the underlying resources at runtime. Machine Learning (ML), providing black box solutions to model the relationship between application performance and system configuration without requiring in-detail knowledge of the system, has become a popular way of predicting the performance of big data applications. We investigate the cost-benefits of using supervised ML models for predicting the performance of applications on Spark, one of today's most widely used frameworks for big data analysis. We compare our approach with \textit{Ernest} (an ML-based technique proposed in the literature by the Spark inventors) on a range of scenarios, application workloads, and cloud system configurations. Our experiments show that Ernest can accurately estimate the performance of very regular applications, but it fails when applications exhibit more irregular patterns and/or when extrapolating on bigger data set sizes. Results show that our models match or exceed Ernest's performance, sometimes enabling us to reduce the prediction error from 126-187% to only 5-19%.

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

↑