A Hierarchical Framework of Cloud Resource Allocation and Power Management Using Deep Reinforcement Learning

Ning Liu, Zhe Li, Jielong Xu, Zhiyuan Xu, Sheng Lin, Qinru Qiu, Jian Tang, Yanzhi Wang

Abstract

Cloud data centers face a critical challenge in balancing high-performance service delivery with energy efficiency. This paper proposes a hierarchical framework that decouples virtual machine (VM) allocation from server-level power management. By employing Deep Reinforcement Learning (DRL) and Long Short-Term Memory (LSTM) networks, the system manages high-dimensional state spaces effectively. Evaluations using real-world Google cluster traces demonstrate that the framework reduces energy consumption by approximately 54% compared to traditional Round-Robin baselines while simultaneously improving latency.

Introduction

Modern cloud infrastructures manage thousands of physical servers and diverse virtualized workloads. Optimizing resource allocation in such environments is a complex task due to the "curse of dimensionality"—the astronomical number of possible system states and actions. Traditional Reinforcement Learning (RL) often fails to scale to these dimensions. Furthermore, there is an inherent trade-off between minimizing latency (keeping servers active) and maximizing energy efficiency (shutting down idle servers). This research introduces a two-tier hierarchical approach to solve these problems jointly.

Methodology

The proposed framework splits the optimization problem into two distinct layers: a global tier for resource allocation and a local tier for power management.

Global Tier: VM Allocation

A centralized Job Broker manages the placement of incoming VM requests. To handle the massive state space of a data center, the authors utilize an autoencoder to compress server status information into a low-dimensional representation. Additionally, a weight-sharing neural network structure is implemented, allowing the model to scale to numerous servers without a linear increase in parameters.

The proposed hierarchical framework for VM allocation and power management.

Local Tier: Distributed Power Management

Each server operates an independent power manager. This tier uses an LSTM network to predict future workload patterns, specifically the arrival time of the next job. Based on these predictions, a model-free RL agent determines optimal "timeout" values for transitioning servers into sleep modes. This proactive approach prevents the latency penalties associated with reactive power management.

Interaction between the workload predictor and power manager in the local tier.

The system is event-driven rather than interval-based, operating in continuous time to minimize computational overhead.

Experimental Evaluation

The framework was tested using Google cluster traces from 2011, simulating clusters of 30 to 40 machines. The traces provided realistic data on job arrivals, durations, and resource demands (CPU, memory, and disk).

Key Results

  • Energy Efficiency: The hierarchical DRL framework achieved a 53.97% reduction in energy consumption compared to a Round-Robin baseline.
  • Performance Gains: When compared to a standard, non-hierarchical DRL resource allocator, the proposed model reduced energy usage by 16.12% while improving latency by 16.67%.
  • Adaptability: The framework demonstrated a superior Pareto frontier, effectively managing the "bursty" nature of real-world cloud traffic better than fixed-timeout policies.

Conclusion

By decomposing the resource management problem into hierarchical tiers, the authors successfully applied DRL to large-scale cloud environments. The integration of predictive LSTMs and representation learning via autoencoders allows for significant energy savings without sacrificing performance. Future research may address the challenges of heterogeneous hardware environments and the non-stationary nature of global cloud usage patterns.

Summary updated

BibTeX
@inproceedings{liu2017hierarchical,
  author = {Ning Liu and Zhe Li and Jielong Xu and Zhiyuan Xu and Sheng Lin and Qinru Qiu and Jian Tang and Yanzhi Wang},
  title = {{A Hierarchical Framework of Cloud Resource Allocation and Power Management Using Deep Reinforcement Learning}},
  booktitle = {ICDCS},
  year = {2017},
  url = {https://openreview.net/forum?id=WrRKKjOnraV},
}
Figure