Get Your Memory Right: The Crispy Resource Allocation Assistant for Large-Scale Data Processing

Jonathan Will, Lauritz Thamsen, Jonathan Bader, Dominik Scheinert, Odej Kao
6/28/2022
cs.DC

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

Abstract

Distributed dataflow systems like Apache Spark and Apache Hadoop enable data-parallel processing of large datasets on clusters. Yet, selecting appropriate computational resources for dataflow jobs -- that neither lead to bottlenecks nor to low resource utilization -- is often challenging, even for expert users such as data engineers.

Show full abstract

Further, existing automated approaches to resource selection rely on the assumption that a job is recurring to learn from previous runs or to warrant the cost of full test runs to learn from. However, this assumption often does not hold since many jobs are too unique. Therefore, we present Crispy, a method for optimizing data processing cluster configurations based on job profiling runs with small samples of the dataset on just a single machine. Crispy attempts to extrapolate the memory usage for the full dataset to then choose a cluster configuration with enough total memory. In our evaluation on a dataset with 1031 Spark and Hadoop jobs, we see a reduction of job execution costs by 56% compared to the baseline, while on average spending less than ten minutes on profiling runs per job on a consumer-grade laptop.

View on arXivView PDF

Code Implementations(1)

dos-group/crispyOfficial100%

Code and evaluation for the Crispy resource allocation assistant

20Jupyter NotebookMay 1, 20224 years ago

Similar Papers

Cite this paper

@article{will2022your,
  title  = {Get Your Memory Right: The Crispy Resource Allocation Assistant for Large-Scale Data Processing},
  author = {Jonathan Will and Lauritz Thamsen and Jonathan Bader and Dominik Scheinert and Odej Kao},
  year   = {2022},
  eprint = {2206.13852},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.13852}
}

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/2206.13852.svg)](https://codeofpaper.com/paper/2206.13852)

Discussion