跳到主要导航 跳到搜索 跳到主要内容

Tetris: Proactive Container Scheduling for Long-Term Load Balancing in Shared Clusters

  • Fei Xu*
  • , Xiyue Shen
  • , Shuohao Lin
  • , Li Chen
  • , Zhi Zhou
  • , Fen Xiao
  • , Fangming Liu
  • *此作品的通讯作者
  • East China Normal University
  • University of Louisiana at Lafayette
  • Sun Yat-Sen University
  • Tencent
  • Huazhong University of Science and Technology

科研成果: 期刊稿件文章同行评审

摘要

Long-running containerized workloads (e.g., machine learning), which typically show time-varying patterns, are increasingly prevailing in shared production clusters. To improve workload performance, current schedulers mainly focus on optimizing short-term benefits of cluster load balancing or initial container placement on servers. However, this would inevitably bring many invalid migrations (i.e., containers are migrated back and forth among servers over a short time window), leading to significant service level objective (SLO) violations. This paper introduces Tetris, a model predictive control (MPC)-based container scheduling strategy to proactively migrate long-running workloads for cluster load balancing. Specifically, we first build a discrete-time dynamic model for long-term optimization of container scheduling. To solve such an optimization problem, Tetris then employs two main components: (1) a container resource predictor, which leverages time-series analysis approaches to accurately predict the container resource consumption; (2) an MPC-based container scheduler that jointly optimizes the cluster load balancing and container migration cost over a certain sliding time window. We implement and open source a prototype of Tetris based on K8s. Extensive prototype experiments and trace-driven simulations demonstrate that Tetris can improve the cluster load balancing degree by up to 77.8% without incurring any SLO violations, compared to the state-of-the-art container scheduling strategies.

源语言英语
页(从-至)2918-2930
页数13
期刊IEEE Transactions on Services Computing
17
5
DOI
出版状态已出版 - 2024

指纹

探究 'Tetris: Proactive Container Scheduling for Long-Term Load Balancing in Shared Clusters' 的科研主题。它们共同构成独一无二的指纹。

引用此