Coder Social home page Coder Social logo

marlin's Introduction

Marlin

Marlin is a Siacoin Stratum miner for OpenCL and CUDA devices developed by SiaMining. It is designed to be fast, lightweight and easy to use.

Key Features

  • Native Stratum support.
  • Lightning fast with both AMD and Nvidia GPUs.
  • Multiple built-in kernels.
  • Kernel and intensity can be set separately for each device.
  • Detection of hardware errors.
  • Detailed share reporting, including difficulties and reject reasons.

Usage

marlin -u YourPayoutAddress.WorkerName -I 28
  • By default, the miner connects to one of SiaMining.com's Stratum servers. Use option -H to connect to a specific server.
  • By default, all OpenCL GPUs are used. To use a specific subset of OpenCL devices, use option -d with a comma-separated list of device IDs. The full list of IDs is printed every time the miner is started. Note that Nvidia GPUs should be listed twice, once as CUDA and once as OpenCL devices; the OpenCL interface is disabled by default for these GPUs, as CUDA usually gives better results.
  • The default intensity is 24. You can use option -I to adjust it. You can also specify a different intensity for each device by passing a comma-separated list.
  • You can use option -K to use a kernel other than the default one; like with intensity, you can specify a different kernel for each device by passing a comma-separated list. Run a benchmark with option --benchmark to see all available kernels for a given device.

To see all supported options:

marlin -h

Concepts

Difficulty

The miner conforms to the Sia definition of difficulty (which is not the definition used by Stratum at the protocol level). SI prefixes are used to display difficulties in compact form. For instance, 4.2G = 4.2 ร— 109 = 4,200,000,000.

When a solution is submitted, the miner shows two difficulties:

  • The minimum difficulty for which the found hash is a solution.
  • The difficulty that was required to solve a share.

Hash rates

All hash rates are expressed in millions of hashes per second (MH/s). When a solution is accepted, the miner displays the hash rate of the device that found it.

Once every minute, a global report is printed. This report includes:

  • The number of accepted (A) and rejected (R) solutions.
  • The number of hardware errors (E).
  • The current hash rate of each device.
  • The current total hash rate.
  • The average total hash rate since the program was started.

Changelog

Version 1.0.0 (September 8, 2016)

  • CUDA support has been added. Nvidia GPUs should now be listed twice, once as CUDA and once as OpenCL devices. By default, OpenCL is not used for Nvidia GPUs.
  • Various enhancements to Stratum job handling.
  • Fixed an issue where duplicate shares are submitted right after a reconnection.

Version 0.9.6 (August 21, 2016)

  • A new flag --throttle has been added to specify throttling factors for devices. The default value of 1 means that devices are run at full speed, while for example a value of 0.5 lets the miner use only 50% of a device's time. This is achieved by introducing pauses between GPU calls, and results in less heat being generated. Please observe that this flag does not alter a GPU's over/underclock settings. Like with intensity, you can pass either a single value for all devices or a comma-separated list, e.g. --throttle 0.5,1,0.8.

Version 0.9.5 (August 15, 2016)

  • Intensity can now be set per device by passing a comma-separated list to flag -I, e.g. -I 24,28,27.
  • The online help (flag -h) has been expanded.

marlin's People

Contributors

siamining avatar

Watchers

James Cloos avatar Kersten Kriegbaum 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.