Skip to content
/ reaper Public
forked from p2k/reaper

OpenCL GPU and CPU miner for SolidCoin 2.0 - coded by mtrlt - github mirror - pull requests are redirected to the author

License

Notifications You must be signed in to change notification settings

MobiusL/reaper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reaper

Reaper is the first OpenCL GPU miner for SolidCoin 2.0, coded by mtrlt, currently in an early stage of development. It is open source and licensed under the GPL 3.0.

Reaper works well on both ATI and Nvidia GPUs. Although ATI GPUs appear to be more efficient, many types of GPU remain untested. Users are encouraged to experiment with the software and try to attain the best hash rate they can and post their results on the official SolidCoin forum so they can be included in the Mining Hardware Performance page.

As well as supporting GPU mining, Reaper can be configured to mine with the CPU too. Enabling CPU mining does not normally have an impact on GPU mining hash rates.

How to use

Use from the command line, syntax:

reaper <host> <port> <user> <pass> [config_filename]

Configuration file

The default configuration file name is reaper.conf which should be located in the same directory as the executable. The available configuration options are:

cpu_mining_threads [number]

Used to specify on how many threads you want to mine on your CPU(s).

Recommended value: Number of logical cores. For example, if you have a quad core CPU set this to 4. If you have a quad core with Hyper Threading, set it to 8.

device [number]

Used to specify which GPU devices reaper should use. For example, if a user had 4 GPUs, inserting the following lines into the conf:

device 0
device 2

would make Reaper use devices 0 and 2, and leave devices 1 and 3 free. If there are no device lines in the config, Reaper will attempt to use all available GPUs.

threads_per_gpu [number]

How many threads serve each GPU. Different types of GPU may benefit from a higher or lower number, but 2 is optimal in most cases.

Recommended values: 1, 2 or 4

aggression [number]/max

How much work is pushed onto the GPU at a time. Higher values for Aggression typically produce higher hash rates. Experiment with different values to find the best setting for your system.

From v10 onwards, there is a "maximum aggression" setting. It automatically sets the aggression to an optimal value. It's useful for dedicated mining machines. It is enabled like this: aggression max instead of a number.

Recommended values: max for dedicated miners, otherwise over 10

worksize [number]

The size of the work sent to the GPU thread. Experiment with different values to find the fastest hash rate for your setup. 128 seems to be optimal for most setups.

Recommended values: 32, 64, 128, 256

kernel [filename]

What file to use as the kernel. The default is reaper.cl.

Recommended value: reaper.cl

save_binaries [yes/no]

Whether to save binaries after compiling. With this option enabled, subsequent start-ups are faster. If this option is enabled, remember to delete the binaries when updating drivers.

Recommended value: yes

platform [number]

Select which OpenCL platform to use. For example the AMD one is called "AMD Accelerated Parallel Processing". The NVIDIA one is "CUDA something". Usually platform number 0 is the one you want.

Recommended value: 0

enable_graceful_shutdown [yes/no]

Whether to enable the "Graceful Shutdown" option. When this is enabled, users can press "Q" then "Enter" to shut down Reaper gracefully.

Recommended value: yes

In v11, the following options were added:

long_polling [yes/no]

Whether to enable the experimental long polling support.

Recommended value: yes

host [address]
port [number]
user [text]
pass [text]

You can now configure the server's info in the config file instead of having to use command line arguments.

proxy [address]

Proxy information such as: socks4://user:pass@proxyaddr:port

include [filename]

Loads a config file and its settings.

#can put the host/port/user/pass info to the config instead #proxy settings #include directive in config

Compiling

Reaper is compiled using CMake. If you're on Windows, you can use the supplied cmake-win.cmd batch file. Otherwise, issue the following commands in the reaper directory:

mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
make

If you want to disable compiling the OpenCL part, issue this command:

cmake -D CMAKE_BUILD_TYPE=Release -D CPU_MINING_ONLY=ON ..

After compiling you can move the resulting reaper binary where you want, but make sure to take along the reaper.cl kernel file as well as the reaper.conf configuration file found in the root directory.

Known bugs

Kernel build not successful: -46

This bug seems to occur on systems with multiple GPUs. The best available workaround is to try repeatedly until the error goes away.

Windows reports MSVCP100.DLL missing

Install the Microsoft Visual C++ 2010 Redistributable Package

See Also

Mining Hardware Performance

About

OpenCL GPU and CPU miner for SolidCoin 2.0 - coded by mtrlt - github mirror - pull requests are redirected to the author

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 49.1%
  • C++ 43.5%
  • Objective-C 7.3%
  • Shell 0.1%