2019-03-08 19:24:59 +00:00
# NVIDIA GPU-based FAN controller for SUPERMICRO server
2019-03-08 19:30:25 +00:00
This controller enables automatic adjustments of FANs in SUPERMICRO servers based on GPU temperature. Only NVIDIA GPUs are supported since the tool uses nvidia-smi to parse the GPU temperature. FANs are controlled through IPMI tool (`impitool`) using the modified superfans (https://github.com/putnam/superfans) script.
2019-03-08 19:24:59 +00:00
# Requirements
2019-03-08 19:52:00 +00:00
* Linux (tested on Ubuntu 18.04)
2019-03-08 19:24:59 +00:00
* Python 2.7
2019-03-08 19:29:11 +00:00
* nvidia drivers/tools (`nvidia-smi`)
* IPMI tool (`impitool`) with loaded module (`modprobe ipmi_devintf`)
2019-03-08 19:24:59 +00:00
2019-03-08 19:29:11 +00:00
Tested on SUPERMICRO 4029GP TRT2 with RTX 2080 Ti (nvidia 415.27 drivers).
2019-03-08 19:24:59 +00:00
# Usage
2019-03-08 19:52:00 +00:00
Directly call python script (requires sudo access for `impitool` ):
2019-03-08 19:24:59 +00:00
```bash
2019-03-08 19:52:00 +00:00
sudo python superfans_gpu_controller.py
2019-03-08 19:24:59 +00:00
```
2019-03-08 19:52:00 +00:00
Or install systemd service (`superfans-gpu-controller.service`):
```bash
sudo chmod +x ./install_deamon.sh
sudo ./install_deamon.sh
```
Service is registered for start at system startup. Start and stop it using:
```bash
# start
sudo systemctl start superfans-gpu-controller
# stop
sudo systemctl stop superfans-gpu-controller
# check the status
sudo systemctl status superfans-gpu-controller
```