我的 GPU 很快就会变得非常热,我想看看是什么在推动它,推动的力度有多大,然后做出明智的选择,是升级、添加冷却还是重新配置。
如何分析我的 GPU 的使用情况以及对它有要求的应用程序?
我正在使用:12.04(精确)[64 位]
我想要分析的是 GeForce GT。
答案1
这个答案比较通用,因为你没有提供更多信息,例如你是否运行移动设备以及你使用什么驱动程序。
首先,检查你的模块:
$ modinfo nvidia|grep -e Mobile
parm: NVreg_Mobile:int
在笔记本上您应该设置NVreg_Mobile=1
。
$ cat /etc/modprobe.d/nvidia.conf
options nvidia NVreg_Mobile=1 NVreg_EnableMSI=1
并重建initrd
你update-initramfs -c -t -k all
。
MSI 设置通常适用于具有快速接口的内存复制。
$ grep nvidia /proc/interrupts
45: 3969293 0 PCI-MSI-edge nvidia
您还应该使用该lm-sensors
软件包,它可以显示系统温度、电压和风扇速度:
$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +43.0 C (high = +80.0 C, crit = +85.0 C)
Core 0: +40.0 C (high = +80.0 C, crit = +85.0 C)
Core 1: +42.0 C (high = +80.0 C, crit = +85.0 C)
pkg-temp-0-virtual-0
Adapter: Virtual device
temp1: +44.0 C
nct6775-isa-0290
Adapter: ISA adapter
Vcore: +0.98 V (min = +0.00 V, max = +1.74 V)
in1: +1.10 V (min = +0.00 V, max = +0.00 V) ALARM
AVCC: +3.33 V (min = +2.98 V, max = +3.63 V)
+3.3V: +3.33 V (min = +2.98 V, max = +3.63 V)
in4: +1.02 V (min = +0.00 V, max = +0.00 V) ALARM
in5: +1.04 V (min = +0.00 V, max = +0.00 V) ALARM
in6: +1.07 V (min = +0.00 V, max = +0.00 V) ALARM
3VSB: +3.38 V (min = +2.98 V, max = +3.63 V)
Vbat: +3.31 V (min = +2.70 V, max = +3.63 V)
fan1: 1110 RPM (min = 0 RPM, div = 32) ALARM
fan2: 1028 RPM (min = 0 RPM, div = 32) ALARM
fan3: 562 RPM (min = 0 RPM, div = 32) ALARM
fan4: 0 RPM (div = 128)
SYSTIN: +34.0 C (high = +85.0 C, hyst = +75.0 C) sensor = CPU diode
CPUTIN: +35.0 C (high = +80.0 C, hyst = +75.0 C) sensor = CPU diode
PECI Agent 0: +43.5 C (high = +80.0 C, hyst = +75.0 C) sensor = Intel PECI
PCH_CHIP_TEMP: +49.0 C
PECI Agent 1: +0.0 C (high = +80.0 C, hyst = +75.0 C)
cpu0_vid: +0.000 V
intrusion0: OK
如果您觉得您的GPU-fan
速度太慢,并且fan
列出了具体原因,那么您可以使用该fancontrol
工具进行调整。
要读取您的温度,GPU
请使用:
$ DISPLAY=:0 nvidia-settings -q GPUCoreTemp -n -t
51