H2O-Cloud: A Resource and Quality of Service-Aware Task Scheduling Framework for Warehouse-Scale Data Centers

Mingxi Cheng, Ji Li, Paul Bogdan, Shahin Nazarian

Abstract

Cloud computing has attracted both end-users and Cloud Service Providers (CSPs) in recent years. Improving resource utilization rate (RUtR), such as CPU and memory usages on servers, while maintaining Quality-of-Service (QoS) is one key challenge faced by CSPs with warehouse-scale data centers. Prior works proposed various algorithms to reduce energy cost or to improve RUtR, which either lack the fine-grained task scheduling capabilities, or fail to take a comprehensive system model into consideration. This article presents H2O-Cloud, a Hierarchical and Hybrid Online task scheduling framework for warehouse-scale CSPs, to improve resource usage effectiveness while maintaining QoS. H2O-Cloud is highly scalable and considers comprehensive information such as various workload scenarios, cloud platform configurations, user request information and dynamic pricing model. The hierarchy and hybridity of the framework, combined with its deep reinforcement learning (DRL) engines, enable H2O-Cloud to efficiently start on-the-go scheduling and learning in an unpredictable environment without pre-training. Our experiments confirm the high efficiency of the proposed H2O-Cloud when compared to baseline approaches, in terms of energy and cost while maintaining QoS. Compared with a state-of-the-art DRL-based algorithm, H2O-Cloud achieves up to 201.17% energy cost efficiency improvement, 47.88% energy efficiency improvement and 551.76% reward rate improvement.

Introduction

Modern Cloud Service Providers (CSPs) manage warehouse-scale data centers that house tens of thousands of servers. These facilities consume immense amounts of power, often due to low resource utilization rates (RUtR). Many servers operate at less than 50% capacity while still drawing significant idle power. The challenge for CSPs is to optimize task scheduling to maximize utilization and minimize electricity costs—which vary dynamically—while strictly adhering to Quality-of-Service (QoS) requirements like task deadlines and priorities.

System model of H2O-Cloud including CSP, user workload, and cloud platform components.

Existing scheduling solutions often fail to scale to the dimensions of modern data centers or require extensive offline pre-training that does not adapt well to real-time traffic fluctuations. H2O-Cloud addresses these issues through a hierarchical, hybrid, and online approach that models the entire ecosystem from user requests to server farm configurations.

The H2O-Cloud Framework

The H2O-Cloud framework (Hierarchical, Hybrid, and Online) introduces two primary innovations to manage the massive decision space of warehouse-scale scheduling.

Four-Layer Hierarchical DRL

To avoid the "curse of dimensionality" associated with a single massive Deep Q-Network (DQN), H2O-Cloud decomposes the scheduling problem into four manageable layers. Each layer focuses on a specific granularity of decision-making, significantly reducing the action space for individual DRL agents.

  1. Layer 1 (Cluster-Level): Assigns incoming jobs to specific server farms.
  2. Layer 2 (Server-Level): Selects the optimal individual server within a farm.
  3. Layer 3 (Hour-Level): Manages coarse-grained scheduling to align with lower electricity price windows.
  4. Layer 4 (Minute-Level): Executes fine-grained scheduling to ensure task deadlines and priorities are met.
The hierarchical and hybrid DRL framework of H2O-Cloud, showing the four-layer control algorithm and the online learning process.

Hybrid "On-the-Go" Learning

A common pitfall of DRL in production is the "cold start" problem, where agents make sub-optimal moves during the early learning phase. H2O-Cloud mitigates this by incorporating a Round-Robin (RR) backup mechanism. If a DRL agent proposes an invalid action—such as assigning a task to a saturated server—the system automatically falls back to a fast RR assignment. This hybridity allows the system to be production-ready from the start while the DRL agents refine their policies in the background.

Experimental Evaluation

The framework was validated using real-world datasets to ensure practical applicability. The authors utilized Google Cluster Usage Traces, containing one month of data from a 12.5k machine cluster, to simulate low, medium, and high variance workload scenarios. Additionally, realistic electricity pricing models, including Time-of-Use (TOUP) and Real-Time Pricing (RTP), were integrated to simulate actual billing environments for a CSP.

Key Insights and Results

H2O-Cloud demonstrates significant improvements over baseline approaches, including standard Round-Robin and state-of-the-art DRL-based algorithms.

  • Energy and Cost Efficiency: H2O-Cloud achieved a 201.17% improvement in energy cost efficiency and a 47.88% improvement in energy efficiency (CPU cycles per unit of energy) compared to leading DRL baselines.
  • QoS and Reward Rate: By utilizing "soft deadlines" and prioritizing tasks effectively, the system improved the reward rate by up to 551.76%.
  • Resource Utilization "Sweet Spot": The DRL reward functions are tuned to maintain server utilization between 40% and 80%. This range avoids the high idle power of low utilization and the latency spikes associated with over-utilization.

Conclusion and Future Work

H2O-Cloud provides a scalable, efficient solution for task scheduling in large-scale cloud environments. While the hierarchical structure simplifies the action space, it does introduce the complexity of managing multiple DQNs. Future research will explore deeper integration of inter-task communication overheads within Directed Acyclic Graphs (DAGs) and the inclusion of more granular hardware health metrics to further refine scheduling decisions.

Summary updated

Abstract

Cloud computing has attracted both end-users and Cloud Service Providers (CSPs) in recent years. Improving resource utilization rate (RUtR), such as CPU and memory usages on servers, while maintaining Quality-of-Service (QoS) is one key challenge faced by CSPs with warehouse-scale data centers. Prior works proposed various algorithms to reduce energy cost or to improve RUtR, which either lack the fine-grained task scheduling capabilities, or fail to take a comprehensive system model into consideration. This article presents H2O-Cloud, a Hierarchical and Hybrid Online task scheduling framework for warehouse-scale CSPs, to improve resource usage effectiveness while maintaining QoS. H2O-Cloud is highly scalable and considers comprehensive information such as various workload scenarios, cloud platform configurations, user request information and dynamic pricing model. The hierarchy and hybridity of the framework, combined with its deep reinforcement learning (DRL) engines, enable H2O-Cloud to efficiently start on-the-go scheduling and learning in an unpredictable environment without pre-training. Our experiments confirm the high efficiency of the proposed H2O-Cloud when compared to baseline approaches, in terms of energy and cost while maintaining QoS. Compared with a state-of-the-art DRL-based algorithm, H2O-Cloud achieves up to 201.17% energy cost efficiency improvement, 47.88% energy efficiency improvement and 551.76% reward rate improvement.
BibTeX
@article{cheng2020h,
  author = {Mingxi Cheng and Ji Li and Paul Bogdan and Shahin Nazarian},
  title = {{H2O-Cloud: A Resource and Quality of Service-Aware Task Scheduling Framework for Warehouse-Scale Data Centers}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2020},
  url = {https://openreview.net/forum?id=Fq4j3C_A8g},
}
Figure