Hi,
I’ve noticed a consistent problem where after the system comes back from a standby this GPU process (which I guess is related to unified memory?) will just keep burning my CPU:
Tasks: 290 total, 2 running, 288 sleeping, 0 stopped, 0 zombie
%Cpu(s): 13.6 us, 8.8 sy, 0.0 ni, 77.4 id, 0.1 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 32648460 total, 1204044 free, 6101424 used, 25342992 buff/cache
KiB Swap: 33259004 total, 33259004 free, 0 used. 25873308 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31363 root 20 0 0 0 0 R 100.0 0.0 35:10.91 UVM GPU1 BH
1 root 20 0 185340 5464 3480 S 0.0 0.0 0:02.06 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kthreadd
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.34 Driver Version: 387.34 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro P4000 Off | 00000000:01:00.0 Off | N/A |
| N/A 44C P8 5W / N/A | 1180MiB / 8114MiB | 22% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1235 G /usr/lib/xorg/Xorg 778MiB |
| 0 2250 G compiz 129MiB |
| 0 17896 G /proc/self/exe 259MiB |
+-----------------------------------------------------------------------------+
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85
When trying to run my application after a standby I also get the error:
cudaMallocManaged(): all CUDA-capable devices are busy or unavailable
Only a restart helps, which is very annoying.
How do I attach the “nvidia-bug-report.log.gz”?
Thank you.
Max