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

基于内存感知的任务协同定位提高Spark应用程序的吞吐量:一种混合专家模型方法

Improving Spark Application Throughput Via Memory Aware Task Co-location: A Mixture of Experts Approach

Vicent Sanz Marco, Ben Taylor, Barry Porter, Zheng Wang

摘要:

基于Apache Spark等大数据处理框架构建的数据分析应用程序是一类重要的应用程序。这些应用程序中的许多应用程序对延迟不敏感,因此可以在数据中心作为批处理作业运行。通过在一台计算主机上运行多个应用程序,任务协同定位可以显著提高服务器利用率和系统吞吐量。然而,有效的任务协同定位是一项重要的任务,因为它需要理解协同运行的应用程序的计算资源需求,以便确定哪些任务以及其中有多少任务可以协同定位。在本文中,我们提出了一种混合专家的方法来建模Spark应用程序的内存行为。我们实现这一目标的学习,离线,一系列的专门的内存模型的范围内的典型应用程序,然后我们在运行时确定的内存模型,或专家,最好的描述目标应用程序的内存行为。我们表明,通过准确地估计所需的资源水平,一个协同定位方案可以有效地确定有多少应用程序可以协同定位在同一台主机上,以提高系统吞吐量,考虑到内存和CPU的要求,共同运行的应用程序任务。我们的技术被应用到一组有代表性的数据分析应用程序的Apache Spark框架上。我们在多核集群上评估了我们的系统吞吐量和平均归一化周转时间方法。我们的方法实现了超过83.9%的性能提供了一个理想的内存预测。我们得到,平均而言,8.69倍的系统吞吐量和周转时间减少49%,执行应用程序任务的隔离,这相当于一个1.28倍和1.68倍的改进,比最先进的协同定位方案的系统吞吐量和周转时间分别。

英文摘要:

Data analytic applications built upon big data processing frameworks such as Apache Spark are an important class of applications. Many of these applications are not latency-sensitive and thus can run as batch jobs in data centers. By running multiple applications on a computing host, task co-location can significantly improve the server utilization and system throughput. However, effective task co-location is a non-trivial task, as it requires an understanding of the computing resource requirement of the co-running applications, in order to determine what tasks, and how many of them, can be co-located. In this paper, we present a mixture-of-experts approach to model the memory behavior of Spark applications. We achieve this by learning, off-line, a range of specialized memory models on a range of typical applications; we then determine at runtime which of the memory models, or experts, best describes the memory behavior of the target application. We show that by accurately estimating the resource level that is needed, a co-location scheme can effectively determine how many applications can be co-located on the same host to improve the system throughput, by taking into consideration the memory and CPU requirements of co-running application tasks. Our technique is applied to a set of representative data analytic applications built upon the Apache Spark framework. We evaluated our approach for system throughput and average normalized turnaround time on a multi-core cluster. Our approach achieves over 83.9% of the performance delivered using an ideal memory predictor. We obtain, on average, 8.69x improvement on system throughput and a 49% reduction on turnaround time over executing application tasks in isolation, which translates to a 1.28x and 1.68x improvement over a state-of-the-art co-location scheme for system throughput and turnaround time respectively.

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

↑