Workload-Adaptive Configuration Tuning for Hierarchical Cloud Schedulers

Journal Article (2019)
Author(s)

Rui Han (Beijing Institute of Technology)

Chi Harold Harold Liu (Beijing Institute of Technology)

Zan Zong (Tsinghua University)

Lydia Chen (TU Delft - Data-Intensive Systems)

Wending Liu (Beijing Institute of Technology)

Siyi Wang (Institute of Computing Technology Chinese Academy of Sciences)

Jianfeng Zhan (Institute of Computing Technology Chinese Academy of Sciences)

Research Group
Data-Intensive Systems
Copyright
© 2019 Rui Han, Chi Harold Liu, Zan Zong, Lydia Y. Chen, Wending Liu, Siyi Wang, Jianfeng Zhan
DOI related publication
https://doi.org/10.1109/TPDS.2019.2923197
More Info
expand_more
Publication Year
2019
Language
English
Copyright
© 2019 Rui Han, Chi Harold Liu, Zan Zong, Lydia Y. Chen, Wending Liu, Siyi Wang, Jianfeng Zhan
Research Group
Data-Intensive Systems
Issue number
12
Volume number
30
Pages (from-to)
2879-2895
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Cluster schedulers provide flexible resource sharing mechanism for best-effort cloud jobs, which occupy a majority in modern datacenters. Properly tuning a scheduler's configurations is the key to these jobs' performance because it decides how to allocate resources among them. Today's cloud scheduling systems usually rely on cluster operators to set the configuration and thus overlook the potential performance improvement through optimally configuring the scheduler according to the heterogeneous and dynamic cloud workloads. In this paper, we introduce AdaptiveConfig, a run-time configurator for cluster schedulers that automatically adapts to the changing workload and resource status in two steps. First, a comparison approach estimates jobs' performances under different configurations and diverse scheduling scenarios. The key idea here is to transform a scheduler's resource allocation mechanism and their variable influence factors (configurations, scheduling constraints, available resources, and workload status) into business rules and facts in a rule engine, thereby reasoning about these correlated factors in job performance comparison. Second, a workload-adaptive optimizer transforms the cluster-level searching of huge configuration space into an equivalent dynamic programming problem that can be efficiently solved at scale. We implement AdaptiveConfig on the popular YARN Capacity and Fair schedulers and demonstrate its effectiveness using real-world Facebook and Google workloads, i.e., successfully finding best configurations for most of scheduling scenarios and considerably reducing latencies by a factor of two with low optimization time.