arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1712.05554cs.DC
收藏

一种面向内存数据分析平台的内存容量配置方法

A Workload-Specific Memory Capacity Configuration Approach for In-Memory Data Analytic Platforms

Yi Liang, Shilu Chang, Chao Su

摘要:

针对Spark工作负载,提出了一种基于工作负载的内存容量配置方法WSMC,通过准确预测不同输入数据大小和参数设置下的工作负载内存需求,指导用户进行内存容量配置。首先,WSMC根据工作负载的数据扩展率将存内计算工作负载分为四类。其次,WSMC综合考虑输入数据大小、混洗数据大小、工作负载的并行性和数据块大小,建立了内存需求预测模型。最后,对于每个工作负载类别,WSMC以特定于工作负载的方式计算预测模型中的shuffle数据大小。对于ad-hoc工作负载,WSMC可以使用小尺寸的输入数据来分析其数据扩展率,并决定工作负载所属的类别。通过对SparkBench工作负载的综合评估,我们发现,在WSMC指导下进行配置,与默认配置相比,在工作负载性能略有下降(仅为5%)的情况下,可以节省40%以上的内存容量,而与人工找到的正确配置相比,在WSMC的指导下进行配置,内存浪费仅增加7%,工作负载性能略有提高(约1%)

英文摘要:

We propose WSMC, a workload-specific memory capacity configuration approach for the Spark workloads, which guides users on the memory capacity configuration with the accurate prediction of the workload's memory requirement under various input data size and parameter settings.First, WSMC classifies the in-memory computing workloads into four categories according to the workloads' Data Expansion Ratio. Second, WSMC establishes a memory requirement prediction model with the consideration of the input data size, the shuffle data size, the parallelism of the workloads and the data block size. Finally, for each workload category, WSMC calculates the shuffle data size in the prediction model in a workload-specific way. For the ad-hoc workload, WSMC can profile its Data Expansion Ratio with small-sized input data and decide the category that the workload falls into. Users can then determine the accurate configuration in accordance with the corresponding memory requirement prediction.Through the comprehensive evaluations with SparkBench workloads, we found that, contrasting with the default configuration, configuration with the guide of WSMC can save over 40% memory capacity with the workload performance slight degradation (only 5%), and compared to the proper configuration found out manually, the configuration with the guide of WSMC leads to only 7% increase in the memory waste with the workload's performance slight improvement (about 1%)

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

↑