CPU Miner
Prerequisites
You will need:
- Ubuntu 16.04 or a later version (installation tutorial here)
- Aion node
Set-up
- Download the the pre-built CPU miner binary aionminer_CPU.tar.bz2 from the aion_miner release page
- Extract the folder to your desired location
- Open terminal and run aionminer with the desired parameter values:
Parameter | Input | Description |
---|---|---|
-h | help | Print this help message and quits |
-l | location | Stratum server:port |
-u | username | Username (aion address) |
-a | port | Local API port (default: 0 = do not bind) |
-d | level | Debug print level (0 : print all, 5 : fatal only, default: 2) |
-b | benchmark | [=arg(=200)] Run in benchmark mode (default: 200 iterations) |
-t | threads | Number of CPU threads -e [ext] Force CPU ext (0 = SSE2, 1 = AVX, 2 = AVX2) |
CPU Threads
We recommend that you allocate between 25% - 75% of your system's total number of CPUs.
Please refer to the above CPU Miner Parameters. The following example will run the AION CPU miner with 4 threads connecting to a mining pool running locally, listening on port 3333 for incoming connections:
./aionminer -t 4 -l 127.0.0.1:3333 -u {0xacc}
Running a Benchmark on your CPU
The default benchmark will assess the performance of your CPU configuration by running 200 blocks.
This example will run a benchmark on your CPU using a single thread:
./aionminer -b -t 1
Updated over 6 years ago