Runtime vs Scheduler: Analyzing Dask's Overheads

Stanislav Böhm, Jakub Beránek
10/21/2020
cs.DC

Official code: It4innovations/rsds (112 stars, Rust, MIT, Rust, last commit 2024-08-30).

Abstract

Dask is a distributed task framework which is commonly used by data scientists to parallelize Python code on computing clusters with little programming effort. It uses a sophisticated work-stealing scheduler which has been hand-tuned to execute task graphs as efficiently as possible.

Show full abstract

But is scheduler optimization a worthwhile effort for Dask? Our paper shows on many real world task graphs that even a completely random scheduler is surprisingly competitive with its built-in scheduler and that the main bottleneck of Dask lies in its runtime overhead. We develop a drop-in replacement for the Dask central server written in Rust which is backwards compatible with existing Dask programs. Thanks to its efficient runtime, our server implementation is able to scale up to larger clusters than Dask and consistently outperforms it on a variety of task graphs, despite the fact that it uses a simpler scheduling algorithm.

View on arXivView PDF

Code Implementations(1)

RustMIT

Dask scheduler written in Rust

1129Rust, PythonSep 5, 20192 years agoMIT

Similar Papers

Cite this paper

@article{bhm2020runtime,
  title  = {Runtime vs Scheduler: Analyzing Dask's Overheads},
  author = {Stanislav Böhm and Jakub Beránek},
  year   = {2020},
  eprint = {2010.11105},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.11105}
}

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

Discussion