GithubHelp home page GithubHelp logo

isabella232 / reaper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from p2k/reaper

0.0 0.0 0.0 1.08 MB

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

Home Page: http://wiki.solidcoin.info/wiki/Reaper

License: Other

C 48.01% C++ 51.85% Shell 0.14%

reaper's Introduction

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

reaper's People

Contributors

mtrlt avatar p2k avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.