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

Jonathan Will, Lauritz Thamsen, Jonathan Bader, Dominik Scheinert, Odej Kao
11/8/2022
cs.DC

Official code: dos-group/ruya (2 stars, Jupyter Notebook, last commit 2022-11-25).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

dos-group/ruyaOfficial100%

Code and evaluation for Ruya, the memory-aware cluster configuration optimizer

21Jupyter Notebook, PythonSep 3, 20224 years ago

Similar Papers

Cite this paper

@article{will2022ruya,
  title  = {Ruya: Memory-Aware Iterative Optimization of Cluster Configurations for Big Data Processing},
  author = {Jonathan Will and Lauritz Thamsen and Jonathan Bader and Dominik Scheinert and Odej Kao},
  year   = {2022},
  eprint = {2211.04240},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.04240}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.04240.svg)](https://codeofpaper.com/paper/2211.04240)

Discussion