ubuntu系统调节显卡GPU风扇转速 |
您所在的位置:网站首页 › 显卡怎么设置风扇转速 › ubuntu系统调节显卡GPU风扇转速 |
ubuntu系统调节GPU风扇转速
查看NVIDIA GPU温度和转速
nvidia-smi
可以通过nvidia-settings进项图像化界面的设置。 无桌面ubuntu[headless linux server] 使用coolgpus脚本进行调节https://github.com/andyljones/coolgpus 安装: 使用pypi进行安装 pip install coolgpus使用用例: # 将gpu风扇转速设置为99% sudo $(which coolgpus) --speed 99 99 # 关闭设置 sudo $(which coolgpus) # 或者也可以设置线性控制 # 这个模式下20℃以下转速为5%, 20-55℃之间转速为30%,依次类推 sudo $(which coolgpus) --temp 20 55 80 --speed 5 30 99如果需要将coolgpus脚本当作一个系统服务长期运行的话,如果你的服务器采用systemd管理server的话,可以在/etc/systemd/system/coolgpus.service创建模板 [Unit] Description=Headless GPU Fan Control After=syslog.target [Service] ExecStart=/home/ajones/conda/bin/coolgpus --kill Restart=on-failure RestartSec=5s ExecStop=/bin/kill -2 $MAINPID KillMode=none [Install] WantedBy=multi-user.target可以通过如下命令进行控制 sudo systemctl enable coolgpus sudo systemctl start coolgpus欢迎访问我的个人博客ximikang.icu |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |