Rack Position Optimization in Large-Scale Heterogeneous Data Centers

Changlin Chen, Jiayu Chen, Tian Lan, Zhaoxia Zhao, Hongbo Dong, Vaneet Aggarwal

Abstract

As rapidly growing AI computational demands accelerate the need for new hardware installation and maintenance, this work explores optimal data center resource management by balancing operational efficiency with fault tolerance through strategic rack positioning considering diverse resources and locations. Traditional mixed-integer programming (MIP) approaches often struggle with scalability, while heuristic methods may result in significant sub-optimality. To address these issues, this paper presents a novel two-tier optimization framework using a high-level deep reinforcement learning (DRL) model to guide a low-level gradient-based heuristic for local search. The high-level DRL agent employs Leader Reward for optimal rack type ordering, and the low-level heuristic efficiently maps racks to positions, minimizing movement counts and ensuring fault-tolerant resource distribution. This approach allows scalability to over 100,000 positions and 100 rack types. Our method outperformed the gradient-based heuristic by 7% on average and the MIP solver by over 30% in objective value. It achieved a 100% success rate versus MIP's 97.5% (within a 20-minute limit), completing in just 2 minutes compared to MIP's 1630 minutes (i.e., almost 4 orders of magnitude improvement). Unlike the MIP solver, which showed performance variability under time constraints and high penalties, our algorithm consistently delivered stable, efficient results—an essential feature for large-scale data center management.

Introduction

In the era of generative AI, data centers have evolved from uniform server rows into complex, heterogeneous environments. They now house a diverse mix of specialized hardware, including GPUs, high-memory nodes, and storage-heavy racks. Managing these resources requires balancing two critical, often competing, objectives:

  1. Operational Efficiency: Minimizing physical rack movement during upgrades to reduce labor and downtime.
  2. Fault Tolerance: Distributing critical resources across hierarchical "scopes" (e.g., different power circuits or cooling zones) to prevent single points of failure from causing widespread service outages.

Traditional mathematical approaches like Mixed-Integer Programming (MIP) are effective for small-scale configurations but fail to scale to modern "mega" data centers containing over 100,000 positions. Conversely, simple greedy heuristics, while fast, often produce sub-optimal layouts that compromise system resilience.

Proposed Methodology

This research introduces a two-tier optimization framework that decouples high-level strategy from low-level execution.

The two-tier optimization framework combining DRL-based sequencing with gradient-based heuristics.

High-Level Tier: DRL-Based Sequencing

The high-level agent utilizes a Deep Reinforcement Learning (DRL) approach, specifically adapted from the "Leader Reward" method. Rather than placing individual racks, the DRL agent determines the optimal ordering of rack types. By identifying which hardware types are most "difficult" or high-demand and placing them early, the agent preserves flexibility for subsequent placements. This stage employs a transformer-based encoder-decoder architecture to process complex rack attributes like demand and resource types.

Low-Level Tier: Gradient-Based Heuristic

Once the sequence is established, a low-level gradient-based heuristic performs the actual mapping. It treats rack placement as a continuous optimization problem using an augmented objective function. This function incorporates primary goals—minimizing movement and maximizing resource spread—while penalizing constraint violations. The heuristic iteratively refines rack positions to converge on an optimal local configuration for the specific sequence provided by the DRL agent.

Experimental Evaluation

The framework was tested using simulated environments from Meta Platforms, Inc., designed to reflect real-world disaggregated data center conditions. The scale ranged from 1,000 to 100,000 positions with up to 100 distinct rack types.

Performance and Reliability

The proposed algorithm demonstrated significant improvements over the industry-standard Gurobi MIP solver and standalone greedy heuristics.

Comparison of penalty scores across problem instances for the proposed algorithm, greedy heuristics, and the Gurobi solver.

Key results include:

  • Massive Speedup: The framework completed tasks in just 2 minutes, whereas the MIP solver required 1,630 minutes (over 27 hours)—representing a nearly four-order-of-magnitude improvement.
  • Superior Quality: The hybrid approach outperformed the MIP solver by 30% and the standard heuristic by 7% in total objective value.
  • Stability: While the MIP solver's performance was erratic under time constraints (failing to find solutions in 2.5% of cases), the DRL-guided framework achieved a 100% success rate with consistent results across all test instances.

Conclusion and Future Directions

The hybrid DRL-heuristic approach effectively addresses the scalability challenges of large-scale data center management. By leveraging neural networks for strategic sequencing and gradient methods for precise mapping, the system achieves superior efficiency and reliability.

Future work will focus on reducing the initial training overhead (currently ~600 minutes) and extending the model to handle dynamic, real-time constraints such as live hardware failures or fluctuating AI demand spikes. Integrating more granular physical constraints, such as thermal dissipation and network latency, remains a key area for further exploration.

Summary updated

BibTeX
@inproceedings{chen2025rack,
  author = {Changlin Chen and Jiayu Chen and Tian Lan and Zhaoxia Zhao and Hongbo Dong and Vaneet Aggarwal},
  title = {{Rack Position Optimization in Large-Scale Heterogeneous Data Centers}},
  booktitle = {Proceedings of the International Conference on Automated Planning and Scheduling},
  year = {2025},
  doi = {10.1609/icaps.v35i1.36133},
}
Figure