Windows 7 & CUDA - HIGH CPU USAGE


log in

Advanced search

Questions and Answers : GPU applications : Windows 7 & CUDA - HIGH CPU USAGE

Author Message
Profile Loter
Send message
Joined: 18 Jul 01
Posts: 23
Credit: 368,078
RAC: 0
Moldova
Message 944718 - Posted: 2 Nov 2009, 22:25:47 UTC
Last modified: 2 Nov 2009, 22:42:17 UTC

I have Intel T8100 CPU with Nvidia GeForce 8600M runnnin Windows 7 x64. Since I'm on Windows 7, my task manager shows that CUDA takes 50% CPU, since other 2 CPU tasks share 50%. When I was on Vista it was okay, CUDA used not more than 1-3%, and the rest used by CPU tasks. Any hints what could be the problem? My Boinc version is 6.10.17 and Nvidia driver version is

NVIDIA GPU 0: GeForce 8600M GS (driver version 18681, CUDA version 2020, compute capability 1.1, 256MB, 32 GFLOPS peak)

Boinc shows that CUDA uses 0.01 CPUS + 1.00 NVIDIA GPUs. Task manager tells that CUDA uses 50% CPU.

One more thing I've noticed, all Boinc processes run in *32 bit mode.. Strange, I've installed x64 version of Boinc...

Thank you. D.

Profile Gundolf Jahn
Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 358,825
RAC: 35
Germany
Message 944811 - Posted: 3 Nov 2009, 7:41:05 UTC - in response to Message 944718.
Last modified: 3 Nov 2009, 7:43:33 UTC

Your GPU has not enough memory available (Task 1409203610):

Cuda error 'cudaMalloc((void**) &dev_GaussFitResults' in file 'c:/sw/gpgpu/seti/seti_boinc/client/cuda/cudaAcceleration.cu' in line 314 : out of memory.
setiathome_CUDA: CUDA runtime ERROR in device memory allocation (Step 1 of 3). Falling back to HOST CPU processing...

Did you try a reboot?

As far as I know, SETI has no 64bit applications.

Gruß,
Gundolf
____________
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours

Profile Loter
Send message
Joined: 18 Jul 01
Posts: 23
Credit: 368,078
RAC: 0
Moldova
Message 944822 - Posted: 3 Nov 2009, 9:16:44 UTC

ic, but the boinc version I have is x64 :)
But all Seti projects run in x86, I tried everything.. I will also try a older driver maybe.. :-/
____________

Profile Gundolf Jahn
Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 358,825
RAC: 35
Germany
Message 944823 - Posted: 3 Nov 2009, 9:31:44 UTC - in response to Message 944822.

ic, but the boinc version I have is x64 :)
But all Seti projects run in x86, I tried everything.. I will also try a older driver maybe.. :-/

Yes, BOINC exists as 64bit version, but there's no stock SETI application for x64. If you are looking for a project that has native 64bit applications, see this thread at the BOINCStats forum.

And you have to free up graphics memory to get your GPU crunching.

Gruß,
Gundolf
____________
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12312
Credit: 2,607,524
RAC: 970
Netherlands
Message 944829 - Posted: 3 Nov 2009, 11:10:05 UTC - in response to Message 944822.

Adding to Gundolf's posts:

If you check the applications page, you can see which application versions are natively available from Seti. For Windows there are no 64bit applications. Seeing how much memory these apps take up I(at max 48MB) there's no real gain in releasing 64bit applications either.

Tasks are run using the 80bit floating point unit of the CPU, which is exactly the same between a 32bit and 64bit CPU. So just to make it easier for everyone, the applications are 32bit only, they will run in 32bit mode on your 64bit system and 64bit BOINC.

And as for the problems with your GPU, the solution has also already been given: there is a task stuck in your GPU's memory, causing memory to be taken up and not released. The only solution for that is a reboot.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Profile Loter
Send message
Joined: 18 Jul 01
Posts: 23
Credit: 368,078
RAC: 0
Moldova
Message 944836 - Posted: 3 Nov 2009, 13:20:34 UTC

Well, my problem is that CUDA process takes 50% CPU :-D

I tried beta driver, same thing... :-|
____________

Profile Gundolf Jahn
Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 358,825
RAC: 35
Germany
Message 944849 - Posted: 3 Nov 2009, 14:52:56 UTC - in response to Message 944836.

No, your problem is that your CUDA card doesn't have enough memory free and so the application falls back to the CPU and uses 100% of one core. See the error message of your task in my first post.

Do you have a file named cc_config.xml in your BOINC data directory? If so, does it contain a line with <ncpus> in it? Copy that line here.

Gruß,
Gundolf
____________
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours

Profile Loter
Send message
Joined: 18 Jul 01
Posts: 23
Credit: 368,078
RAC: 0
Moldova
Message 944910 - Posted: 4 Nov 2009, 0:37:39 UTC
Last modified: 4 Nov 2009, 0:42:42 UTC

I have no errors in logs... here's boinc log file of my last run

================================================
04.11.2009 1:05:32 Starting BOINC client version 6.10.17 for windows_x86_64
04.11.2009 1:05:32 log flags: file_xfer, sched_ops, task
04.11.2009 1:05:32 Libraries: libcurl/7.19.4 OpenSSL/0.9.8k zlib/1.2.3
04.11.2009 1:05:32 Data directory: C:\ProgramData\BOINC
04.11.2009 1:05:32 Running under account Admin
04.11.2009 1:05:32 Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz [Intel64 Family 6 Model 23 Stepping 6]
04.11.2009 1:05:32 Processor: 3.00 MB cache
04.11.2009 1:05:32 Processor features: fpu tsc pae nx sse sse2 pni
04.11.2009 1:05:32 OS: Microsoft Windows 7: Ultimate x64 Edition, (06.01.7600.00)
04.11.2009 1:05:32 Memory: 4.00 GB physical, 8.00 GB virtual
04.11.2009 1:05:32 Disk: 79.98 GB total, 36.35 GB free
04.11.2009 1:05:32 Local time is UTC +2 hours
04.11.2009 1:05:32 NVIDIA GPU 0: GeForce 8600M GS (driver version 19539, CUDA version 3000, compute capability 1.1, 256MB, 32 GFLOPS peak)
04.11.2009 1:05:32 Not using a proxy
04.11.2009 1:05:32 SETI@home URL http://setiathome.berkeley.edu/; Computer ID 5161034; resource share 100
04.11.2009 1:05:32 SETI@home General prefs: from SETI@home (last modified 06-Jun-2005 05:15:17)
04.11.2009 1:05:32 SETI@home Computer location: home
04.11.2009 1:05:32 SETI@home General prefs: no separate prefs for home; using your defaults
04.11.2009 1:05:32 Reading preferences override file
04.11.2009 1:05:32 Preferences limit memory usage when active to 2047.64MB
04.11.2009 1:05:32 Preferences limit memory usage when idle to 3685.76MB
04.11.2009 1:05:32 Preferences limit disk usage to 35.74GB
04.11.2009 1:05:33 SETI@home Restarting task 01ap07aa.14220.4162.6.10.219_0 using setiathome_enhanced version 603
04.11.2009 1:05:33 SETI@home Restarting task 18au09aa.15734.67543.5.10.120_2 using setiathome_enhanced version 608
04.11.2009 1:05:33 SETI@home Restarting task 01ap07aa.14220.4162.6.10.213_0 using setiathome_enhanced version 603
04.11.2009 1:05:33 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:05:33 SETI@home Reporting 1 completed tasks, requesting new tasks for GPU
04.11.2009 1:05:38 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:05:38 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:05:41 SETI@home update requested by user
04.11.2009 1:05:43 SETI@home Sending scheduler request: Requested by user.
04.11.2009 1:05:43 SETI@home Requesting new tasks for GPU
04.11.2009 1:05:48 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:05:48 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:06:03 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:06:03 SETI@home Requesting new tasks for GPU
04.11.2009 1:06:08 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:06:08 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:07:24 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:07:24 SETI@home Requesting new tasks for GPU
04.11.2009 1:07:29 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:07:29 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:07:39 SETI@home Computation for task 01ap07aa.14220.4162.6.10.213_0 finished
04.11.2009 1:07:39 SETI@home Starting 01ap07aa.14220.4162.6.10.171_1
04.11.2009 1:07:39 SETI@home Starting task 01ap07aa.14220.4162.6.10.171_1 using setiathome_enhanced version 603
04.11.2009 1:07:41 SETI@home Started upload of 01ap07aa.14220.4162.6.10.213_0_0
04.11.2009 1:07:44 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:07:44 SETI@home Requesting new tasks for CPU and GPU
04.11.2009 1:07:46 SETI@home Finished upload of 01ap07aa.14220.4162.6.10.213_0_0
04.11.2009 1:07:49 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:07:49 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:09:05 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:09:05 SETI@home Reporting 1 completed tasks, requesting new tasks for CPU
04.11.2009 1:09:10 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:09:10 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:11:25 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:11:25 SETI@home Requesting new tasks for CPU
04.11.2009 1:11:30 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:11:30 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:12:45 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:12:45 SETI@home Requesting new tasks for CPU
04.11.2009 1:12:50 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:12:50 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:14:05 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:14:05 SETI@home Requesting new tasks for CPU
04.11.2009 1:14:10 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:14:10 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:15:26 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:15:26 SETI@home Requesting new tasks for GPU
04.11.2009 1:15:31 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:15:31 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:20:46 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:20:46 SETI@home Requesting new tasks for CPU
04.11.2009 1:20:51 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:20:51 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:26:06 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:26:06 SETI@home Requesting new tasks for GPU
04.11.2009 1:26:11 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:26:11 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:40:27 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:40:27 SETI@home Requesting new tasks for CPU
04.11.2009 1:40:32 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:40:32 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:53:48 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:53:48 SETI@home Requesting new tasks for GPU
04.11.2009 1:53:53 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:53:53 SETI@home Message from server: (Project has no jobs available)
04.11.2009 1:55:08 SETI@home Sending scheduler request: To fetch work.
04.11.2009 1:55:08 SETI@home Requesting new tasks for CPU
04.11.2009 1:55:13 SETI@home Scheduler request completed: got 0 new tasks
04.11.2009 1:55:13 SETI@home Message from server: (Project has no jobs available)
04.11.2009 2:24:29 SETI@home Sending scheduler request: To fetch work.
04.11.2009 2:24:29 SETI@home Requesting new tasks for GPU
04.11.2009 2:24:34 SETI@home Scheduler request completed: got 7 new tasks
04.11.2009 2:24:36 SETI@home Started download of 01ap07ab.5219.8252.4.10.12
04.11.2009 2:24:36 SETI@home Started download of 01ap07ab.7757.1299.6.10.23
04.11.2009 2:24:41 SETI@home Finished download of 01ap07ab.5219.8252.4.10.12
04.11.2009 2:24:41 SETI@home Finished download of 01ap07ab.7757.1299.6.10.23
04.11.2009 2:24:41 SETI@home Started download of 01ap07ab.7757.1299.6.10.26
04.11.2009 2:24:41 SETI@home Started download of 01ap07ab.5219.8252.4.10.4
04.11.2009 2:24:45 SETI@home Finished download of 01ap07ab.7757.1299.6.10.26
04.11.2009 2:24:45 SETI@home Finished download of 01ap07ab.5219.8252.4.10.4
04.11.2009 2:24:45 SETI@home Started download of 01ap07ab.5219.8252.4.10.25
04.11.2009 2:24:45 SETI@home Started download of 01ap07ab.5219.8252.4.10.7
04.11.2009 2:24:49 SETI@home Finished download of 01ap07ab.5219.8252.4.10.25
04.11.2009 2:24:49 SETI@home Finished download of 01ap07ab.5219.8252.4.10.7
04.11.2009 2:24:49 SETI@home Started download of 01ap07ab.5219.8252.4.10.28
04.11.2009 2:24:53 SETI@home Finished download of 01ap07ab.5219.8252.4.10.28

====================


I don't have cc_config.xml file in C:\ProgramData\BOINC ... Anymore hints?

Here's the image
____________

Profile Gundolf Jahn
Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 358,825
RAC: 35
Germany
Message 945010 - Posted: 4 Nov 2009, 8:40:28 UTC - in response to Message 944910.
Last modified: 4 Nov 2009, 9:15:39 UTC

I have no errors in logs...

I didn't say they were in the log (I can't see your logs). The error message is in the task files. You can click the link in my first post to see it yourself.

If a reboot (full power cicle) doesn't correct this issue, you should disable CUDA in your preferences, since you are otherwise running three tasks on two CPU cores.

You can find those messages for the current 6.08 task in the corresponding slot directory beneath C:\ProgramData\BOINC\slots\, in the file stderr.txt.

Gruß,
Gundolf
____________
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours

Profile Loter
Send message
Joined: 18 Jul 01
Posts: 23
Credit: 368,078
RAC: 0
Moldova
Message 945026 - Posted: 4 Nov 2009, 12:45:52 UTC
Last modified: 4 Nov 2009, 13:11:51 UTC

Dear Gundolf Jahn

Thanks for hint..
in STD Error I found

setiathome_CUDA: Found 1 CUDA device(s):
Device 1 : GeForce 8600M GS
totalGlobalMem = 268435456
sharedMemPerBlock = 16384
regsPerBlock = 8192
warpSize = 32
memPitch = 262144
maxThreadsPerBlock = 512
clockRate = 1000000
totalConstMem = 65536
major = 1
minor = 1
textureAlignment = 256
deviceOverlap = 1
multiProcessorCount = 2
setiathome_CUDA: CUDA Device 1 specified, checking...
Device 1: GeForce 8600M GS is okay
SETI@home using CUDA accelerated device GeForce 8600M GS
setiathome_enhanced 6.03 Visual Studio/Microsoft C++
libboinc: 6.3.22

Work Unit Info:
...............
WU true angle range is : 0.310697
Optimal function choices:
-----------------------------------------------------
name
-----------------------------------------------------
v_BaseLineSmooth (no other)
v_GetPowerSpectrum 0.00031 0.00000
v_ChirpData 0.01925 0.00000
v_Transpose4 0.01207 0.00000
FPU opt folding 0.00378 0.00000
Cuda error 'cudaMalloc((void**) &dev_PoT' in file 'c:/sw/gpgpu/seti/seti_boinc/client/cuda/cudaAcceleration.cu' in line 334 : out of memory.
setiathome_CUDA: CUDA runtime ERROR in device memory allocation (Step 1 of 3). Falling back to HOST CPU processing...

Tried full power cycle.. no luck.

...is there a way to be fixed ? :( Strange thing is that it was working fine with Vista x64
____________

Profile Loter
Send message
Joined: 18 Jul 01
Posts: 23
Credit: 368,078
RAC: 0
Moldova
Message 945029 - Posted: 4 Nov 2009, 13:25:30 UTC

Problem Fixed!

I disabled Windows7 Aero interface and set Windows 7 Basic Theme. Then did a computer reboot. I think I did the same on Vista, that's why it was working.

Thank you! D.
____________

Questions and Answers : GPU applications : Windows 7 & CUDA - HIGH CPU USAGE

Copyright © 2014 University of California