mrteera / set_gpu_fans_public

Controlling GPU fan speed on a headless linux computer requires spoofing a display.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set_gpu_fans_public

Controlling the fan speed of an NVIDIA GPU on a headless linux system requires spoofing a display. This can be used to gain a few percent additonal performance, at the cost of increased noise. For installation and usage, read the comments in cool_gpu.

temp of multi-gpu is individually obtained and adjusted

  liuk@acgpu1 ~ $ nvidia-smi 
  Sat May 12 02:17:41 2018       
  +-----------------------------------------------------------------------------+
  | NVIDIA-SMI 396.24                 Driver Version: 396.24                    |
  |-------------------------------+----------------------+----------------------+
  | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
  | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
  |===============================+======================+======================|
  |   0  GeForce GTX 108...  On   | 00000000:18:00.0 Off |                  N/A |
  | 90%   72C    P2   202W / 250W |   2724MiB / 11178MiB |    100%      Default |
  +-------------------------------+----------------------+----------------------+
  |   1  GeForce GTX 108...  On   | 00000000:3B:00.0 Off |                  N/A |
  | 90%   72C    P2   196W / 250W |   2724MiB / 11178MiB |    100%      Default |
  +-------------------------------+----------------------+----------------------+
  |   2  TITAN V             On   | 00000000:86:00.0 Off |                  N/A |
  | 80%   63C    P2   142W / 250W |   2983MiB / 12066MiB |    100%      Default |
  +-------------------------------+----------------------+----------------------+
  |   3  TITAN V             On   | 00000000:AF:00.0  On |                  N/A |
  | 85%   66C    P2   151W / 250W |   2983MiB / 12066MiB |    100%      Default |
  +-------------------------------+----------------------+----------------------+

https://towardsdatascience.com/burning-gpu-while-training-dl-model-these-commands-can-cool-it-down-9c658b31c171

sudo apt install tcsh
cd /opt
sudo git clone https://github.com/boris-dimitrov/set_gpu_fans_public
sudo mv set_gpu_fans_public set-gpu-fans
cd /opt/set-gpu-fans
sudo tcsh
./cool_gpu

About

Controlling GPU fan speed on a headless linux computer requires spoofing a display.


Languages

Language:Shell 100.0%