Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ArioMiner v0.2

Arionum miner for CPU and GPU

Dev Fee

In order to support development, this miner has 1% dev fee included - 1 minute from 100 minutes it will mine for developer. Mining settings are downloaded from http://coinfee.changeling.biz/index.json each time it switches to developer mining mode.

Features

  • optimized argon2 hashing library - both in speed and in memory usage; everything not related to arionum mining was stripped down, indexing calculation was replaced with precalculated versions
  • support for both CPU and GPU mining using multiple engines perfectly adapted to your hardware
  • support for autodetecting the best version of the CPU hasher for your machine (SSE2/SSSE3/AVX/AVX2/AVX512F)
  • support for autotuning mode to get best settings for GPU mining
  • support for proxy mode, to act as an aggregator for multiple small miners and providing a nice UI dashboard for an overall view of your farm

Releases

There are binaries compiled for Windows 10 and Linux/HiveOS. Just pick the one matching your OS and skip to usage information. If for some reason the binaries don't work for you or you want the cutting edge version of this software you can try building it yourself using below instructions (build instructions are only provided for Ubuntu, you will need to adapt them accordingly for other distribution). You can get the binaries from here: https://github.com/bogdanadnan/ariominer/releases

Build it yourself

What you need:

  • Recent Linux distribution (recommended - Ubuntu 16.04 or higher)
  • Git client
  • CMake 3
  • GCC & G++ version 7 or higher or LLVM/Clang 7 or higher. Provided binaries are compiled with Clang 8, it seems to give a slightly higher hashrate for CPU mining. You can install Clang using binaries & instructions from here: https://apt.llvm.org/
  • CUDA developer toolkit 9 or higher. Provided binaries are compiled with CUDA 10.1. Follow instructions from NVidia site to get the latest version up and running: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html (be careful that CUDA might have specific requirements for compiler version as well)
  • OpenCL libraries and headers (package ocl-icd-opencl-dev in Ubuntu/Debian)

Instructions:

  • run the following snippet:
$ git clone http://github.com/bogdanadnan/ariominer.git
$ cd ariominer
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
$ make
  • if you want to use a specific compiler or the default compiler picked up by cmake is not the proper one you can overwrite it modifying the cmake command like this (eg. using clang-8):
$ CC=clang-8 CXX=clang++-8 cmake .. -DCMAKE_BUILD_TYPE=Release

Basic usage:

!!! In some cases (mostly on Windows) the miner doesn't properly detect AVX2 optimization for CPU. If AVX2 doesn't appear in optimization features list for CPU at miner startup, please verify on google if your CPU model has it. If it does have AVX2 support, please run it with "--force-cpu-optimization AVX2" option. This will give a serious boost to hash rate speed so it does worth the effort to check. !!!

  • starting in miner mode:
       ariominer --mode miner --pool <pool / proxy address> --wallet <wallet address> --name <worker name> --cpu-intensity <intensity> --gpu-intensity-cblocks <intensity> --gpu-intensity-gblocks <intensity>  
  • starting in autotune mode:
       ariominer --mode autotune --block-type GPU --autotune-start <intensity> --autotune-stop <intensity> --autotune-step <intensity>
  • starting in proxy mode:
       ariominer --mode proxy --port <proxy port> --pool <pool address> --wallet <wallet address> --name <proxy name>

Parameters:
--help: show this help text
--verbose: print more informative text during run
--mode : start in specific mode - arguments: miner / autotune / proxy

  • miner: this instance will mine for arionum
  • autotune: for finding best intensity for GPU mining
  • proxy: this instance will act as a hub for multiple miners, useful to aggregate multiple miners into a single instance reducing the load on the pool

--pool : pool/proxy address to connect to (eg. http://aropool.com:80)
--wallet : wallet address; this is optional if in miner mode and you are connecting to a proxy
--name : worker identifier; this is optional, will be autogenerated if is not provided
--port : proxy specific option, port on which to listen for clients; this is optional, defaults to 8088
--enable-api-port : miner specific option, port on which to listen for api requests; if enabled, you can get reports in json format at http://localhost:port/status; this is optional, defaults to disabled (value 0)
--cpu-intensity: miner specific option, mining intensity on CPU; value from 0 (disabled) to 100 (full load); this is optional, defaults to 100 (*)
--gpu-intensity-cblocks: miner specific option, mining intensity on GPU; value from 0 (disabled) to 100 (full load); this is optional, defaults to 100 (*); you can add more entries separated by comma for each GPU; in this case you need to add entries for all cards displayed, even if card is disabled by gpu-filter - use 0 for those
--gpu-intensity-gblocks: miner specific option, mining intensity on GPU; value from 0 (disabled) to 100 (full load); this is optional, defaults to 100 (*); you can add more entries separated by comma for each GPU; in this case you need to add entries for all cards displayed, even if card is disabled by gpu-filter - use 0 for those
--gpu-filter: miner specific option, filter string for device selection; it will select only devices that have in description the specified string; this is optional, defaults to ""; you can add more entries separated by comma; if using multiple gpu hashers you can select specific filters for each like this: --gpu-filter CUDA:[1],CUDA:[2],OPENCL:AMD where [1], [2] and AMD are filters for cards
--force-cpu-optimization: miner specific option, what type of CPU optimization to use; values: REF, SSE2, SSSE3, AVX, AVX2, AVX512F; this is optional, defaults to autodetect, change only if autodetected one crashes
--force-gpu-optimization: what type of GPU optimization/hasher to use; values: OPENCL, CUDA, AMDGCN; this is optional, defaults to autodetect; you can add more entries separated by comma
--chs-threshold: miner specific option, cblocks hashrate value under which miner will exit - it will trigger after 5 displays in report in order to allow warmup after block changes (default is disabled)
--ghs-threshold: miner specific option, gblocks hashrate value under which miner will exit - it will trigger after 5 displays in report in order to allow warmup after block changes (default is disabled)
--block-type: miner specific option, override block type sent by pool; useful for tunning intensity; values: CPU, GPU; don't use for regular mining, shares submitted during opposite block type will be rejected
--update-interval: how often should we update mining settings from pool, in seconds; increasing it will lower the load on pool but will increase rejection rate; this is optional, defaults to 2 sec and can't be set lower than that
--hash-report-interval: how often should we send hashrate to pool, in minutes; this is optional, defaults to 10 min and can't be set lower than 1 min
--report-interval: how often should we display mining reports, in seconds; this is optional, defaults to 10 sec
--show-pool-requests: miner specific option, show full requests sent to pool, debug purpose only
--autotune-start: autotune specific option, start intensity for autotuning (default 1)
--autotune-stop: autotune specific option, stop intensity for autotuning (default 100)
--autotune-step: autotune specific option, intensity steps for autotuning (default 1)
--autotune-step-time: autotune specific option, how much time should wait in a step before measuring h/s, in seconds (minimum 10, default 20)

(*) Mining intensity depends on the number of CPU/GPU cores and available memory. Full load (100) is dynamically calculated by the application. You can use fractional numbers for better tuning.

For detailed description of the parameters and for different use cases, please read the tutorial I wrote https://github.com/bogdanadnan/ariominer/blob/master/ariominer_for_beginners.md

Thank you, and happy mining :)