CUDA WU using excessive CPU

Questions and Answers : GPU applications : CUDA WU using excessive CPU
Message board moderation

To post messages, you must log in.

AuthorMessage
mclaver

Send message
Joined: 1 Nov 01
Posts: 11
Credit: 142,239,750
RAC: 113
United States
Message 881447 - Posted: 1 Apr 2009, 22:46:05 UTC

I have SETI set to use GPU only. It is set to NO for CPU. Three computers use a minimial amoung to CPU. One computer is using 100% of one processor on the machine. The other three use less than 1%. The GPU is an 8400 GS. The computer is a AMD 9500 Quad.
ID: 881447 · Report as offensive
Alan Fowler

Send message
Joined: 7 Jan 08
Posts: 3
Credit: 1,071,777
RAC: 1
Message 883223 - Posted: 8 Apr 2009, 0:48:39 UTC - in response to Message 881447.  

Uses Excessive CPU. I have an E6750 and 8600GT OC with 256MB on a Gigabyte GA-P35C-DS3R with 4GB Ram. Boinc 6.4.7 and Driver 182.50. When Boinc started it loaded 29 Seti@Home Enhanced 6.08(cuda) WUs.

I have set SETI to not use CPU and to use GPU if available. SETI, however, is using 49% of the two CPU processor times as indicated in Win Task Mgr.

Why so much CPU usage and why so many SETI WUs?
ID: 883223 · Report as offensive
slozomby

Send message
Joined: 16 Nov 04
Posts: 20
Credit: 242,588
RAC: 0
United States
Message 883261 - Posted: 8 Apr 2009, 3:03:56 UTC - in response to Message 883223.  

Uses Excessive CPU. I have an E6750 and 8600GT OC with 256MB on a Gigabyte GA-P35C-DS3R with 4GB Ram. Boinc 6.4.7 and Driver 182.50. When Boinc started it loaded 29 Seti@Home Enhanced 6.08(cuda) WUs.

I have set SETI to not use CPU and to use GPU if available. SETI, however, is using 49% of the two CPU processor times as indicated in Win Task Mgr.

Why so much CPU usage and why so many SETI WUs?



seti uses a fair amount of cpu for the cuda app during the first 30 seconds or so after loading. after that it sits at 2-3% on my machine.

one suggestion is to try loading 6.5.0 of boinc
32 bit http://boincdl.ssl.berkeley.edu/dl/boinc_6.5.0_windows_intelx86.exe
64 bit http://boinc.berkeley.edu/dl/boinc_6.5.0_windows_x86_64.exe

or try different nvidia drivers.


ID: 883261 · Report as offensive
Alan Fowler

Send message
Joined: 7 Jan 08
Posts: 3
Credit: 1,071,777
RAC: 1
Message 883280 - Posted: 8 Apr 2009, 3:41:07 UTC - in response to Message 883261.  

No change after putting in BOINC 6.5.0. Still using 100% of one of the processors. It is still indicating in the Status column (0.12 CPUs, 1 CUDA) after 10 minutes.
ID: 883280 · Report as offensive
Profile Byron S Goodgame
Volunteer tester
Avatar

Send message
Joined: 16 Jan 06
Posts: 1145
Credit: 3,936,993
RAC: 0
United States
Message 883300 - Posted: 8 Apr 2009, 5:21:14 UTC - in response to Message 883280.  
Last modified: 8 Apr 2009, 5:50:05 UTC

No change after putting in BOINC 6.5.0. Still using 100% of one of the processors. It is still indicating in the Status column (0.12 CPUs, 1 CUDA) after 10 minutes.

I checked the only task I can see you've completed and saw "Falling back to HOST CPU processing..." so the cpu processed that task and not the gpu. It appears to stem from how much of the cards memory is available.

Are you using the gpu to run a screensaver, more than one monitor, or video games? Also there's info in this thread that may apply.
ID: 883300 · Report as offensive
Alan Fowler

Send message
Joined: 7 Jan 08
Posts: 3
Credit: 1,071,777
RAC: 1
Message 883423 - Posted: 8 Apr 2009, 16:13:51 UTC - in response to Message 883300.  

Thanks for the info. I run an MSI 8600 GT OC at factory overclock and no screensaver. I do however run dual 1280x1024 displays. I turned off one when a new SETI WU was started and the 3+ hour task ran in 12 minutes with less than a minute of CPU time. The GPU bumped up 10 degrees. During the WU I restarted the dual displays and the task kept working in the GPU. The next WU also started with only 1 or 2% CPU time. I don't run games but do edit movies and photos on this machine but did not during the CUDA installation and configuration.

It now appears to be working (assuming the work completed is correct), even with the dual displays working.

Thanks

alan
ID: 883423 · Report as offensive
Profile Karplusan

Send message
Joined: 20 Jan 04
Posts: 1
Credit: 1,073,864
RAC: 0
United States
Message 885750 - Posted: 16 Apr 2009, 6:56:12 UTC

So, am I to understand that if there is not enough RAM for the SETI Cuda, then it switches to CPU?

How much RAM is required? I have two 8600 GTS, with 256 MB RAM each. It was designed to be a SLI machine, but SLI is off so that two GPU's can be used at once for CUDA.

Using BOINC 6.6.20, I was finally able to get 6 tasks running in parallel, but the CUDA tasks don't always seem to be running.

One of them ran for 4 hours without incrementing a single percent. still at 0.000% complete while the other GPU had finished two Work Units in that time.

Later on, I noticed that the two CUDA applications were using two out of 4 CPU's. One process had 1 hour, 39 minutes of CPU time, the other had 30 minutes. The rest of the science applications were splitting the remaining 50% amongst themselves.

I am using NVIDIA 182.50 driver.
Windows XP, 32 bit.

I am not overclocking my CPU or GPU's and have no programs beyond Task Manager monitoring them.

After exiting BOINC and restarting, I am running 6 applications again, one of them is progressing nicely with the Video Card, while another is spinning a full Processor leaving one science project getting 1% cpu time on occasion.

Maybe the solution to this is to tell BOINC to only use one CUDA device, rather than spin the CPU?
ID: 885750 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 885755 - Posted: 16 Apr 2009, 7:26:25 UTC - in response to Message 885750.  
Last modified: 16 Apr 2009, 7:27:12 UTC

Maybe the solution to this is to tell BOINC to only use one CUDA device, rather than spin the CPU?

What you described is a stuck task in video memory. At this moment when BOINC stops one task and starts the next it doesn't check if the video memory is available and then it can happen that remnants of a previous task are still in that memory.

Seti tasks use approximately 220MB of video memory.

The BOINC Developers are now busy devising a way to halt CUDA for long enough that the video memory is cleared before the next task is started. The first test for that is in Alpha BOINC 6.6.23, but it seems to backfire, not starting CUDA tasks at all at this moment.

In the mean time, the only way to make sure your video memory is clear, is to do a full power-cycle on the computer, or in other words: reboot.
ID: 885755 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 885775 - Posted: 16 Apr 2009, 10:25:39 UTC - in response to Message 885750.  

...Using BOINC 6.6.20, I was finally able to get 6 tasks running in parallel, but the CUDA tasks don't always seem to be running...

Perhaps you should set the preference "On multiprocessors, use at most XX% of the processors" to 75% (or less) to maximize the throughput of your machine.

For explanations see the thread Getting maximum credits.

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

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours
ID: 885775 · Report as offensive

Questions and Answers : GPU applications : CUDA WU using excessive CPU


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.