PDA

View Full Version : Need SETI@home GPU opt app advice



zombie67
10-10-12, 10:15 PM
I am using the .40 lunatics installer. (Yes, I know it's been removed from the d/l site due to legal issues that are to be resolved.)

Anyway, I need optimization advice, and I am hoping our ARMY of S@H users can help provide it.

CUDA: I think this is fairly straight forward, as there is only one kind of task to choose. But what is the right ratio of tasks and CPU usage? I have 560 TI, and 580. I am currently using .25 CPU and 2 tasks per GPU. What settings *should* I be using?

ATI: This one is more complicated. There are two different apps: Multibeam and astropulse. My cards are all 7970. Many questions

1) Which pays better?

2) If MB, same questions as with CUDA. What CPU and number of tasks per GPU to use?

3) If AP, more complicated questions. What number of tasks per GPU. And what with that number in mind, what options settings? For example:

-unroll 32 -ffa_block 16384 -ffa_block_fetch 8192

I have no idea what any of these options do, and this is probably an incomplete list. Does a FAQ for this stuff exist?

TIA!

zombie67
10-11-12, 12:28 AM
Okay, I looked at the top hosts. AMD cards are *WAY* down the list. So it looks like there is no point in using AMD cards there.

So I am refining my question. Best settings for nVidia cards listed in the previous post?

Fire$torm
10-11-12, 04:33 PM
Sorry Z, I wish I could help. Did a little looking around but there doesn't seem to be much out there or its buried pretty deep in the forums. Might I suggest PM'ing one of the guru's on Lunatics forums?

Draconian
12-22-12, 01:47 AM
Okay, I looked at the top hosts. AMD cards are *WAY* down the list. So it looks like there is no point in using AMD cards there.

So I am refining my question. Best settings for nVidia cards listed in the previous post?

Know this was asked a while back, but figured to reply.
I was crunching SETI for quite a while, also using lunatics .40. Running a single GTX680 on a hexacore.

Found that running 2 gpu tasks on it were about all that it could handle - using MSI Afterburner, found that GPU usage was in the 80s to 90%.
Have been through their optimization threads and haven't really come across anyone having success with running more than 3 tasks per card. No worries about CPU resources for the tasks - the data itself is pretty small and isn't CPU driven (you'll see very little CPU resources per task - and it's fine that way).
All of this is, of course, assuming that the project is up and pushing tasks - they have hot a little trouble lately keeping the system on line due to short power failures.

EmSti
01-18-13, 09:35 PM
I am looking for the lunatics v 0.4 installer, any one have it. I was trying to get the extra gtx 680 engine in my gtx 690 to run seti (can't get both to do poem) and it is erroring out. Sounds like lunitics is the way to fix the problem, but of course it can't be down loaded. If anyone has it I would love a copy.

Al
01-18-13, 09:48 PM
I am looking for the lunatics v 0.4 installer, any one have it. I was trying to get the extra gtx 680 engine in my gtx 690 to run seti (can't get both to do poem) and it is erroring out. Sounds like lunitics is the way to fix the problem, but of course it can't be down loaded. If anyone has it I would love a copy.

I've got it. PM sent.

Duke of Buckingham
01-18-13, 10:56 PM
We can crunch SETI with GPU? Man, I was lost with that one ... I thought only Seti home beta had GPU tasks.

http://soulestialservices.com/wp-content/uploads/2012/07/confused.jpg

Al
01-19-13, 12:13 AM
I am looking for the lunatics v 0.4 installer, any one have it. I was trying to get the extra gtx 680 engine in my gtx 690 to run seti (can't get both to do poem) and it is erroring out. Sounds like lunitics is the way to fix the problem, but of course it can't be down loaded. If anyone has it I would love a copy.

Unless things have changed recently, prepare for some frustration on Seti. Slow downloads and servers off line from Tuesday - Thursday every week. You should have time between now and Tuesday to build a 3 day cache to get you through the dry spell. Good luck!

EmSti
01-19-13, 10:03 AM
Received from Al, thanks.

zombie67
01-19-13, 10:43 AM
For those who need it:

32 bit windows (https://dl.dropbox.com/u/55884901/Lunatics_Win32_v0.40_setup.exe)
64 bit windows (https://dl.dropbox.com/u/55884901/Lunatics_Win64_v0.40_setup.exe)

EmSti
01-19-13, 11:28 AM
This could be interesting....I am completing cuda work units now that I have lunitics code in place. :-bd But it is taking longer to download a workunit than it takes a gtx 680 engine to complete it. First 3 wus took 2 minutes, 2 minutes and 6 minutes to complete. 2 tasks are downloading at a time, some suspending off and on, and taking over 3 minutes.

Will let it go for awhile and see if seti starts sending any faster.

Slicker
01-19-13, 12:43 PM
Okay, I looked at the top hosts. AMD cards are *WAY* down the list. So it looks like there is no point in using AMD cards there.

So I am refining my question. Best settings for nVidia cards listed in the previous post?

That's because SETI uses OpenCL for AMD. OpenCL performance can be compared to the stuff that comes out the southbound end of a northbound mule. And yet, AMD has dropped CAL support in the latest drivers (or at least the beta version of them). Also, remember that OpenCL is 90% based on CUDA and, whether or not people really want to admit it, the language was developed for the nVidia hardware whereas AMD has had to develop their hardware to work with the nVidia preferred software. And did I mention that nVidia provided development support to BOINC/SETI whereas AMD did not?

Then again, nVidia still supports CUDA and OpenCL on an 8400GS. AMD has dropped support for HD 38xx and now HD 48xxx GPUS.

My suggestion is that if you have AMD stock, sell.

Duke of Buckingham
01-19-13, 07:54 PM
Very nice I installed the application and now I am running SETI on ATI, thanks Z.

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

EmSti
03-05-13, 10:07 AM
Adding to collective knowledge the little bit of info I have gained based on my system and SETI.

My setup 1 7970 and 1 gtx 690 (2 gtx 680 engines - added to help with search hits) with i7-2600k, running lunitics with a patch for ati/nvidia mixed setups.

For the 680 engines running 3 multiBeeam (labeled as setihome_enhanced application) wus per GPU (6 total). Better than 2, I haven't tried 4 since I am getting 96 to 98% GPU utilization.

For 7970, I got a lot of restarts on the ATI multibeam wus until they errored out. Found the error and a patch for lunatic, but Seti hasn't resent me any ati MultiBeam wus since the patch, so I don't know if I added the files properly or if it worked. Refer to
http://setiathome.berkeley.edu/forum_thread.php?id=66812
Look at the last post for download. If someone has a newer install of lunatic than v 0.40, please share. Since this isn't working yet, it could be a patch for a newer version or I have it in wrong, or I have to rest to get Multibeam again. A nwer version may already include the patch. Date of files in the patch 2/3/2012.

For astropulse on 7970, I have made some progress on completion times.
Original Lunitics config: <cmdline>-instances_per_device 1 -unroll 4 -ffa_block 2048 -ffa_block_fetch 1024 -sbs 128 -v505</cmdline>
Original times: about 33 to 35 minutes per wu
Gpu usage: Don't remember exactly, but it bounced around 50%.

Change 1: <cmdline>-instances_per_device 1 -unroll 16 -ffa_block 8192 -ffa_block_fetch 4096 -sbs 512 -hp -no_cpu_lock </cmdline>
Change 1 times: about 26 minutes to 28 minutes per wu
unroll 16 - picked that value because it is 1/2 of the cumputation units of 7970 (see link below)
Rest of the values are guesses based on some light reading, there could be better values. I would love corrections.
Change 1 GPU: GPU bounces between 67 to 80%

Change 2: <cmdline>-instances_per_device 2 -unroll 16 -ffa_block 8192 -ffa_block_fetch 4096 -sbs 512 -hp -no_cpu_lock </cmdline>
<coproc>
<type>ATI</type>
<count>0.5</count>
</coproc>
Change 2 times: About 2 wus every 41 to 42 minutes or 1 wu every 21 minutes. Sticking with the params for now.
Change 2 GPU: nearly 100%, bounced between 88 to 96% (edited to correct values)

Link to param definitions.
http://setiathome.berkeley.edu/forum_thread.php?id=67407&sort=5#1210310

Biggest problem is getting astropulse downloaded fast enough to get 2 wus to run at the same time. Faster to crunch them than to download them so far. Starts out only allowing a small number, hopefully client will tune the times and get more at once.

EmSti
03-05-13, 10:21 AM
I have learned of a feature in boinctasks that may be helpful. Since Seti downloads seem to constantly stop and retry later (often hours), I went looking for a way to do retry all on the downloads automatically. Looks like BoincTasks added a tunable feature to do updates and retries. I think it only works on the localhost or boinc tasks, someone with more than one machine will have to test to multiple clients.

Still experimenting but it seems to help speed up the seti retries. I added the following config.xml to the exe dir for BonicTasks and restarted bonic taks. The downloads and uploads parts are commented out, using the auto. You can see if it took by looking the in bonictasks log (from the menu list Show -> log).

<config>
<refresh>
<!-- <downloads> 3600 </downloads>
<uploads> 3600 </uploads> -->
<auto> 600 </auto>
<refresh> 900 </refresh>
</refresh>
</config>

<!--

Make sure you open this file in a simple text editor, like notepad.exe only.
This file has to be stored in ascii format.

Remove any items that you don't need.
Make sure there is only one <config></config> block!

Next store this file next to the BoincTasks.exe and restart BoincTasks.

options block:

no_cleanup 1 Will not cleanup any data, like e.g. - 13% -> 0%, 123% -> 100% or remaining time -1d -> 0
0 Will cleanup the data.

checkpoint block:

Generate a warning color on overdue checkpointing.

refresh block:

downloads retry all downloads on the localhost every xx seconds.
uploads retry all uploads on the localhost every xx seconds.
auto will disable downloads, uploads. The refresh time will be auto regulated. Uses the value for the maximum retry time.
refresh refresh on the localhost every xx seconds. = Report all completed tasks.

-->

Edit: The comment section at the end of the config.xml is from the example found in \Program Files\eFMer\BoincTasks\examples\config.xml