How to set BOINC use 2 cores and one gpu ?

Questions and Answers : Windows : How to set BOINC use 2 cores and one gpu ?
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile FireGate_13
Avatar

Send message
Joined: 10 Feb 03
Posts: 106
Credit: 304,540
RAC: 0
Greece
Message 852000 - Posted: 11 Jan 2009, 2:39:31 UTC

I have a dual core system and a nvidia graphics card. I want to run 3 applications.. 2 on my cpu and one on my gpu at the same time.
I tried creating cc_config.xml with the:
<cc_config>
<options>
<ncpus>3</ncpus>
</options>
</cc_config>
in it but when i re-open boinc it started only 2 apps!:
11/1/2009 4:30:37 am||Processor: 2 AuthenticAMD AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ [x86 Family 15 Model 35 Stepping 2]
11/1/2009 4:30:37 ðì||Coprocessor: GeForce 9800 GT (1)
11/1/2009 4:30:37 ðì|SETI@home|Restarting task ap_03dc08aj_B1_P1_00200_20081230_22939.wu_3 using astropulse version 500
11/1/2009 4:30:37 ðì|SETI@home|Restarting task 02no08ac.14499.19295.8.8.60_0 using setiathome_enhanced version 606

and it stops starting applications:(
What am i doing wrong?

Firegate_13 Was Here!
BeWare!
Patras Wireless Metropolitan NetWork

ID: 852000 · 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 852002 - Posted: 11 Jan 2009, 2:46:18 UTC - in response to Message 852000.  

Hi,

Did you put the cc_config.xml file in C:\Documents and Settings\All Users\Application Data\BOINC

Also in the Advanced menu clcik on Read Config File.
ID: 852002 · Report as offensive
Profile FireGate_13
Avatar

Send message
Joined: 10 Feb 03
Posts: 106
Credit: 304,540
RAC: 0
Greece
Message 852134 - Posted: 11 Jan 2009, 9:07:30 UTC - in response to Message 852002.  

Nice Byron :) I had put the config at C:/Program Files/Boinc which was not the right directory :) Many many thanks :)
Firegate_13 Was Here!
BeWare!
Patras Wireless Metropolitan NetWork

ID: 852134 · Report as offensive
luca1459

Send message
Joined: 3 Apr 99
Posts: 10
Credit: 44,344
RAC: 0
Italy
Message 854473 - Posted: 17 Jan 2009, 1:50:13 UTC

Hello, I got the same problem but I can't find this dir: All Users\Application Data\BOINC
I'm using Windows Vista and I have a Intel quad core cpu and an nvidia 9800 gt graphic card. I would like to use all 5 cpu, but I don't understand what to do.
Thanks.
ID: 854473 · 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 854474 - Posted: 17 Jan 2009, 1:51:50 UTC - in response to Message 854473.  

Hello, I got the same problem but I can't find this dir: All Users\Application Data\BOINC
I'm using Windows Vista and I have a Intel quad core cpu and an nvidia 9800 gt graphic card. I would like to use all 5 cpu, but I don't understand what to do.
Thanks.

The directory is different on each OS. What OS are you using?


BOINC WIKI
ID: 854474 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 854578 - Posted: 17 Jan 2009, 9:12:44 UTC - in response to Message 854473.  

I'm using Windows Vista

In Vista the Data directory is by default at C:\ProgramData\BOINC\

An easy way to find this out is to restart BOINC and look in the messages. At the top of the messages list, it'll tell where your BOINC Data directory is.
ID: 854578 · Report as offensive
luca1459

Send message
Joined: 3 Apr 99
Posts: 10
Credit: 44,344
RAC: 0
Italy
Message 854607 - Posted: 17 Jan 2009, 11:52:48 UTC

Ok, but this is very strange.... under C:\ProgramData\ there is NOT a Boinc folder!!
very strange... is it maybe because when I installed Boinc I choose to not to run under a privileged account? (sorry for my bad english!)
Thanks for your help!
ID: 854607 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 854647 - Posted: 17 Jan 2009, 16:38:54 UTC - in response to Message 854607.  

Well, as I said, exit BOINC and restart it.

BOINC Manager->Advanced view->File->Exit->Check "Stop running science applications when exiting BOINC Manager" and OK.

Then (gambling it's the same in Vista) Start->Programs->BOINC->BOINC Manager.
Open BOINC Manager->Messages-> scroll all the way up to the top of the messages. The path to your Data directory will show in the 3rd, 4th or 5th line.
ID: 854647 · Report as offensive
Profile Alnero

Send message
Joined: 23 Oct 01
Posts: 15
Credit: 24,477,177
RAC: 0
United States
Message 854785 - Posted: 17 Jan 2009, 20:55:50 UTC

Ok, so I set these options, and it runs 3 tasks, but one of them use core 1, and the other two use core 2... what's the point in running two on one core? and continuing to not use the GPU?

Q: How many roads must a man walk down?
A: 42
ID: 854785 · Report as offensive
Profile Alnero

Send message
Joined: 23 Oct 01
Posts: 15
Credit: 24,477,177
RAC: 0
United States
Message 855290 - Posted: 19 Jan 2009, 4:21:00 UTC - in response to Message 854785.  

Bump...

Please, anyone....
Q: How many roads must a man walk down?
A: 42
ID: 855290 · Report as offensive
Narei

Send message
Joined: 23 May 08
Posts: 3
Credit: 337,721
RAC: 0
United States
Message 855306 - Posted: 19 Jan 2009, 5:14:21 UTC

I had the same cc_config in mine, and I was told that is not needed on the beta version of BOINC, so it's gonna be fixed. I'm by no means an expert, but from what I've read, *only* CUDA enabled tasks will be able to use the gpu. Regular S@H Enhanced tasks will not, even with the <ncpus>3</ncpus> config. Also, if you look, it's specifying cpu's and not GPU's. So it will have to put 2 tasks on one core, running both at the same time at slower speeds. BOINC doesn't see the gfx card as a CPU.

Though if you actually get a CUDA task, then you may be able to run 3 tasks effiecently. That's just a quess though.

Maybe someone can verify/clarify this, but hopefully it answers yoru question enough.
ID: 855306 · 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 855308 - Posted: 19 Jan 2009, 5:23:43 UTC

From what I understand, CUDA was taking most of a CPU and causing confilcts with other projects under windows unless it got its own CPU. So the Windows client was allocating a full CPU per CUDA task. I am not certain if there is a fix for this yet or not. I know that you will have to download a new version of the client to get the fix though.

There was for a time a limit on the minimum speed of the CUDA device accepted. This has recently been removed as a fix has been developed.

CUDA tasks can run on CUDA hardware, and some projects allow them to fall back to running on the CPU. CPU tasks will only run on the CPU and NOT run on the CUDA device.

I do not know if the fixes are BETA only or if they have been moved to S@H main as well.


BOINC WIKI
ID: 855308 · Report as offensive
luca1459

Send message
Joined: 3 Apr 99
Posts: 10
Credit: 44,344
RAC: 0
Italy
Message 855557 - Posted: 19 Jan 2009, 23:14:50 UTC


I got this setup on cc_config.xml:

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

I got a Quad Core cpu + an Nvidia 9800GT as you can see below. I have the italian version of Windows Vista, but cpu values are universal :) and can proof that even with this setup BOINC is using only the CUDA cpu:

http://img120.imageshack.us/img120/4507/pic1yn1.jpg
http://img120.imageshack.us/img120/8508/pic2jy1.jpg


Is there something wrong? I still don't understand if I can use all the 4 cpu + CUDA at the same time on different tasks!

Thanks again!
ID: 855557 · Report as offensive
Fred W
Volunteer tester

Send message
Joined: 13 Jun 99
Posts: 2524
Credit: 11,954,210
RAC: 0
United Kingdom
Message 855559 - Posted: 19 Jan 2009, 23:26:28 UTC - in response to Message 855557.  


I got this setup on cc_config.xml:

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

I got a Quad Core cpu + an Nvidia 9800GT as you can see below. I have the italian version of Windows Vista, but cpu values are universal :) and can proof that even with this setup BOINC is using only the CUDA cpu:

http://img120.imageshack.us/img120/4507/pic1yn1.jpg
http://img120.imageshack.us/img120/8508/pic2jy1.jpg


Is there something wrong? I still don't understand if I can use all the 4 cpu + CUDA at the same time on different tasks!

Thanks again!

With the currently released versions of Boinc, only if your CPU cores are crunching AstroPulse or another project entirely.

F.
ID: 855559 · Report as offensive
Softlies
Avatar

Send message
Joined: 29 Jan 09
Posts: 10
Credit: 47,594
RAC: 0
Canada
Message 859757 - Posted: 30 Jan 2009, 15:18:50 UTC
Last modified: 30 Jan 2009, 15:21:23 UTC

I was able to use all my cores(4) and my gpu just choosing "Use my gpu" option in Your Prefernces on the site.Then get a bunch of work, go back, and turn that setting off. Update and get more work. The new ones will be on your cpu's and the old ones will continue on Cuda. By Switching back and forth im sure you could keep both queues full. I was just trying to make my graphics work....Why is there no graphics for CUDA?

Edit: Done on 6.4.5
ID: 859757 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 859761 - Posted: 30 Jan 2009, 15:34:34 UTC - in response to Message 859757.  

...Why is there no graphics for CUDA?

See here.
ID: 859761 · Report as offensive
Softlies
Avatar

Send message
Joined: 29 Jan 09
Posts: 10
Credit: 47,594
RAC: 0
Canada
Message 859772 - Posted: 30 Jan 2009, 15:58:51 UTC

Says it has a hard time Showing graphics while using gpu already, but, with the setup in my above post i was able to view the graphices for a cpu WU(non cuda) while i was still using my gpu to process the Cuda's left on my list. So it seemingly can run graphics while processing,although im sure it would be a bit slower.
ID: 859772 · 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 859990 - Posted: 31 Jan 2009, 3:09:26 UTC - in response to Message 859772.  

Says it has a hard time Showing graphics while using gpu already, but, with the setup in my above post i was able to view the graphices for a cpu WU(non cuda) while i was still using my gpu to process the Cuda's left on my list. So it seemingly can run graphics while processing,although im sure it would be a bit slower.


The Show Graphics is different than the Screen Saver option. They are not one and the same.
ID: 859990 · Report as offensive
Profile Ing. Francisco Reinoso

Send message
Joined: 7 Nov 99
Posts: 2
Credit: 2,012,697
RAC: 0
Ecuador
Message 866507 - Posted: 17 Feb 2009, 15:35:17 UTC

I'm getting this: (0.14 CPU, 1 CUDA) and is just processing 1 task at a time. At least I want 2 or 3 tasks. I have a Quad Core processor and the NVidia 9500GT. What should I do?


ID: 866507 · 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 866624 - Posted: 18 Feb 2009, 3:00:26 UTC - in response to Message 866507.  

I'm getting this: (0.14 CPU, 1 CUDA) and is just processing 1 task at a time. At least I want 2 or 3 tasks. I have a Quad Core processor and the NVidia 9500GT. What should I do?


Do you allow AstroPulse workunits? Are you attached to any other projects?

If you only allow SETI MultiBeam workunits, these are the only ones that can be processed by CUDA, and when you are processing MultiBeam on CUDA, the CPU cannot processes these too. AstroPulse or another project are required to make use of your other cores.
ID: 866624 · Report as offensive
1 · 2 · Next

Questions and Answers : Windows : How to set BOINC use 2 cores and one gpu ?


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