MultiBeam OpenCL application is intended to process SETI@home MultiBeam v6,v7 tasks and forthcoming "large" tasks.

Source code repository: https://setisvn.ssl.berkeley.edu/svn/branches/sah_v7_opt
Build from SVN revision: 1817
Date of revision commit: 2013/04/15 02:43:36

Available command line switches:

-v N :sets level of verbosity of app. N - integer number. N=0 - to disable signal printing, N=2 to enable best signal updates printing.

-period_iterations_num N: Splits single PulseFind kernel call to N calls for longest PulseFind calls. Can be used to reduce GUI lags or
	to prevent driver restarts. Can affect performance. Experimentation required. Default value for v6/v7 task is N=20. N should be positive integer.

-sbs N :Sets maximum single buffer size for GPU memory allocations. N should be positive integer and means bigger size in Mbytes. 
	Can affect performance and total memory requirements for application to run. Experimentation required.

-hp : Results in bigger priority for application process (normal priority class and abothe normal thread priority). 
	Can be used to increase GPU load, experimentation required for particular GPU/CPU/GPU driver combo.

-cpu_lock :Results in CPUs number limitation for particular app instance. Also attempt to bind different instances to different CPU cores will be made.
	Can be used to increase performance under some specific conditions. Can decrease performance in other cases though. Experimentation required.

Here some already obsolete options are listed. They are not tested for proper operation with latest builds and are only listed for completeness:

-gpu_lock :Old way GPU lock enabled. Use -instances_per_device N switch to provide number of instances to run.

-instances_per_device N :Sets allowed number of simultaneously executed GPU app instances (shared with AstroPulse app instances). 
	N - integer number of allowed instances. 

These 2 options used together provide BOINC-independent way to limit number of simultaneously
executing GPU apps. Each SETI OpenCL GPU application with these switches enabled will create/check global Mutexes and suspend its process
execution if limit is reached. Awaiting process will consume zero CPU/GPU and rather low amount of memory awaiting when it can continue execution.

These switches can be placed into the file called mb_cmdline.txt also.

For examples of app_info.xml entries look into text file with .aistub extension provided in corresponding package.

Known issues:
- With 12.x Catalyst drivers GPU usage can be low if CPU fully used with another loads.
  Same applies to NV drivers past 267.xx and to Intel SDK drivers. 
  If you see low GPU usage of zero blanked tasks try to free one or more CPU cores.
- Catalyst 12.10,12.11 beta and 13.1 have broken OpenCL compiler that will result in driver restarts or invalid results.
  But these drivers can be used still if precompiled kernels binaries that recived under older Catalyst driver will be used.
  That is, delete all *.bin* files from SETI project directory, revert to Catalyst 12.8 (for example), process at least one task
  (check that those *.bin* files were generated again) and (if needed) update to Catalyst 13.1.
- For overflowed tasks found signal sequence not always match CPU version.

Best usage tips:
For best performance it is important to free 2 CPU cores running multiple instances.
Freeing at least 1 CPU core is necessity to get enough GPU usage.

App instances.
______________

On high end cards HD 5850/5870, 6950/6970, 7950/7970 you can run 3 instances.
HD 7950/7970 can handle 4 instances very well.
Beware free CPU cores.

On mid range cards HD 5770, 6850/6870, 7850/7870 best performance should be running 2 instances.

If you experience screen lags or driver restarts increase -period_iteration_num in app_info.xml or mb_cmdline*.txt
It is more important to free CPU core(s) so more instances are running. 

command line switches.
______________________

Running 3 instances set -sbs 156 is best option for speed on 1GB GPU.
If only 2 instances are running set -sbs 256 for max speed up.
Users using GPU with 3 GB RAM set -sbs 256 for best speed also running 3 or more instances.
One instance requires aprox. 500 MB VRAM.
Command line switches can be used either in app_info.xml or mb_cmdline.txt.
Params in mb_cmdline*.txt will override switches in <cmdline> tag of app_info.xml.
 
Addendum:
_________

Running multiple cards in a system requires freeing another CPU core.

