using CUDA and my CPU?

Questions and Answers : GPU applications : using CUDA and my CPU?
Message board moderation

To post messages, you must log in.

AuthorMessage
VanHalen

Send message
Joined: 1 Dec 99
Posts: 29
Credit: 476,175
RAC: 0
United States
Message 861466 - Posted: 3 Feb 2009, 4:28:10 UTC
Last modified: 3 Feb 2009, 4:30:29 UTC

OK, First off I have figured out how to use both of my cores in my CPU and my graphics card by setting the numcpu variable in the cc_config file to 3.

But I seem to only be able to get all CUDA W/U's or only all CPU w/u's the only way I can get a mix is to change the use my GPU option back and forth in pref's to keep a mix in my queue. is there any way to get seti to auto download both?
ID: 861466 · Report as offensive
OzzFan Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Apr 02
Posts: 15691
Credit: 84,761,841
RAC: 28
United States
Message 861468 - Posted: 3 Feb 2009, 4:34:28 UTC - in response to Message 861466.  

OK, First off I have figured out how to use both of my cores in my CPU and my graphics card by setting the numcpu variable in the cc_config file to 3.

But I seem to only be able to get all CUDA W/U's or only all CPU w/u's the only way I can get a mix is to change the use my GPU option back and forth in pref's to keep a mix in my queue. is there any way to get seti to auto download both?


One limitation of BOINC currently is that the SETI CUDA only performs MultiBeam type workunits, and so long as CUDA is running, MultiBeam cannot run on the CPU. The only way to keep the other CPUs busy is to either do AstroPulse or to join another project.

This will be fixed in a future release of BOINC.
ID: 861468 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 876900 - Posted: 18 Mar 2009, 17:01:11 UTC - in response to Message 876899.  

Since the time of that last post there have been changes in the Seti scheduler, on the server. Yes, it is now possible to run Seti Enhanced (Multibeam) on the CPU and the GPU at the same time. But at the time of the post you constantly referred to it wasn't.
ID: 876900 · Report as offensive
Profile champ
Volunteer tester
Avatar

Send message
Joined: 12 Mar 03
Posts: 3642
Credit: 1,489,147
RAC: 0
Germany
Message 876909 - Posted: 18 Mar 2009, 17:20:00 UTC

OK, we have seen now, that you are crunching two multibeam and one cuda workunit. Please give the supporters the chance to help you. If we all stay polite, we can figure it out.


ID: 876909 · Report as offensive
VanHalen

Send message
Joined: 1 Dec 99
Posts: 29
Credit: 476,175
RAC: 0
United States
Message 876924 - Posted: 18 Mar 2009, 18:11:16 UTC - in response to Message 876900.  

Regardless of what you say, I was running GPU and CPU at the time the post was made. I don't understand how you will sit there and claim to have any knowledge of what was happening on MY computer. All that had to be done was set the numCPUs variable in some config file. I've long since forgotten about the specifics. Anyway the scheduler change you speak of is useless, I still have to go in and change the option to use GPU off and on daily to be able to download both types of work units. At any rate you're not helping, And have no worthwhile advice to offer on a solution.
ID: 876924 · Report as offensive
VanHalen

Send message
Joined: 1 Dec 99
Posts: 29
Credit: 476,175
RAC: 0
United States
Message 876927 - Posted: 18 Mar 2009, 18:17:57 UTC - in response to Message 876900.  

Since the time of that last post there have been changes in the Seti scheduler, on the server. Yes, it is now possible to run Seti Enhanced (Multibeam) on the CPU and the GPU at the same time. But at the time of the post you constantly referred to it wasn't.



By the way since you're good at picking through statistics why don't you go dig a little deeper and you'll see that for quite awhile now this system has been turning in both CPU and GPU workunits. Look at when they were downloaded, How long they took to process and it will be quite evident that they had to be running in tandem.
ID: 876927 · Report as offensive
Profile skildude
Avatar

Send message
Joined: 4 Oct 00
Posts: 9541
Credit: 50,759,529
RAC: 60
Yemen
Message 876938 - Posted: 18 Mar 2009, 19:03:45 UTC

OK granted we don't know what you are doing on your PC and you don't remember the exact details of what you did. Can you please tell the public what exactly you want from us since we are clearly not getting what you are trying to do.


In a rich man's house there is no place to spit but his face.
Diogenes Of Sinope
ID: 876938 · Report as offensive
VanHalen

Send message
Joined: 1 Dec 99
Posts: 29
Credit: 476,175
RAC: 0
United States
Message 876986 - Posted: 18 Mar 2009, 21:23:38 UTC - in response to Message 876938.  

I'm going to refer back to my first post for most of this, With some additional information added.

"OK, First off I have figured out how to use both of my cores in my CPU and my graphics card by setting the numcpu variable in the cc_config file to 3."

once you set the numcpu variable in the cc_config file to 3 (I have a dual core CPU) and then enable the option to use CUDA *POOF* like magic I'm processing both types of work units at the same time.

But one small problem...

"But I seem to only be able to get all CUDA W/U's or only all CPU w/u's the only way I can get a mix is to change the use my GPU option back and forth in pref's to keep a mix in my queue. is there any way to get seti to auto download both?"

See once I set the option to use my GPU I ONLY got CUDA Work units, So once the few CPU units I had in my queue had been processed and uploaded I had to go and uncheck the option to use my GPU and get some more CPU work units....

It's really not a huge bother, Just wondered if someone had a simple workaround. People said you can't do both at the same time, But with a very simple fix of the NUMCPUS variable it can be done. I am aware there is some sort of "Raimeisters" (Cant remember how to spell it) Add on. Thats not what I'm looking for. Simply would like to know if anyone knows a simple workaround.



ID: 876986 · Report as offensive
Fred W
Volunteer tester

Send message
Joined: 13 Jun 99
Posts: 2524
Credit: 11,954,210
RAC: 0
United Kingdom
Message 876991 - Posted: 18 Mar 2009, 21:38:03 UTC - in response to Message 876986.  

I'm going to refer back to my first post for most of this, With some additional information added.

"OK, First off I have figured out how to use both of my cores in my CPU and my graphics card by setting the numcpu variable in the cc_config file to 3."

once you set the numcpu variable in the cc_config file to 3 (I have a dual core CPU) and then enable the option to use CUDA *POOF* like magic I'm processing both types of work units at the same time.

But one small problem...

"But I seem to only be able to get all CUDA W/U's or only all CPU w/u's the only way I can get a mix is to change the use my GPU option back and forth in pref's to keep a mix in my queue. is there any way to get seti to auto download both?"

See once I set the option to use my GPU I ONLY got CUDA Work units, So once the few CPU units I had in my queue had been processed and uploaded I had to go and uncheck the option to use my GPU and get some more CPU work units....

It's really not a huge bother, Just wondered if someone had a simple workaround. People said you can't do both at the same time, But with a very simple fix of the NUMCPUS variable it can be done. I am aware there is some sort of "Raimeisters" (Cant remember how to spell it) Add on. Thats not what I'm looking for. Simply would like to know if anyone knows a simple workaround.



The simplest workaround is to wait for public release of the fully tested 6.6.x Boinc. The functionality you are looking for is being baked into that (without the need for the cc_config frig).

F.
ID: 876991 · Report as offensive
VanHalen

Send message
Joined: 1 Dec 99
Posts: 29
Credit: 476,175
RAC: 0
United States
Message 876992 - Posted: 18 Mar 2009, 21:40:18 UTC - in response to Message 876986.  

Well, While I was looking over the options page it appears SETI has added an option which may be of use.



Allthough it's a bit confusing I believe the second option is a typo and should say CPU. looks like you can select either or both now.... A few days testing will answer that one for sure.
ID: 876992 · Report as offensive
Profile champ
Volunteer tester
Avatar

Send message
Joined: 12 Mar 03
Posts: 3642
Credit: 1,489,147
RAC: 0
Germany
Message 877000 - Posted: 18 Mar 2009, 22:45:11 UTC

Keep us informed.
ID: 877000 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 877015 - Posted: 18 Mar 2009, 23:18:52 UTC - in response to Message 876986.  

I'm going to refer back to my first post for most of this, With some additional information added.

"OK, First off I have figured out how to use both of my cores in my CPU and my graphics card by setting the numcpu variable in the cc_config file to 3."

once you set the numcpu variable in the cc_config file to 3 (I have a dual core CPU) and then enable the option to use CUDA *POOF* like magic I'm processing both types of work units at the same time.

But one small problem...

"But I seem to only be able to get all CUDA W/U's or only all CPU w/u's the only way I can get a mix is to change the use my GPU option back and forth in pref's to keep a mix in my queue. is there any way to get seti to auto download both?"

See once I set the option to use my GPU I ONLY got CUDA Work units, So once the few CPU units I had in my queue had been processed and uploaded I had to go and uncheck the option to use my GPU and get some more CPU work units....

It's really not a huge bother, Just wondered if someone had a simple workaround. People said you can't do both at the same time, But with a very simple fix of the NUMCPUS variable it can be done. I am aware there is some sort of "Raimeisters" (Cant remember how to spell it) Add on. Thats not what I'm looking for. Simply would like to know if anyone knows a simple workaround.



The work fetch algorithm in 6.4 is known to be broken. It whould be working correctly whtn 6.6 is released.

There are two work arounds:

1) Keep swaping between the two.
2) Join a project that has no CUDA app for a while.

Wait for 6.6 to be released.


BOINC WIKI
ID: 877015 · Report as offensive
VanHalen

Send message
Joined: 1 Dec 99
Posts: 29
Credit: 476,175
RAC: 0
United States
Message 877017 - Posted: 18 Mar 2009, 23:23:52 UTC - in response to Message 877000.  

Keep us informed.


It's not working.

I accelerated my testing of the idea by aborting some work units to see what would be downloaded. Only CUDA came. So for now I'll just keep changing the use GPU option off and on to balance the work units I get.
ID: 877017 · Report as offensive
Liuqyn
Volunteer tester

Send message
Joined: 16 May 99
Posts: 2
Credit: 1,902,167
RAC: 0
United States
Message 877041 - Posted: 19 Mar 2009, 0:05:17 UTC - in response to Message 877017.  

if you download the test version of boinc 6.6.15(or higher), it will download both CPU and GPU work. at least it does for me.

or just wait for public release as said by others already.
ID: 877041 · Report as offensive
Liuqyn
Volunteer tester

Send message
Joined: 16 May 99
Posts: 2
Credit: 1,902,167
RAC: 0
United States
Message 877051 - Posted: 19 Mar 2009, 0:18:45 UTC - in response to Message 877041.  

going further, this lovely new option for selecting to run CPU work should only effect computers that are running GPU work.

example, I have 4 cuda capable computers now that I only want to run GPU work(no CPU work) but my other computers will still need to run CPU work.

so use GPU (if available) [YES]
then if GPU available also use CPU [NO]


hope this made sense.
ID: 877051 · Report as offensive
VanHalen

Send message
Joined: 1 Dec 99
Posts: 29
Credit: 476,175
RAC: 0
United States
Message 877080 - Posted: 19 Mar 2009, 1:45:06 UTC - in response to Message 877051.  

OK, Having hashed all that out (Sort of for now anyway) Was anybody else able to run Both CPU and GPU work units prior to the last update using the NUMCPUS setting?
ID: 877080 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 877089 - Posted: 19 Mar 2009, 2:16:15 UTC - in response to Message 877080.  

OK, Having hashed all that out (Sort of for now anyway) Was anybody else able to run Both CPU and GPU work units prior to the last update using the NUMCPUS setting?

Run, yes, download, no.

BTW, the ncpus HACK will be wrong when you switch to 6.6.


BOINC WIKI
ID: 877089 · Report as offensive
VanHalen

Send message
Joined: 1 Dec 99
Posts: 29
Credit: 476,175
RAC: 0
United States
Message 877095 - Posted: 19 Mar 2009, 2:57:05 UTC - in response to Message 877089.  

OK, Having hashed all that out (Sort of for now anyway) Was anybody else able to run Both CPU and GPU work units prior to the last update using the NUMCPUS setting?

Run, yes, download, no.

BTW, the ncpus HACK will be wrong when you switch to 6.6.



Hmm, Let me get some clarification on your answer. Prior to the update, Could you process CPU and GPU workunits at the same time? If say you switched the option back and forth like I did.

See how I discovered this is when I enabled GPU processing I still had some old CPU work units and I saw they were still processing, At the same time my New CUDA GPU work units were running. After all the CPU units had finished and results uploaded I didn't get any more. So I Switched the GPU option off, And voila I started getting CPU units again. As long as I keep switching the option off and on and keep both types of work units in queue the both run at the same time.

Like so...


I'll delete the NCPUS thing once I upgrade of course. Thanks for the heads up.
ID: 877095 · Report as offensive

Questions and Answers : GPU applications : using CUDA and my 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.