norcino / xmrig-nvidia

Monero (XMR) NVIDIA miner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XMRig

XMRig is high performance Monero (XMR) NVIDIA miner, with the official full Windows support.

GPU mining part based on psychocrypt code used in xmr-stak-nvidia.

⚠️ Suggested values for GPU auto configuration can be not optimal or not working, you may need tweak your threads options. Please fell free open an issue if auto configuration suggest wrong values.

Table of contents

Features

  • High performance.
  • Official Windows support.
  • Support for backup (failover) mining server.
  • CryptoNight-Lite support for AEON.
  • Automatic GPU configuration.
  • GPU health monitoring (clocks, power, temperature, fan speed)
  • Nicehash support.
  • It's open source software.

Download

Usage

Command line options

  -a, --algo=ALGO           cryptonight (default) or cryptonight-lite
  -o, --url=URL             URL of mining server
  -O, --userpass=U:P        username:password pair for mining server
  -u, --user=USERNAME       username for mining server
  -p, --pass=PASSWORD       password for mining server
  -k, --keepalive           send keepalived for prevent timeout (need pool support)
  -r, --retries=N           number of times to retry before switch to backup server (default: 5)
  -R, --retry-pause=N       time to pause between retries (default: 5)
      --cuda-devices=N      List of CUDA devices to use.
      --cuda-launch=TxB     List of launch config for the CryptoNight kernel
      --cuda-max-threads=N  limit maximum count of GPU threads in automatic mode
      --cuda-bfactor=[0-12] run CryptoNight core kernel in smaller pieces
      --cuda-bsleep=N       insert a delay of N microseconds between kernel launches
      --cuda-affinity=N     affine GPU threads to a CPU
      --no-color            disable colored output
      --donate-level=N      donate level, default 5% (5 minutes in 100 minutes)
      --user-agent          set custom user-agent string for pool
  -B, --background          run the miner in the background
  -c, --config=FILE         load a JSON-format configuration file
  -l, --log-file=FILE       log all output to a file
  -S, --syslog              use system log for output messages
      --nicehash            enable nicehash support
      --print-time=N        print hashrate report every N seconds
      --api-port=N          port for the miner API
      --api-access-token=T  access token for API
      --api-worker-id=ID    custom worker-id for API
  -h, --help                display this help and exit
  -V, --version             output version information and exit

Config file.

GPU configuration now possible only via config file. Sample config:

{
    "background": false,
    "colors": true,
    "donate-level": 5,
    "log-file": null,
    "print-time": 60,
    "retries": 5,
    "retry-pause": 5,
    "syslog": false,
    "threads": [
        {
            "index": 0,
            "threads": 42,
            "blocks": 18,
            "bfactor": 6,
            "bsleep": 25
        }
    ],
    "pools": [
        {
            "url": "pool.minemonero.pro:5555",
            "user": "",
            "pass": "x",
            "keepalive": true,
            "nicehash": false
        }
    ]
}

If threads option not specified the miner will try automatically create optimal configuration for your GPUs.

Donations

Default donation 5% (5 minutes in 100 minutes) can be reduced to 1% via command line option --donate-level.

  • XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
  • BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT

Contacts

About

Monero (XMR) NVIDIA miner

License:GNU General Public License v3.0


Languages

Language:C++ 67.2%Language:C 24.2%Language:Cuda 4.8%Language:CMake 3.7%