Giter Site home page Giter Site logo

ianblenke / xmr-stak-power Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agangidi53/xmr-stak-power

1.0 3.0 1.0 271 KB

Port of the xmr-stak-cpu monero miner to ppc64le

License: GNU General Public License v3.0

CMake 0.72% C++ 78.50% C 20.79%

xmr-stak-power's Introduction

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

HTML and JSON API report configuraton

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

Installing IBM compiler

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

Compile guides

CPU mining performance

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

Advanced Compile Options

The build system is CMake, if you are not familiar with CMake you can learn more here.

Short Description

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 than g(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

After the configuration you need to call make install for slow sequential build or make -j install for faster parallel build and install.

xmr-stak-cpu Compile Options

  • CMAKE_INSTALL_PREFIX install miner to the home folder
    • cmake . -DCMAKE_INSTALL_PREFIX=$HOME/xmr-stak-cpu
    • you can find the binary and the config.txt file after make 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 or Debug
    • you should always keep Release for your productive miners
  • 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

xmr-stak-power's People

Contributors

nioroso-x3 avatar agangidi53 avatar ianblenke avatar madscientist159 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

sofwerx

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.