CUDA not doing the processing?

Questions and Answers : GPU applications : CUDA not doing the processing?
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Daniel [Cordoba-Argentina]

Send message
Joined: 25 May 99
Posts: 8
Credit: 35,429,394
RAC: 0
Argentina
Message 879772 - Posted: 27 Mar 2009, 17:06:49 UTC

My computer ID 4697230 (Intel Quad Q6700) has now an NVIDIA GeForce 9600 GT GPU (CUDA capable, 512MB). Got the latest drivers from nVidia, and the latest BOINC software. After installing the card, the BOINC log reports that the CUDA driver was found, but the WU total processing time has not changed (still around one hr each). The computer still processes 4 WU's concurrently, still using optimizer "Windows optimized S@H Enhanced application by Alex Kan", and no signs that the GPU is actually taking over. Do I need to remove the optimizer? If so, will the GPU work faster than the 4 CPU's? Thanks!
ID: 879772 · Report as offensive
Profile perryjay
Volunteer tester
Avatar

Send message
Joined: 20 Aug 02
Posts: 3377
Credit: 20,676,751
RAC: 0
United States
Message 879780 - Posted: 27 Mar 2009, 17:25:42 UTC - in response to Message 879772.  

You need a cc_config.xml file in your BOINC data directory. Copy the following to notepad and save as .xml

<cc_config>
<options>
<ncpus>5</ncpus>
</options>
</cc_config>

Remember to not save it as all files as it will try to stick .txt on the end. This goes in your BOINC DATA file NOT Seti at home.


PROUD MEMBER OF Team Starfire World BOINC
ID: 879780 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 879784 - Posted: 27 Mar 2009, 17:38:46 UTC

Or, since there's not that much work available from Seti anyway and there won't be until next week, why not wait for the release of BOINC 6.6 which is also scheduled for next week and which will fix this problem without you needing to use the client core configuration file. You will need to remove that file anyway when you upgrade to BOINC 6.6
ID: 879784 · Report as offensive
Daniel [Cordoba-Argentina]

Send message
Joined: 25 May 99
Posts: 8
Credit: 35,429,394
RAC: 0
Argentina
Message 880035 - Posted: 28 Mar 2009, 12:47:08 UTC - in response to Message 879780.  

Thank you for your reply. I added the cc_config.xml file as suggested, and now the pc is processesing 5 wu's, but none of them done by the GPU. Are CUDA wu's a different version of wu that are processed only by GPU's?
If so, I guess the temporary lack of new wu's also affects those CUDA wu's?
Thanks
ID: 880035 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 880039 - Posted: 28 Mar 2009, 13:01:19 UTC - in response to Message 880035.  
Last modified: 28 Mar 2009, 13:02:13 UTC

Seti Enhanced CUDA is done by the 6.08 application, Seti Enhanced CPU work has the 6.03 application while Astropulse will use the 5.00 and 5.03 applications.

Any work already on your computer will already have the application appointed, so when you check your Tasks tab in BOINC Manager, Application column, you can easily see what is appointed to what. Adding the cc_config.xml file won't magically change the work already on your system to be appointed to another piece of hardware, you will have to download it appointed (or specified) for that application version.
ID: 880039 · Report as offensive
Daniel [Cordoba-Argentina]

Send message
Joined: 25 May 99
Posts: 8
Credit: 35,429,394
RAC: 0
Argentina
Message 880067 - Posted: 28 Mar 2009, 14:56:00 UTC - in response to Message 880039.  

Adding the cc_config.xml file won't magically change the work already on your system to be appointed to another piece of hardware, you will have to download it appointed (or specified) for that application version.


Learning a bunch here. So new wu's are appointed as soon as they are downloaded. Then how do I download a wu to be appointed to the GPU?

ID: 880067 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 880078 - Posted: 28 Mar 2009, 15:54:19 UTC - in response to Message 880067.  
Last modified: 28 Mar 2009, 15:55:00 UTC

That's a bit touch and go here at Seti, since they only use one feeder. When you look at the bottom of the server status page, there is an explanation of what the various parts of the BOINC server back-end are and do.

But in short, BOINC on your computer has a client side scheduler and work fetch module. These will keep an eye on the amount of work you have and if you're in need for more work, the work fetch module will contact the Seti scheduler and ask for work.

The Seti scheduler will send your request through to the feeder, which will supply you with work. But because Seti only has one feeder, it depends on what is at the top of the stack at that time what kind of work you get. Even though they try to keep a 33 work units for each option available at all times (Astropulse, Multibeam CUDA, Multibeam CPU), it can happen that things run out. Especially now with the database problems.

With BOINC 6.4.5 to .7 the work request will be anything that you enabled and so you'll get anything that is available as it does not have a separate GPU scheduler yet. BOINC 6.6 will be able to specifically ask for work for the CPU or the GPU.
ID: 880078 · Report as offensive
aquandur

Send message
Joined: 2 Sep 01
Posts: 9
Credit: 267,880
RAC: 0
Germany
Message 880736 - Posted: 30 Mar 2009, 10:01:19 UTC

I have a similar problem,

SETI found my CUDA device an decided to fetch work for it. The point is, the WUs are appointed to SETI 6.08 (cuda), but the CUDA-device isn't doing any work. The CPU is crunching the WU for SETI and to other projects. How can this be?
ID: 880736 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 880758 - Posted: 30 Mar 2009, 12:58:00 UTC - in response to Message 880736.  

I have a similar problem,

SETI found my CUDA device an decided to fetch work for it. The point is, the WUs are appointed to SETI 6.08 (cuda), but the CUDA-device isn't doing any work. The CPU is crunching the WU for SETI and to other projects. How can this be?

From your task 1191699082:
...
SETI@home using CUDA accelerated device GeForce 8600 GT
Restarted at 29.15 percent.
Cuda error 'cudaMalloc((void**) &dev_flagged' in file 'c:/sw/gpgpu/seti/seti_boinc/client/cuda/cudaAcceleration.cu' in line 358 : out of memory.
setiathome_CUDA: CUDA runtime ERROR in device memory allocation (Step 1 of 3). Falling back to HOST CPU processing...


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: 880758 · Report as offensive
aquandur

Send message
Joined: 2 Sep 01
Posts: 9
Credit: 267,880
RAC: 0
Germany
Message 880768 - Posted: 30 Mar 2009, 13:29:56 UTC

So this should tell me, that SETI ran out of memory on the graphic-card?
Interesting...
ID: 880768 · Report as offensive
aquandur

Send message
Joined: 2 Sep 01
Posts: 9
Credit: 267,880
RAC: 0
Germany
Message 880785 - Posted: 30 Mar 2009, 15:16:46 UTC

Could it be, that my settings produce conflicts?
I set BOINC to run only, if the computer is not used. Might those breaks in calculation cause this memory-error?
ID: 880785 · Report as offensive
Danny Sosebee

Send message
Joined: 10 Jun 02
Posts: 53
Credit: 1,022,592
RAC: 0
United States
Message 880800 - Posted: 30 Mar 2009, 16:36:34 UTC - in response to Message 880785.  

Could it be, that my settings produce conflicts?
I set BOINC to run only, if the computer is not used. Might those breaks in calculation cause this memory-error?


I had the same thing happening here on my GeForce 8600GT when I first started using BOINC on this computer - I would see memory allocation errors in my result files. Once I upgraded to the latest version of the NVidia drivers (don't recall the version right off but it's the newest one on their web site) this stopped happening and everything is running smooth as silk.

ID: 880800 · Report as offensive
aquandur

Send message
Joined: 2 Sep 01
Posts: 9
Credit: 267,880
RAC: 0
Germany
Message 880838 - Posted: 30 Mar 2009, 19:48:22 UTC - in response to Message 880800.  

Could it be, that my settings produce conflicts?
I set BOINC to run only, if the computer is not used. Might those breaks in calculation cause this memory-error?


I had the same thing happening here on my GeForce 8600GT when I first started using BOINC on this computer - I would see memory allocation errors in my result files. Once I upgraded to the latest version of the NVidia drivers (don't recall the version right off but it's the newest one on their web site) this stopped happening and everything is running smooth as silk.

It didn't change anything, unfortunately...
ID: 880838 · Report as offensive
Danny Sosebee

Send message
Joined: 10 Jun 02
Posts: 53
Credit: 1,022,592
RAC: 0
United States
Message 880860 - Posted: 30 Mar 2009, 21:09:16 UTC - in response to Message 880838.  
Last modified: 30 Mar 2009, 21:10:18 UTC

Could it be, that my settings produce conflicts?
I set BOINC to run only, if the computer is not used. Might those breaks in calculation cause this memory-error?


I had the same thing happening here on my GeForce 8600GT when I first started using BOINC on this computer - I would see memory allocation errors in my result files. Once I upgraded to the latest version of the NVidia drivers (don't recall the version right off but it's the newest one on their web site) this stopped happening and everything is running smooth as silk.

It didn't change anything, unfortunately...


While I am by no means an expert on Vista (I use XP), I do remember reading several message saying that CUDA is incompatible with programs installed with the Protected Execution Application option (I think that's the correct name). Exactly what that is I don't know, as I have very little experience with Vista, but could this be your problem?
ID: 880860 · Report as offensive
aquandur

Send message
Joined: 2 Sep 01
Posts: 9
Credit: 267,880
RAC: 0
Germany
Message 880864 - Posted: 30 Mar 2009, 21:21:18 UTC - in response to Message 880860.  

Just checked the configuration, the option is not set. So I will keep on searching...
ID: 880864 · 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 880892 - Posted: 31 Mar 2009, 0:41:30 UTC - in response to Message 880864.  
Last modified: 31 Mar 2009, 1:00:23 UTC

Just checked the configuration, the option is not set. So I will keep on searching...

There's info in this message that might apply to your situation.

Edit: As well as this one and this one
ID: 880892 · Report as offensive
aquandur

Send message
Joined: 2 Sep 01
Posts: 9
Credit: 267,880
RAC: 0
Germany
Message 880976 - Posted: 31 Mar 2009, 12:27:30 UTC - in response to Message 880892.  

Just checked the configuration, the option is not set. So I will keep on searching...

There's info in this message that might apply to your situation.

I think my problem is solved so far. I found some Vista Aero components, that still have been active. Due to the fact, that I need two monitors to work, Aero tool a large amount of memory. So far, CUDA works again... Thanks for the hint, Byron!
ID: 880976 · Report as offensive
Daniel [Cordoba-Argentina]

Send message
Joined: 25 May 99
Posts: 8
Credit: 35,429,394
RAC: 0
Argentina
Message 882038 - Posted: 3 Apr 2009, 19:01:27 UTC - in response to Message 880078.  

It's been several days now since my first post about not getting any CUDA units for my main CUDA-enabled PC, or no CUDA units were ever appointed. At first I thought that the fact that not too many new WU's were generated was the reason. Now I see that new WU's are available (none of my PC's ever ran out), but still...

I read in another posting that someone suggested to detach and reattach to SETI@Home; I tested that with another (slower) machine, and all the current WU's disappeared - I guess detaching means deleting of ALL WU's.

If I do the same with my CUDA PC, I would lose over 1000 WU's. Should I still wait? Should I detach/reattach? Is there any configuration that needs to change? Should I wait for Boinc 6.6?
ID: 882038 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 882050 - Posted: 3 Apr 2009, 19:48:54 UTC - in response to Message 882038.  

I guess detaching means deleting of ALL WU's.

Uh yes, what else did you expect? Resetting the project and detaching from it will delete all work in queue, including finished tasks that are waiting to report. And no, there is no way for you to get them back.

Just wait. BOINC 6.6 is around the corner.
ID: 882050 · Report as offensive
Daniel [Cordoba-Argentina]

Send message
Joined: 25 May 99
Posts: 8
Credit: 35,429,394
RAC: 0
Argentina
Message 883797 - Posted: 9 Apr 2009, 23:27:21 UTC - in response to Message 882050.  

As a follow up, I upgraded to Boinc 6.6 several hours ago on my 4-core CPU, and although many new WU's were received, no appointment has been made to my GPU. Boinc still does report that a CUDA device was found, but all the WU's (old and new) are still setiathome_enhanced 5.28.
My web profile is set to use both CPU and GPU.
Is it possible that some leftover config from some older Boinc version is keeping it from using the GPU?
Should I remove the "Windows optimized S@H Enhanced application by Alex Kan" optimizer? I tried keeping and removing the cc_config.xml file where it tells the client core to use 5 processors.
ID: 883797 · Report as offensive
1 · 2 · Next

Questions and Answers : GPU applications : CUDA not doing the processing?


 
©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.