ThermoLoad: A Multi-Criteria Load Balancing Algorithm for Sustainable and Carbon-Efficient Data Centers
ThermoLoad is a novel load balancing algorithm designed to optimize server workload distribution based on multiple performance and environmental metricsโprimarily server temperature, CPU usage, response time, and hardware weight.
Unlike traditional algorithms (e.g., Round Robin, Least Connection), ThermoLoad is thermally aware and multi-metric, aiming to enhance data center sustainability by minimizing hotspots, reducing response time, and improving energy efficiency.
This repository includes:
- โ Implementation of ThermoLoad and five benchmark algorithms
- ๐งช A simulated test environment using realistic server conditions
- ๐ Plots and comparison metrics
- ๐ LaTeX source for the research paper (optional)
Traditional load balancers ignore real-time server thermals and dynamic performance states. ThermoLoad addresses this gap using a weighted scoring formula:
Where:
T= Normalized temperature (0 to 1)C= Normalized active connectionsR= Normalized response timeW= Normalized server weight (higher = better)ฮฑ, ฮฒ, ฮณ, ฮด= Weighting coefficients for each factor
The server with the lowest score is selected to handle incoming requests, ensuring performance and thermal stability.
- Language: Python 3.11
- Packages Used:
numpy,pandas,matplotlib,random
- CPU: Intel Core i7-12700H @ 2.30GHz
- RAM: 32 GB
- OS: Ubuntu 22.04 LTS
| Parameter | Range |
|---|---|
| Virtual Servers | 6 |
| CPU Frequencies | 2.2 โ 3.4 GHz |
| Temperatures | 32ยฐC โ 61ยฐC |
| Active Connections | 20 โ 200 |
| Response Times | 15 ms โ 150 ms |
| Server Weights | 1 โ 5 |
- CPU-bound (40%)
- Memory-bound (30%)
- I/O-heavy (30%)
pip install numpy pandas matplotlibThis project builds upon and extends ideas from notable works, including:
- Hassel, W.J. โ Carbon cost of cooling AI data centers (2023)
- Singhal, A. โ AI-enhanced load balancing (2023)
- Fan, X. โ Power provisioning in warehouse-scale data centers (2007)
- Ifflรคnder, L. โ Heat-aware routing models (2022)
See the research paper in the /report directory for full citations.
This project is intended for academic and research use only.
Please cite the associated paper if used in publications.
Special thanks to the open-source community and the authors of prior work in:
- ๐ฅ Thermal-aware computing
- โ๏ธ Cloud performance optimization
- ๐ฑ Sustainable server architecture