(0.06 CPUs, 1 CUDA) - What does this mean?

Questions and Answers : GPU applications : (0.06 CPUs, 1 CUDA) - What does this mean?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile BigWaveSurfer

Send message
Joined: 29 Nov 01
Posts: 186
Credit: 36,311,381
RAC: 141
United States
Message 841440 - Posted: 18 Dec 2008, 14:53:14 UTC

"running, high prioity (0.06 CPUs, 1 CUDA)"

What does the 0.06 CPUs mean? I am guessing the 1 CUDA means that it is running a WU through the GPU.

My system is set to run at 75%, however, even when I changed it to 100% it did not change.

Vista HP Pentium D @ 3.6
EVGA Nvidia 9600 GT KO
ID: 841440 · 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 841557 - Posted: 18 Dec 2008, 19:22:46 UTC - in response to Message 841440.  

"running, high prioity (0.06 CPUs, 1 CUDA)"

What does the 0.06 CPUs mean? I am guessing the 1 CUDA means that it is running a WU through the GPU.

My system is set to run at 75%, however, even when I changed it to 100% it did not change.

Vista HP Pentium D @ 3.6
EVGA Nvidia 9600 GT KO


Yes, you are running a CUDA app. The requirement for running GPUs is 1 CPU per GPU app. This is so that the CPU can properly load and feed the GPU its data. So in a quad core system with a single CUDA complaint card, 3 CPUs will crunch and the 4th CPU will feed the GPU, hence 75% system load (3 CPUs) and the 4th will feed the GPU.
ID: 841557 · Report as offensive
Paul DT Scully
Volunteer tester
Avatar

Send message
Joined: 30 Jun 04
Posts: 26
Credit: 259,861
RAC: 0
United Kingdom
Message 849832 - Posted: 5 Jan 2009, 21:24:36 UTC - in response to Message 841557.  

Correct me if I am wrong, but I don't think you have answered the question.

I have 0.04 CPUs running, and I recall a time when I had 0.90 CPUs running, and CUDA was crunching faster. GPUGrid seems to take twice as long since the change. So if someone know what it mean, maybe someone will know how I can change CPU's running.
Q6600 @ 2.40GHz
Vista Ultimate x64 SP1
Mem: 4GB
8800GT 181.22
BOINC 6.6.3 Win64

ACTIVE PROJECTS
ID: 849832 · 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 849844 - Posted: 5 Jan 2009, 21:58:59 UTC - in response to Message 849832.  

Correct me if I am wrong, but I don't think you have answered the question.

I have 0.04 CPUs running, and I recall a time when I had 0.90 CPUs running, and CUDA was crunching faster. GPUGrid seems to take twice as long since the change. So if someone know what it mean, maybe someone will know how I can change CPU's running.

It has been my understanding that the 0.04 represents how much of the cpu is used by CUDA in your system.
ID: 849844 · Report as offensive
Paul DT Scully
Volunteer tester
Avatar

Send message
Joined: 30 Jun 04
Posts: 26
Credit: 259,861
RAC: 0
United Kingdom
Message 849849 - Posted: 5 Jan 2009, 22:08:47 UTC - in response to Message 849844.  

But does anyone know how that could be increased?
Q6600 @ 2.40GHz
Vista Ultimate x64 SP1
Mem: 4GB
8800GT 181.22
BOINC 6.6.3 Win64

ACTIVE PROJECTS
ID: 849849 · 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 849850 - Posted: 5 Jan 2009, 22:19:13 UTC - in response to Message 849849.  
Last modified: 5 Jan 2009, 22:42:53 UTC

But does anyone know how that could be increased?

my guess would be in your client_state file under <avg_ncpus>0.04000</avg_ncpus>
<max_ncpus>0.04000</max_ncpus>
though I'm not sure it's something you should increase.
ID: 849850 · Report as offensive
Paul DT Scully
Volunteer tester
Avatar

Send message
Joined: 30 Jun 04
Posts: 26
Credit: 259,861
RAC: 0
United Kingdom
Message 849904 - Posted: 6 Jan 2009, 0:04:40 UTC - in response to Message 849850.  

Thanks...have now set too 0.25 CPUs, 1 CUDA. Will test to see how this works.
Q6600 @ 2.40GHz
Vista Ultimate x64 SP1
Mem: 4GB
8800GT 181.22
BOINC 6.6.3 Win64

ACTIVE PROJECTS
ID: 849904 · Report as offensive
Maik

Send message
Joined: 15 May 99
Posts: 163
Credit: 9,208,555
RAC: 0
Germany
Message 849941 - Posted: 6 Jan 2009, 1:47:22 UTC
Last modified: 6 Jan 2009, 1:49:15 UTC

Found this CUDA and multi CPU?. It explains how to get boinc to use a specific number of cores (including the core from gpu).
Its a temp-fix for boinc v6.4.5 and below.
ID: 849941 · Report as offensive
Profile Joseph Stateson Project Donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 309
Credit: 70,759,933
RAC: 3
United States
Message 849945 - Posted: 6 Jan 2009, 1:57:03 UTC - in response to Message 849904.  

Thanks...have now set too 0.25 CPUs, 1 CUDA. Will test to see how this works.



The value 0.06 seems to come from the following calculation
// the following is for an app that uses a CUDA GPU
00066         // and some CPU also, and gets 50 GFLOPS total
00067         //
00068         for (unsigned int i=0; i<sreq.coprocs.coprocs.size(); i++) {
00069             COPROC* cp = sreq.coprocs.coprocs[i];
00070             if (!strcmp(cp->type, "CUDA")) {
00071                 COPROC* cu = new COPROC (cp->type);
00072                 cu->count = 1;
00073                 hu.coprocs.coprocs.push_back(cu);
00074                 double x = 1e9/sreq.host.p_fpops;
00075                 if (x > 1) x = 1;
00076                 hu.avg_ncpus = x;
00077                 hu.max_ncpus = x;
00078                 hu.flops = 5e11;
00079                 return true;
00080             }
00081         }


So a huge number of fpops means you are only going to use a fraction of the number of cpus (or threads) available. That is assuming you got at least 1e9 flops.

I got this by grep'ing "CPUs" in the boinc source and then backtracking avg_ncpus to http://boinc.sourcearchive.com/documentation/6.2.18/sched__plan_8C-source.html

I am guessing the value is calculated when the cuda driver is loaded which could account for a value near 0.95 that you mentioned. That could happen if the cpu is really busy doing something when the CUDA code calculates avg_ncpus. That then gets stored in the resource file (the xml file) and the boinc manager picks it up. It assume it gets updated later on (??) to a better value. Basically the value you see is 1e9 divided by what it think the flops are. This is just a guess as I am not privi to the goings on and dont see a lot of comments in the code. I once complained about source code comments and was asked to contribute time and resources so I dont complain anymore. This is perfectly understandable in a grad school environment.

ID: 849945 · 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 849971 - Posted: 6 Jan 2009, 3:26:28 UTC - in response to Message 849904.  
Last modified: 6 Jan 2009, 3:31:05 UTC

Thanks...have now set too 0.25 CPUs, 1 CUDA. Will test to see how this works.

I'm guessing it's going to reset back to 0.04 in a short time.
It's worth mentioning if your intention is just to speed up the app, using the Modified SETI MB CUDA + opt AP package for full GPU utilization might be a better alternative if it's something you haven't already looked into. There is also an update to the exe of the CUDA portion of the app in this message
ID: 849971 · Report as offensive
Profile Mike O
Avatar

Send message
Joined: 1 Sep 07
Posts: 428
Credit: 6,670,998
RAC: 0
United States
Message 852066 - Posted: 11 Jan 2009, 5:13:53 UTC

It would be cool if you could run 2 boinc cores.. one using the CPUs cores doing either/and MBs and APs and the other just handling cuda.
I have been digging in the XML files but I can't seem to find a config that sets the file paths. As far as I know there is NO boinc.ini file. ini files have gone away pretty much in the newer versions of windows. Now its all stored in the registry. I searched it and found nothing usable.
I tried creating a short cut and changing the path and startup folder.. NO GOOD!
Oh well... I hope they get this worked out on the sharing issues.. A simple patch to allocate on slot JUST FOR CUDA would solve a bunch of issues!
Not Ready Reading BRAIN. Abort/Retry/Fail?
ID: 852066 · Report as offensive

Questions and Answers : GPU applications : (0.06 CPUs, 1 CUDA) - What does this mean?


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