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

Ruya:面向大数据处理的集群并行计算的内存感知迭代优化

Ruya: Memory-Aware Iterative Optimization of Cluster Configurations for Big Data Processing

Jonathan Will, Lauritz Thamsen, Jonathan Bader, Dominik Scheinert, Odej Kao

摘要:

为大型集群上的数据处理作业选择合适的计算资源是困难的,即使对于像数据工程师这样的专家用户也是如此。选择不足可能导致成本大幅增加,而不会显著改善性能。选择有效资源配置的一个关键方面是避免内存瓶颈。通过预先知道作业所需的内存,可以大大减少用于最优资源配置的搜索空间。因此,我们提出了Ruya,一种基于迭代探索向下扩展的搜索空间的数据处理集群配置的内存感知优化方法。首先,我们只在一台机器上使用数据集的小样本执行作业分析,以模拟作业的内存使用模式。其次,我们优先考虑集群配置与适当的总内存量,并在此减少搜索空间,我们迭代搜索最佳集群配置贝叶斯优化。一旦搜索过程收敛到被认为是给定作业的最佳配置,则该搜索过程停止。在我们对包含1031个Spark和Hadoop作业的数据集进行的评估中,我们看到与基线相比,找到最佳配置的搜索迭代减少了大约一半。

英文摘要:

Selecting appropriate computational resources for data processing jobs on large clusters is difficult, even for expert users like data engineers. Inadequate choices can result in vastly increased costs, without significantly improving performance. One crucial aspect of selecting an efficient resource configuration is avoiding memory bottlenecks. By knowing the required memory of a job in advance, the search space for an optimal resource configuration can be greatly reduced. Therefore, we present Ruya, a method for memory-aware optimization of data processing cluster configurations based on iteratively exploring a narrowed-down search space. First, we perform job profiling runs with small samples of the dataset on just a single machine to model the job's memory usage patterns. Second, we prioritize cluster configurations with a suitable amount of total memory and within this reduced search space, we iteratively search for the best cluster configuration with Bayesian optimization. This search process stops once it converges on a configuration that is believed to be optimal for the given job. In our evaluation on a dataset with 1031 Spark and Hadoop jobs, we see a reduction of search iterations to find an optimal configuration by around half, compared to the baseline.

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

↑