CUDA and '.03' processors

Questions and Answers : GPU applications : CUDA and '.03' processors
Message board moderation

To post messages, you must log in.

AuthorMessage
Kaylie

Send message
Joined: 26 Jul 08
Posts: 39
Credit: 333,106
RAC: 0
United States
Message 863481 - Posted: 8 Feb 2009, 14:07:16 UTC

I am running CUDA on an 8600, works fine, but uses what it calls '.03' of one of the four processors on my quad system, leaving only 75 percent of the system in use.

If I suspend the SETI using CUDA and then re-start it, for a few minutes the quad runs four tasks in addition to the CUDA, using 100 percent. After a short time one task will go to 'waiting to run' and only three tasks and the CUDA are running.

Is there a way to run all five tasks all the time?
ID: 863481 · 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 863486 - Posted: 8 Feb 2009, 14:18:08 UTC

The current limitation of BOINC is that one CPU "feeds" the GPU (hence why you get 100% for a while as it loads the data into the GPU), then it idles until the GPU task is finished.

There is a fix in the latest alpha build of BOINC that should hopefully be available to the public soon. There is a work-around, but it involves editing some XML files in your BOINC Data directory.
ID: 863486 · Report as offensive
Profile Robert Waite
Avatar

Send message
Joined: 23 Oct 07
Posts: 2417
Credit: 18,192,122
RAC: 59
Canada
Message 863754 - Posted: 9 Feb 2009, 10:19:50 UTC

I've been looking all through the forums for this topic.

Since starting up with CUDA on a GeForce 8600GT Saturday I very quickly noticed that instead of four tasks being run at the same time I was down to one.
The single running task is using 0.03 CPU's and 1 CUDA.

While Kaylie doesn't have as poor a performance level as I do, we seem to have a similar problem.

ID: 863754 · Report as offensive
Kaylie

Send message
Joined: 26 Jul 08
Posts: 39
Credit: 333,106
RAC: 0
United States
Message 863763 - Posted: 9 Feb 2009, 11:08:13 UTC - in response to Message 863754.  
Last modified: 9 Feb 2009, 11:22:51 UTC

The other tasks are from another project. My understanding is that if you have CUDA, Seti will only send CUDA tasks, except Astropulse, currently not being generated.
ID: 863763 · Report as offensive
Profile Fred J. Verster
Volunteer tester
Avatar

Send message
Joined: 21 Apr 04
Posts: 3252
Credit: 31,903,643
RAC: 0
Netherlands
Message 863952 - Posted: 10 Feb 2009, 1:14:18 UTC - in response to Message 863763.  

So, if you have an 'old Pentium D 2.8GiG', you should be better off to run f.i. 2x GT 8800/9800/260/280,(if your MoBo has 2x PCI-EXx16) and use you CPU, to feed the GPU's.

ID: 863952 · Report as offensive
Kaylie

Send message
Joined: 26 Jul 08
Posts: 39
Credit: 333,106
RAC: 0
United States
Message 863966 - Posted: 10 Feb 2009, 1:59:56 UTC - in response to Message 863952.  

That only makes sense, but... Goes beyond my understanding of how BOINC might behave.
ID: 863966 · Report as offensive
Profile Robert Waite
Avatar

Send message
Joined: 23 Oct 07
Posts: 2417
Credit: 18,192,122
RAC: 59
Canada
Message 864008 - Posted: 10 Feb 2009, 5:15:37 UTC

At this moment my computer is grinding away on one CUDA task and one astropulse task.
I suppose I'll just have to trust those who say this is up to 10 times faster, because after all, some of these guys really are rocket scientists doing things the rest of us can only dream of.



ID: 864008 · Report as offensive
Kaylie

Send message
Joined: 26 Jul 08
Posts: 39
Credit: 333,106
RAC: 0
United States
Message 864487 - Posted: 12 Feb 2009, 1:22:53 UTC - in response to Message 864008.  

Three one hundredths of a CPU, Hmmmm…

I’m not sure the system administrators will like this, it is all supposed to run automatically and in the background, but some of us dedicate equipment to these things and want every ounce of computational power out of it.

There is a way to cause SETI to run on a GPU and utilize at least seventy five percent of the other processors in a quad system. Five tasks can be run consistently with participation in a second project.

The method involves only basic setting changes and procedures, preferably performed only during periods of low server traffic, and never on a Tuesday, but it is too lengthy to post here in detail. I’m not keeping it a secret though.

On another note…
I fear this may become more frequent than a slip in the shower. I hope the recent satellite collision does not cause sufficient interference to make more work looking for recognizable signals.

ID: 864487 · Report as offensive
Profile Robert Waite
Avatar

Send message
Joined: 23 Oct 07
Posts: 2417
Credit: 18,192,122
RAC: 59
Canada
Message 864496 - Posted: 12 Feb 2009, 1:51:23 UTC

My computer was down for two weeks so I'm waiting for my RAC to build back up and level off.
If it goes higher than before, all is good.
If it is lower, I guess I'll have to do something like disable CUDA.

ID: 864496 · Report as offensive
Profile Sutaru Tsureku
Volunteer tester

Send message
Joined: 6 Apr 07
Posts: 7105
Credit: 147,663,825
RAC: 5
Germany
Message 864676 - Posted: 12 Feb 2009, 16:37:17 UTC


With AMD Quad idle (Phenom II X4 940 BE @ 4 x 3.0 GHz) and two overclocked GTX260 Core216 55nm.
[Only GPU crunching rig]


I used all stock and had 2 x '0.19* CPUs, 1 CUDA' in the BOINC messages.
* If I remember correct it was at the beginning 0.18, or I had something in my eyes? ;-) Or it's possible that with all stock this can vary?


Then I took Raistmer's V7 mod and had then 2 x '0.04 CPUs, 1 CUDA'.


Then I deleted this entries in app_info.xml:
<plan_class>cuda</plan_class>
<avg_ncpus>0.040000</avg_ncpus>
<max_ncpus>0.040000</max_ncpus>

Since then I have 2 x '1.00 CPUs, 1 CUDA'.



BOINC is little bit 'different'.. so CPUs mean mostly Core of CPU.
So what mean this 0.04, 0.19 or 1.00 CPUs?

0.04 mean 4 % of the Core or the whole CPU?


More infos about my rig:
setiathome.berkeley.edu/forum_thread

ID: 864676 · Report as offensive
Profile Robert Waite
Avatar

Send message
Joined: 23 Oct 07
Posts: 2417
Credit: 18,192,122
RAC: 59
Canada
Message 866031 - Posted: 16 Feb 2009, 6:02:54 UTC

I don't know what any of that means...I hope I'm not alone in that. LOL

I'm feeling more productive right now as I'm running 3 Astropulse WUs and a regular SETI WU.

My RAC isn't rocketing up there though, so I'm hoping the powers that be are aware.
ID: 866031 · Report as offensive
Profile Sutaru Tsureku
Volunteer tester

Send message
Joined: 6 Apr 07
Posts: 7105
Credit: 147,663,825
RAC: 5
Germany
Message 866225 - Posted: 16 Feb 2009, 20:10:41 UTC
Last modified: 16 Feb 2009, 20:12:56 UTC

My post was not only for you.. ;-D

I mean if you look to the BOINC Manager, you see which and how much WUs you are current crunching.
And at the GPU-WU you see something like:
'0.xx CPUs, 1 CUDA'

:-)
ID: 866225 · Report as offensive
Kaylie

Send message
Joined: 26 Jul 08
Posts: 39
Credit: 333,106
RAC: 0
United States
Message 866346 - Posted: 17 Feb 2009, 2:07:39 UTC - in response to Message 866225.  

0.03 CPU apparently means that the CPU runs .03 of the time to feed the CUDA device. You can modify some XML to make BOINC think the computer has one more than the actual CPU's so will run 4 normal tasks and the CUDA's (Thanks for that code OzzFan).

The trick is that you have to maintain both CUDA and non-CUDA tasks in your queue. This can be done by manually controlling downloads using 'no new tasks' and changing the setting at SETI Website to allow CUDA tasks every other download (as necessary to maintain a balance between the two types of tasks). Never on a Tuesday, though.

Perhaps someday this could be programmed to happen automatically. (Please.)
ID: 866346 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 866456 - Posted: 17 Feb 2009, 10:20:41 UTC - in response to Message 866346.  

0.03 CPU apparently means that the CPU runs .03 of the time to feed the CUDA device.

0.03 CPU means it is using 3% of the CPU for one CUDA task. If you have two GPUs, it'll be 0.06 = 6%. (or conversely, 0.04 = 4% and 0.08 = 8%)

You can modify some XML to make BOINC think the computer has one more than the actual CPU's so will run 4 normal tasks and the CUDA's

The modified cc_config.xml file is only needed for BOINC 6.4.5; this behaviour is already fixed in any version above it.
ID: 866456 · Report as offensive
Kaylie

Send message
Joined: 26 Jul 08
Posts: 39
Credit: 333,106
RAC: 0
United States
Message 866723 - Posted: 18 Feb 2009, 12:11:10 UTC - in response to Message 866456.  

Where might I find that version of BOINC higher than 6.4.5?

Thanks.
ID: 866723 · Report as offensive
Profile Fred J. Verster
Volunteer tester
Avatar

Send message
Joined: 21 Apr 04
Posts: 3252
Credit: 31,903,643
RAC: 0
Netherlands
Message 866735 - Posted: 18 Feb 2009, 13:06:59 UTC - in response to Message 866723.  

SETI@home MAIN page, under download, you will find a list off BOINC versions.

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

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 866744 - Posted: 18 Feb 2009, 14:44:48 UTC - in response to Message 866735.  

SETI@home MAIN page, under download, you will find a list off BOINC versions.

If you click the All versions link, yes. Else you'll end up with the normal detection page you always end up with.
ID: 866744 · Report as offensive
Profile Sutaru Tsureku
Volunteer tester

Send message
Joined: 6 Apr 07
Posts: 7105
Credit: 147,663,825
RAC: 5
Germany
Message 867441 - Posted: 20 Feb 2009, 21:11:17 UTC - in response to Message 866456.  
Last modified: 20 Feb 2009, 21:30:27 UTC

...
0.03 CPU means it is using 3% of the CPU for one CUDA task. If you have two GPUs, it'll be 0.06 = 6%. (or conversely, 0.04 = 4% and 0.08 = 8%)
...


Are you sure?

I ask, because in the SETI@home preferences you can see for example:
On multiprocessors, use at most 4 processors [for Quad-CPU]


So this '0.04 CPUs, 1 CUDA' mean really CPU or Core?


So if it mean CPUs.. then with deleting of the specially entry [in upper post] in Raistmer's app_info.xml I let run my two GPUs with support from the whole CPU.

I have '1.00 CPUs, 1 CUDA'. [two times, because I have two GPUs]


Everything stock I have two times '0.19 CPUs, 1 CUDA'.


If it means CPU.. then I need to insert in the app_info.xml '0.25 CPUs, 1 CUDA'.. for one whole Core..

<plan_class>cuda</plan_class>
<avg_ncpus>0.250000</avg_ncpus>
<max_ncpus>0.250000</max_ncpus>



EDIT:
BTW.
I have per GPU.. ~ 7 % CPU- or ~ 28 % Core- support the whole time.
At the first ~ 25 sec. of every WU I have 25 % CPU or 100 %* Core per one GPU.
[* but mostly jumping over the Cores or divided to all Core.]

EDIT #2:
Is BOINC 'intelligent' enough to follow this entry?
ID: 867441 · Report as offensive

Questions and Answers : GPU applications : CUDA and '.03' processors


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