XMR-Stak-POWER is a universal Stratum pool miner and a fork of XMR-Stak-CPU. There is also an AMD GPU version and an NVIDIA GPU version
To configure the reports shown above you need to edit the httpd_port variable. Then enable wifi on your phone and navigate to [miner ip address]:[httpd_port] in your phone browser. If you want to use the data in scripts, you can get the JSON version of the data at url [miner ip address]:[httpd_port]/api.json
XMR-Stak-POWER will currently only compile with the GCC 6.3.1 compiler included in the IBM AT10.0 developer tools. IBM Advance Toolchain
Here are some numbers:
- Dual POWER8 10C @ 3.5GHz, running 4 threads per core, hugepages enabled - 4150 H/s
- Dual POWER9 12C @ 3.5GHz, running 4 threads per core, hugepages enabled - Being Optimized
The build system is CMake, if you are not familiar with CMake you can learn more here.
There are two easy ways to set variables for cmake
to configure xmr-stak-cpu
- use the ncurses GUI
ccmake .
- edit your options
- end the GUI by pressing the key
c
(create) and thang
(generate)
- set Options on the command line
- enable a option:
cmake . -DNAME_OF_THE_OPTION=ON
- disable a option
cmake . -DNAME_OF_THE_OPTION=OFF
- set a value
cmake . -DNAME_OF_THE_OPTION=value
- enable a option:
After the configuration you need to call
make install
for slow sequential build
or
make -j install
for faster parallel build
and install.
CMAKE_INSTALL_PREFIX
install miner to the home foldercmake . -DCMAKE_INSTALL_PREFIX=$HOME/xmr-stak-cpu
- you can find the binary and the
config.txt
file aftermake install
in$HOME/xmr-stak-cpu/bin
CMAKE_LINK_STATIC
link libgcc and libstdc++ libraries static (default OFF)- disable with
cmake . -DCMAKE_LINK_STATIC=ON
-CMAKE_BUILD_TYPE
set the build type - valid options:
Release
orDebug
- you should always keep
Release
for your productive miners
- disable with
MICROHTTPD_ENABLE
allow to disable/enable the dependency microhttpd- by default enabled
- there is no http interface available if option is disabled:
cmake . -DMICROHTTPD_ENABLE=OFF
OpenSSL_ENABLE
allow to disable/enable the dependency OpenSSL- by default enabled
- it is not possible to connect to a https secured pool if option is disabled:
cmake . -DOpenSSL_ENABLE=OFF
HWLOC_ENABLE
allow to disable/enable the dependency hwloc- by default enabled
- the config suggestion is not optimal if option is disabled:
cmake . -DHWLOC_ENABLE=OFF