Modified SETI MB CUDA + opt AP package for full GPU utilization

Message boards : Number crunching : Modified SETI MB CUDA + opt AP package for full GPU utilization
Message board moderation

To post messages, you must log in.

Previous · 1 . . . 10 · 11 · 12 · 13 · 14 · 15 · 16 . . . 25 · Next

AuthorMessage
rascal
Avatar

Send message
Joined: 26 Apr 07
Posts: 18
Credit: 929,874
RAC: 0
Serbia
Message 850730 - Posted: 8 Jan 2009, 4:33:39 UTC - in response to Message 850701.  

What's suposed to happen when you go to "Read config file" because nothing is happening when i select it.
"Mislim dakle postojim dakle kenjam non-stop"
ID: 850730 · 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 850733 - Posted: 8 Jan 2009, 4:41:20 UTC - in response to Message 850726.  
Last modified: 8 Jan 2009, 4:42:59 UTC

Saved as an "All Files" save option, with the given text in the file, copied in the "C:\ProgramData\BOINC" folder after shuting down BOINC and still just 3 cores and the CUDA.

God damn this is pissing me off!!!!!!!!!!

could it be the encoding of the text file. I used the UTF-8 option?

Try saving the file using ANSI instead of UTF-8, that's what I've used.
ID: 850733 · 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 850735 - Posted: 8 Jan 2009, 4:47:58 UTC - in response to Message 850734.  
Last modified: 8 Jan 2009, 4:48:12 UTC



I've got 4 AP Wu's, and 1 Cuda Wu going at the same time, and I think it's
slowing things down. 3 AP WU's and 1 Cuda WU may be the optimal configuration
for a Quad processor.

YMMV


If you're using the Modified SETI MB CUDA + opt AP package, it was designed to use all the cores from what I understand about what's been said.
ID: 850735 · Report as offensive
rascal
Avatar

Send message
Joined: 26 Apr 07
Posts: 18
Credit: 929,874
RAC: 0
Serbia
Message 850743 - Posted: 8 Jan 2009, 5:19:10 UTC - in response to Message 850735.  

that is what i understud also, and i thin you are wright 3+1 is just about enough. But you wont believe this. I just restored my system to about 2 days ago because of some driver problems, and when i started it up again it whent to 4+1 all on it's own without thecc_config file. But as soon as i changed cpu utilization in boinc preferences to 80% and back to 100% it went back to 3+1.

I'm just gone leave it as it is because 3 cores x 3.5 GHz + 1 CUDA witch as far as i can see dose as much work as 2 CPU cores is plenty.

Still looking forward to future optimizations of CUDA, this will be a milestone in crunching data for boinc purposes history.

Thanx everyone for your help.

"Live long and prosper" :- ) :- ) :- )
"Mislim dakle postojim dakle kenjam non-stop"
ID: 850743 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 850749 - Posted: 8 Jan 2009, 5:51:04 UTC - in response to Message 850611.  

Had my first hiccup on an AP while running CUDA. Not sure it has anything to do with CUDA though, but since I'm running CUDA 24/7 I guess it potentilly could. Anyway, here's the task details.

Apparently this problem "In ap_fileio.cpp, Statefile::Read, statefile is 0'd, trying again:" kept coming up after it got about 48% of the way thru the task, and then ended with "Statefile::Read: 1 iterations with 0'd statefile.". At some point after that my pc rebooted, which I thought was due to a CUDA task (God knows it's happened before) but when Boinc was started again there was no error on a CUDA task before and after the reboot, but the AP was reset to 0% progress. I let the task run again and it finished without incident, also while still running CUDA MB.

AMD64 3800+
XP Home SP2
8500GT
180.60

That's a known problem with AP, in fact Josh Von Korff added the 100 tries at rereading the file as an attempt to relieve it. It isn't repeatable so almost impossible to pin down what's causing it, and happens seldom enough that there isn't much impact. If it does occur, the app must start over at the beginning since it has no information from the last checkpoint. As it's something to do with the filesystem, it seems unlikely that MB CUDA would affect it though not impossible.

The partial workaround is to have BOINC keeping the app in memory when it is preempted. That mode doesn't have to try to read the state file when the app next gets its turn to run due to normal task switching, but when you exit BOINC of course the state file will be needed after it's restarted.
                                                               Joe
ID: 850749 · 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 850760 - Posted: 8 Jan 2009, 6:41:52 UTC - in response to Message 850749.  

The partial workaround is to have BOINC keeping the app in memory when it is preempted. That mode doesn't have to try to read the state file when the app next gets its turn to run due to normal task switching, but when you exit BOINC of course the state file will be needed after it's restarted.
                                                               Joe

Ok, thanks Joe. I had it set up that way and forget exactly why I chose to uncheck it.

Thanks again
ID: 850760 · 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 850761 - Posted: 8 Jan 2009, 6:46:49 UTC - in response to Message 850743.  

that is what i understud also, and i thin you are wright 3+1 is just about enough. But you wont believe this. I just restored my system to about 2 days ago because of some driver problems, and when i started it up again it whent to 4+1 all on it's own without thecc_config file. But as soon as i changed cpu utilization in boinc preferences to 80% and back to 100% it went back to 3+1.

I'm just gone leave it as it is because 3 cores x 3.5 GHz + 1 CUDA witch as far as i can see dose as much work as 2 CPU cores is plenty.

Still looking forward to future optimizations of CUDA, this will be a milestone in crunching data for boinc purposes history.

Thanx everyone for your help.

"Live long and prosper" :- ) :- ) :- )

Since the cc config file doesn't seem to be working for you, you might want to consider going to Boinc 6.5.0 if you decide you want to persue it in the future. I don't have first hand experience, but I beleive it's suppose to be able to get the config you're looking for without a cc config file. It's a beta though so there may be other issue associated with it.
ID: 850761 · Report as offensive
Profile Voyager
Volunteer tester
Avatar

Send message
Joined: 2 Nov 99
Posts: 602
Credit: 3,264,813
RAC: 0
United States
Message 851072 - Posted: 9 Jan 2009, 1:15:28 UTC

My board was supposed to be here tomorrow.I'm sure I'll get is as soon as interstate 5 is reopened due to flooding, I tracked it to Portland but It looks like it can't get here from there.That's to the south, and to the east interstate 90 is closed due to avalanche! clowns to the left,jokers to the right,here I am stuck in the middle!!
ID: 851072 · Report as offensive
e6600

Send message
Joined: 25 Aug 06
Posts: 4
Credit: 514,792
RAC: 0
United States
Message 851105 - Posted: 9 Jan 2009, 2:46:30 UTC - in response to Message 842760.  

1) This package (Raistmer's_opt_package.rar) can be downloaded from http://files.mail.ru/CIXVXO .
It also can be downloaded from this post on Lunatics forums:
http://lunatics.kwsn.net/gpu-crunching/modified-seti-mb-cuda-opt-ap-package-for-full-gpu-utilize.msg12177.html;topicseen#msg12177
Targed hosts: Windows x86, SSE3 support for AP, CUDA support for MB.

2) It consist of modified SETI MB CUDA and current SSE3 opt SETI AP binaries with corresponding app_info.xml file
3) Modification that I have done increases CUDA worker thread priority in SETI MB CUDA that allows more fully GPU usage while keeping all CPU cores busy too. That is, using of this build can increase total performance of your host for BOINC tasks.
4) MB binaries based on CUDA MB sources recived from Eric (with small modification), opt AP is just repacking of current Lunatics opt AP release (SSE3 build).
5) It's not "official" Lunatics release so you could blame only me (or yourself, or BOINC bugs and so on and so forth) for any issues you encounter.
6) I still can' check AP+MB work (no AP tasks here) but it works just fine with CUDA MB + einstein@home combination.
7) For best CPU and GPU usage I recommend to set number of processors available for BOINC to real_number_of_cores+1. This will mitigate current BOINC bug with CPU+CUDA scheduling and will allow fully load CPU and GPU.
8) Installation instructions are the same as for any opt app: stop BOINC, decompress all files in archive into SETI project directory, restart BOINC.


where exactly is this setting? (in the bold)
i have the cc_config.xml and the opt app running, but still have 0 cpu usage
ID: 851105 · 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 851127 - Posted: 9 Jan 2009, 4:09:04 UTC - in response to Message 851105.  
Last modified: 9 Jan 2009, 4:11:05 UTC


where exactly is this setting? (in the bold)
i have the cc_config.xml and the opt app running, but still have 0 cpu usage


Unless you have it suspended, the AP task you have should be running with the config you are saying you have. When I looked at your pc there was only the one AP task. What do you show running in Windows Task Manager? I also saw you reported the last of the MB CUDA you had before you posted your last message, have you tried to get more CUDA work?

What does you cc_config.xml look like and where did you save it on your computer? It should be in C:\Documents and Settings\All Users\Application Data\BOINC on your Operating System.
ID: 851127 · Report as offensive
elec999 Project Donor

Send message
Joined: 24 Nov 02
Posts: 375
Credit: 416,969,548
RAC: 141
Canada
Message 851203 - Posted: 9 Jan 2009, 7:34:14 UTC

I got this, finally made my cuda work. But I taught GPU was suppose to be faster then cpu. My cuda is still at 0.01 at first work, and says is going to take 8 days.
Thank you
ID: 851203 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 851225 - Posted: 9 Jan 2009, 9:35:59 UTC - in response to Message 851203.  

I got this, finally made my cuda work. But I taught GPU was suppose to be faster then cpu. My cuda is still at 0.01 at first work, and says is going to take 8 days.
Thank you


What GPU and what app do you use ?
ID: 851225 · Report as offensive
Profile Dirk Sadowski
Volunteer tester

Send message
Joined: 6 Apr 07
Posts: 7105
Credit: 147,663,825
RAC: 5
Germany
Message 851338 - Posted: 9 Jan 2009, 17:06:42 UTC


I guess it's this rig.. because it's the only one with CUDA-GPU in his overview..

Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
[CUDA|GeForce 9800 GT|1|1023MB]

hostid=4737399

ID: 851338 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 851351 - Posted: 9 Jan 2009, 17:20:32 UTC - in response to Message 851203.  

I got this, finally made my cuda work. But I taught GPU was suppose to be faster then cpu. My cuda is still at 0.01 at first work, and says is going to take 8 days.
Thank you

As you will have seen, your host 4737399 has done 19 midrange WUs with its GeForce 9800 GT in less than 8 hours. I'd guess the BOINC Manager estimate may have come down to a more reasonable approximation by now.
                                                                  Joe
ID: 851351 · Report as offensive
WR-HW95
Volunteer tester

Send message
Joined: 12 Jan 02
Posts: 10
Credit: 13,513,864
RAC: 0
Finland
Message 851465 - Posted: 10 Jan 2009, 0:02:51 UTC

Could someone bend from wire how i get all threads running?
atm. I see 3 threads + 0.04CPUs, 1CUDA

I have Phenom II cpu and 2x8800GTX cards in my puter.
Thanks.
ID: 851465 · 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 851470 - Posted: 10 Jan 2009, 0:14:51 UTC - in response to Message 851465.  
Last modified: 10 Jan 2009, 0:39:20 UTC

Could someone bend from wire how i get all threads running?
atm. I see 3 threads + 0.04CPUs, 1CUDA

I have Phenom II cpu and 2x8800GTX cards in my puter.
Thanks.


cc_config.xml

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


create in notepd, save as all files named cc_config.xml to C:\Documents and Settings\All Users\Application Data\BOINC folder. Then in the Boinc Manager Advanced menu click on Read config file

Edit: i could be wrong how I'm reading your Computer summary, but Boinc only appears to see only one of your CUDA cards


Edit2 had to redo path to correct folder.
ID: 851470 · Report as offensive
WR-HW95
Volunteer tester

Send message
Joined: 12 Jan 02
Posts: 10
Credit: 13,513,864
RAC: 0
Finland
Message 851530 - Posted: 10 Jan 2009, 2:18:59 UTC - in response to Message 851474.  

Could someone bend from wire how i get all threads running?
atm. I see 3 threads + 0.04CPUs, 1CUDA

I have Phenom II cpu and 2x8800GTX cards in my puter.
Thanks.


You could try changing the line in your cc_config.xml
that reads

<ncpus>5</ncpus>
to
<ncpus>6</ncpus>

that should engage 4 cpu cores plus 2 gpu cores.



cc_config.xml file should be in your C:\*\Application Data\Boinc directory.

with the following text

<cc_config>
<options>
<ncpus>6</ncpus>
</options>
</cc_config>

If not create the file and copy to your
C:\*\Application Data\Boinc directory.

Hope this works!

I copied those lines and created that file,but its still the same. :S
I have 185.20 beta drivers amd physx 8.11.18.
ID: 851530 · Report as offensive
WR-HW95
Volunteer tester

Send message
Joined: 12 Jan 02
Posts: 10
Credit: 13,513,864
RAC: 0
Finland
Message 851537 - Posted: 10 Jan 2009, 2:47:03 UTC

OK.
Now I have running 4 threads of seti (one off 0.04% CUDA) and 2 of rosetta, so is this correct?
CUDA one is really fast though..... shoudnt there be 2 or does it uuse sli?
ID: 851537 · Report as offensive
e6600

Send message
Joined: 25 Aug 06
Posts: 4
Credit: 514,792
RAC: 0
United States
Message 851564 - Posted: 10 Jan 2009, 4:31:05 UTC - in response to Message 851127.  


where exactly is this setting? (in the bold)
i have the cc_config.xml and the opt app running, but still have 0 cpu usage


Unless you have it suspended, the AP task you have should be running with the config you are saying you have. When I looked at your pc there was only the one AP task. What do you show running in Windows Task Manager? I also saw you reported the last of the MB CUDA you had before you posted your last message, have you tried to get more CUDA work?

What does you cc_config.xml look like and where did you save it on your computer? It should be in C:\Documents and Settings\All Users\Application Data\BOINC on your Operating System.


http://img339.imageshack.us/my.php?image=setiye2.png
yeah i actually suspended all AP tasks. i think the MB CUDA is working fine, except that my cpu is not being used at all. i may just add a wcg project, so that my cpu has something to do, but i would really prefer to have cpu+gpu crunching seti
thanks for reply
ID: 851564 · 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 851566 - Posted: 10 Jan 2009, 4:40:37 UTC - in response to Message 851564.  
Last modified: 10 Jan 2009, 4:51:49 UTC

http://img339.imageshack.us/my.php?image=setiye2.png
yeah i actually suspended all AP tasks. i think the MB CUDA is working fine, except that my cpu is not being used at all. i may just add a wcg project, so that my cpu has something to do, but i would really prefer to have cpu+gpu crunching seti
thanks for reply


Hi,

You should resume the AP tasks, they won't start as long as theey are suspended. Can you show a shot of Boinc with the CUDA running and the AP task not suspened, so we can see what else is going on if anything.
ID: 851566 · Report as offensive
Previous · 1 . . . 10 · 11 · 12 · 13 · 14 · 15 · 16 . . . 25 · Next

Message boards : Number crunching : Modified SETI MB CUDA + opt AP package for full GPU utilization


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