多代理人深度強化學習應用於 2U 氣冷伺服器之動態線上散熱控制與穩健性分析
Multi-Agent Deep Reinforcement Learning-Based Dynamic Online Thermal Control and Robustness Analysis for 2U Air-Cooled Servers
摘要
隨著生成式人工智慧與高速運算技術快速發展, 資料中心伺服器的運算密度與能源消耗持續增加, 使冷卻系統的能源效率成為重要議題, 傳統比例-積分,(PI)控制因參數固定, 面對快速變動的運算負載與多熱源熱耦合效應時, 較難兼顧溫度安全與能源效率
為改善此問題, 本研究建置可模擬高密度運算環境並支援 2,200 W 功耗輸入之 2U 氣冷式伺服器實驗平台, 內部包含 2 組 CPU, 4 組 DIMM 及 6 組 I/O 等主要熱源, 並配備由六顆最大風量 60 CFM 之高性能風扇構成的冷卻系統 本研究將各風扇定義為具協作能力的獨立代理人, 開發結合多代理人深度確定性策略梯度,(MADDPG)與線上學習之智慧散熱控制系統, 以對應多熱源與多輸出高度耦合之散熱控制特性, 並獨立調整各區域冷卻風量, 並透過五次多項式電阻校正模型與自動化系統提升動態熱源負載的準確性
研究首先建立伺服器暫態環境模型進行離線訓練, 獎勵函數2 藉由多階段非線性分區及二次方懲罰機制抑制暫態溫升, 藉此防止系統在面臨高溫極限時出現溫度超調,(過熱)的風險, 相較於 傳統 PI 控制降低 3.41% 的風扇能源消耗, 進一步導入線上學習後 線上學習2 於兩小時動態負載測試中 使所有熱源溫度均維持於 84 °C 以下 且未觸發緊急保護機制, 相較於 PI 控制降低 6.82% 的風扇能源消耗, 實驗結果顯示, 本研究所提出的方法在連續兩小時運行條件下, 可兼顧溫度安全, 控制穩定性與能源效率, 顯示其應用於伺服器散熱管理之可行性。
為改善此問題, 本研究建置可模擬高密度運算環境並支援 2,200 W 功耗輸入之 2U 氣冷式伺服器實驗平台, 內部包含 2 組 CPU, 4 組 DIMM 及 6 組 I/O 等主要熱源, 並配備由六顆最大風量 60 CFM 之高性能風扇構成的冷卻系統 本研究將各風扇定義為具協作能力的獨立代理人, 開發結合多代理人深度確定性策略梯度,(MADDPG)與線上學習之智慧散熱控制系統, 以對應多熱源與多輸出高度耦合之散熱控制特性, 並獨立調整各區域冷卻風量, 並透過五次多項式電阻校正模型與自動化系統提升動態熱源負載的準確性
研究首先建立伺服器暫態環境模型進行離線訓練, 獎勵函數2 藉由多階段非線性分區及二次方懲罰機制抑制暫態溫升, 藉此防止系統在面臨高溫極限時出現溫度超調,(過熱)的風險, 相較於 傳統 PI 控制降低 3.41% 的風扇能源消耗, 進一步導入線上學習後 線上學習2 於兩小時動態負載測試中 使所有熱源溫度均維持於 84 °C 以下 且未觸發緊急保護機制, 相較於 PI 控制降低 6.82% 的風扇能源消耗, 實驗結果顯示, 本研究所提出的方法在連續兩小時運行條件下, 可兼顧溫度安全, 控制穩定性與能源效率, 顯示其應用於伺服器散熱管理之可行性。
With the rapid growth of generative AI and high-performance computing, data center cooling efficiency has become a critical issue. Bound by fixed parameters, traditional proportional-integral (PI) controllers struggle to balance thermal safety and energy efficiency under dynamic workloads and thermal coupling.
To address this, this study constructs a 2U air-cooled server platform simulating high-density computing environments. Supporting up to 2,200 W power input, the platform integrates two CPUs, four DIMMs, and six I/O modules as primary heat sources, cooled by a six-fan array (60 CFM maximum airflow each). Treating each fan as a collaborative independent agent to handle highly coupled multi-heat-source dynamics, an intelligent thermal control system combining Multi-Agent Deep Deterministic Policy Gradient (MADDPG) with online learning is developed for zonal airflow control. A fifth-order polynomial resistance calibration model and an automated system further enhance dynamic load accuracy.
First, a transient environmental model is established for offline training. Incorporating multi-stage non-linear partitioning and a quadratic penalty, Reward Function 2 suppresses transient temperature spikes to prevent overshoot, reducing fan power by 3.41% over PI control. With online learning deployed, Online Learning 2 keeps all heat sources below 84 °C during a two-hour dynamic test without triggering emergency protections, cutting fan energy consumption by 6.82%. Experimental results show that under a continuous two-hour operation condition, the proposed method effectively balances temperature safety, control stability, and energy efficiency, demonstrating its practical feasibility for server thermal management.
To address this, this study constructs a 2U air-cooled server platform simulating high-density computing environments. Supporting up to 2,200 W power input, the platform integrates two CPUs, four DIMMs, and six I/O modules as primary heat sources, cooled by a six-fan array (60 CFM maximum airflow each). Treating each fan as a collaborative independent agent to handle highly coupled multi-heat-source dynamics, an intelligent thermal control system combining Multi-Agent Deep Deterministic Policy Gradient (MADDPG) with online learning is developed for zonal airflow control. A fifth-order polynomial resistance calibration model and an automated system further enhance dynamic load accuracy.
First, a transient environmental model is established for offline training. Incorporating multi-stage non-linear partitioning and a quadratic penalty, Reward Function 2 suppresses transient temperature spikes to prevent overshoot, reducing fan power by 3.41% over PI control. With online learning deployed, Online Learning 2 keeps all heat sources below 84 °C during a two-hour dynamic test without triggering emergency protections, cutting fan energy consumption by 6.82%. Experimental results show that under a continuous two-hour operation condition, the proposed method effectively balances temperature safety, control stability, and energy efficiency, demonstrating its practical feasibility for server thermal management.