Questions and Answers :
Windows :
How to set BOINC use 2 cores and one gpu ?
Message board moderation
Author | Message |
---|---|
FireGate_13 Send message Joined: 10 Feb 03 Posts: 106 Credit: 304,540 RAC: 0 |
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 |
Byron S Goodgame Send message Joined: 16 Jan 06 Posts: 1145 Credit: 3,936,993 RAC: 0 |
|
FireGate_13 Send message Joined: 10 Feb 03 Posts: 106 Credit: 304,540 RAC: 0 |
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 |
luca1459 Send message Joined: 3 Apr 99 Posts: 10 Credit: 44,344 RAC: 0 |
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. |
John McLeod VII Send message Joined: 15 Jul 99 Posts: 24806 Credit: 790,712 RAC: 0 |
Hello, I got the same problem but I can't find this dir: All Users\Application Data\BOINC The directory is different on each OS. What OS are you using? BOINC WIKI |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
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. |
luca1459 Send message Joined: 3 Apr 99 Posts: 10 Credit: 44,344 RAC: 0 |
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! |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
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. |
Alnero Send message Joined: 23 Oct 01 Posts: 15 Credit: 24,477,177 RAC: 0 |
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 |
Alnero Send message Joined: 23 Oct 01 Posts: 15 Credit: 24,477,177 RAC: 0 |
Bump... Please, anyone.... Q: How many roads must a man walk down? A: 42 |
Narei Send message Joined: 23 May 08 Posts: 3 Credit: 337,721 RAC: 0 |
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. |
John McLeod VII Send message Joined: 15 Jul 99 Posts: 24806 Credit: 790,712 RAC: 0 |
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 |
luca1459 Send message Joined: 3 Apr 99 Posts: 10 Credit: 44,344 RAC: 0 |
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! |
Fred W Send message Joined: 13 Jun 99 Posts: 2524 Credit: 11,954,210 RAC: 0 |
With the currently released versions of Boinc, only if your CPU cores are crunching AstroPulse or another project entirely. F. |
Softlies Send message Joined: 29 Jan 09 Posts: 10 Credit: 47,594 RAC: 0 |
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 |
Gundolf Jahn Send message Joined: 19 Sep 00 Posts: 3184 Credit: 446,358 RAC: 0 |
|
Softlies Send message Joined: 29 Jan 09 Posts: 10 Credit: 47,594 RAC: 0 |
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. |
OzzFan Send message Joined: 9 Apr 02 Posts: 15691 Credit: 84,761,841 RAC: 28 |
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. |
Ing. Francisco Reinoso Send message Joined: 7 Nov 99 Posts: 2 Credit: 2,012,697 RAC: 0 |
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? |
OzzFan Send message Joined: 9 Apr 02 Posts: 15691 Credit: 84,761,841 RAC: 28 |
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. |
©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.