ZCash mining evolution

ZCash Mining 101 Guide

ZCash Wallet – Windows

 

Miner App

Best open source GPU miner = nheqminer-0.5c

Miner Pool

nheqminer.exe -l eu1-zcash.flypool.org:3333 -u <address>.<worker>

 

Ethereum mining evolution

Ethereum Mining 101 Guide

https://www.reddit.com/r/EtherMining/wiki/index

 

Miner App

Best open source GPU miner = ethminer 0.11.0

https://github.com/ethereum-mining/ethminer/releases

 

Miner Pool

https://ethermine.org

ethminer.exe --farm-recheck 200 -G -S eu2.ethermine.org:4444 -FS eu1.ethermine.org:4444 -O <wallet_id>.<pc_name>

 

Note – Avoid Claymore for the following reason:

 

GPU BIOS optimization

https://www.reddit.com/r/EtherMining/wiki/software/oc/amdbios

Monero – CPU mining steps

Official website
https://getmonero.org

Moneto Wallet client
https://getmonero.org/downloads

Best pool based on hashrate
http://www.minexmr.com/pools.html

Monero miner – Windows

xmr-stak-cpu
https://github.com/fireice-uk/xmr-stak-cpu/releases

Miner Config file =

"pool_address" : "pool.minexmr.com:7777",
"wallet_address" : "YOUR_WALLET_ADDRESS",
"pool_password" : "x",

Monero miner – Linux

# Ubuntu 14.04

#compiler
    sudo add-apt-repository ppa:ubuntu-toolchain-r/test
    sudo apt update
    sudo apt install gcc-5 g++-5 make
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5
    curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/
    cd /tmp/cmake-3.4.1/ && ./configure && make && sudo make install && cd -
    sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
    sudo apt install libmicrohttpd-dev libssl-dev libhwloc-dev

#miner
    git clone https://github.com/fireice-uk/xmr-stak-cpu.git
    cmake .
    make install

#set memory page
sudo sysctl -w vm.nr_hugepages=128 

#Run miner in screen
screen -S monero sudo ./xmr-stak-cpu

Source = https://github.com/fireice-uk/xmr-stak-cpu/blob/master/LINUXCOMPILE.md

Docker version of miner

https://github.com/timonmat/docker-xmr-stak-cpu

Miner configuration =

docker run -itd --restart unless-stopped -e WALLET_ADDRESS='YOUR_WALLET_ADDRESS' -e POOL_PASSWORD='x' -e POOL_ADDRESS='pool.minexmr.com:7777' -e AUTO_THREAD_CONFIG=true --name xmr-stak-cpu timonmat/xmr-stak-cpu

Monero client sync

Speed up the initial blockchain sync with these steps:

# WINDOWS: Create a new folder with Windows File Explorer, and use your web browser to download the following two files to the new folder
https://downloads.getmonero.org/win64
https://downloads.getmonero.org/blockchain.raw

# WINDOWS: Double click the Monero zip file that has been downloaded to extract it. Then open Command Prompt. Use the 'cd' command to naviate to your new folder
cd monero
monero-blockchain-import.exe --verify 0 --input-file ./blockchain.raw

# WINDOWS: Delete the raw blockchain download as it is no longer needed
del blockchain.raw

Source = https://www.monero.how/tutorial-how-to-speed-up-initial-blockchain-sync

Mining pool compare for XMR ETH ZEC

Ethereum ETH

Total Hash rate = 87.2 Th/s

Overview = https://www.cryptocompare.com/coins/eth/overview

Ethereum_Pool

Top 3 ETH pools

  • 17.5 Th/s = ethermine.org
    User comments = https://www.cryptocompare.com/mining/pools/ethermine/
  •  7.63 Th/s = nanopool.org
    User comments = https://www.cryptocompare.com/mining/pools/nanopool/
  • 53.2 Gh/s = minergate.com
    User comments = https://www.cryptocompare.com/mining/pools/minergate/

 

ZCash ZEC

Total Hash rate = 263 MSol/s

Overview = https://www.cryptocompare.com/coins/zec/overview

Top 3 ZEC pools

  • 123 MSol/s = zcash.flypool.org
    User comments = https://www.cryptocompare.com/mining/pools/ethermine/
  • 39.3 MSol/s = minergate.com
    User comments = https://www.cryptocompare.com/mining/pools/minergate/
  • 17 MSol/s = nanopool.org
    User comments = https://www.cryptocompare.com/mining/pools/nanopool/

 

Monero XMR

Total Hash rate = 128 Mh/s

Overview = https://www.cryptocompare.com/coins/xmr/overview

Monero_Pool

Top 3 XMR pools

 

Sources:

AMD Ryzen 7 – Optimized mining software on Docker

XMR CPU Mining on Windows x64

  1. Install Docker on Windows 10 x64
    https://docs.docker.com/docker-for-windows/install/
  2. Open Docker Settings -> Advanced -> Maximize number of CPUs
  3. Open CMD or PowerShell
  4. Mine Monero XMR using Wolf Docker package on MinerGate
    docker run -i -e username=my@email.com servethehome/monero_cpu_minergate

XMR CPU Mining on Ubuntu 16.04 x64

  • Install Docker on Ubuntu 16.04 x64
    https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/

    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
    sudo apt-get update
    apt-cache policy docker-ce
    sudo apt-get install -y docker-ce
  • Mine Monero XMR using Wolf Docker package on MinerGate
    sudo docker run -i -t -e username=my@email.com servethehome/monero_cpu_minergate
  • Run container in a dedicated screen and switch it back to mining screen
    screen -S monerocpu your_cmd_here
    
    screen -r -S monerocpu
  • Stop mining
    sudo docker stop monero_cpu_minergate

CPU Performance

  • Azure F16 VM = 1x Intel Xeon E5-2673 v3 @ 2.40GHz = <tbd> H/s
  • Azure NC6 VM = 1x Intel Xeon E5-2690 V3 = 550H/s
  • Home = 1x AMD Ryzen 7 1700 = 481H/s

Full CPU performance list.

Docker miners repository

List of containers you can run to mine a specific cryptocurrency on different pools is available on ServeTheHome GitHub

Basic Docker cmd

  • Copy container = sudo docker pull servethehome/monero_cpu_minergate
  • List containers = sudo docker ps -a
  • List information = sudo docker info
  • Delete container = sudo docker rm “container_name”
  • Delete image = sudo docker rmi “image_name”

 

Other CPU & GPU Mining

Follow steps above and download other docker miners from ServeTheHome GitHub

# ======================
# GPU Monero XMR
sudo docker pull servethehome/monero_gpu_nv_minergate
sudo docker run -i -t -e username=my@mail.com servethehome/monero_gpu_nv_minergate

# ======================
# CPU ZCash ZEC
sudo docker pull servethehome/zec_cpu_nheq_minergate
sudo docker run -i -t -e username=my@mail.com servethehome/zec_cpu_nheq_minergate

 

Source =

 

XFX RX 580 ZCash Mining tuning

Card Tech Spec

RX580 XFX

  • Card Vendor = XFX
  • RAM Vendor = Hynix

Radeon Tech Spec

https://radeon.com/en-us/rx500/rx-580/

Compute Units1 36
Stream Processors 2304
Clock Speeds (Boost / Base) Up to 1340 MHz / Up to 1257 MHz
Peak Performance (TFLOPS) Up to 6.2
Memory Speed (Effective) Up to 8 Gbps
Texture Units 144
ROPs 32
Memory Bandwidth Up to 256 GB/s
Memory Interface 256 bit
Memory Type GDDR5
GCN Architecture 4th Generation
AMD FreeSync™ Technology 5 Yes
DirectX® 12 and Vulkan® Support  Yes
HDMI™ 4K60 support
DisplayPort Version 6 1.4
HDCP 2.2

 

BIOS Tuning

<in progress>

 

Miner settings

Since the Equihash (Zcash) algorithm usually prefers a higher core timing than does the Ethash algorithm that is used for Ethereum mining, I also ran a second test run with the core clock set a bit higher to 1300 MHz. I then needed to increase the core voltage to 1050mv too, so it does come as a trade-of between hash/sec versus power consumption. On the plus side, Zcash is not as memory bandwidth dependent as Ethereum, you can lower the memory clocks a bit, or to default in this case, to save a bit of power.

 

Tools

 

Source

AMD Workstation

https://www.pcspecialist.co.uk/orders/1226195/

Case GAMING CASE MID TOWER
COOLERMASTER SILENCIO 452
Processor (CPU) CPU AMD Ryzen 7 1700 octa-core (3,0 GHz-3,7 GHz/20 MB CACHE/AM4)
Motherboard ASUS® PRIME X370-PRO (DDR4, 6 Gb/s, CrossFireX/SLI) – RGB Ready!
Memory (RAM) DDR4 Corsair VENGEANCE 2133 MHz 16 GB (2 da 8 GB)
Graphics Card AMD RADEON™ RX 580 8 GB – HDMI, 3 DP – DX® 12
2nd Graphics Card AMD RADEON™ RX 580 8 GB – HDMI, 3 DP – DX® 12
1st Hard Disk HDD 1 TB SATA-III 3,5″, 6 GB/s, 7200 GIRI/MIN., 32 MB CACHE
DVD/BLU-RAY Drive DVD WRITER 24x ±R/±RW/RAM DUAL LAYER
Power Supply CORSAIR 750 WCS SERIES™ MODULARE 80 PLUS® GOLD, ULTRA SILENZIOSO
Power Cable 1 power cable
Processor Cooling Hydro Corsair H80i V2 Hydro PCS Liquid Series
Thermal Paste ARCTIC MX-4 EXTREME
Sound Card High Definition Audio 6 channels (5.1)
Wireless/Wired Networking LAN GIGABIT Port 10/100/1000
USB Options MIN. 2 USB 3.0 e 2 PORTS USB 2.0 on Back panel + MIN. 2 PORTS FRONT
Operating System Windows 10 Professional
Operating System Language Italian/English
DVD Recovery Media No Recovery Media
Office Software No
Anti-Virus No
Browser Microsoft® Edge (Windows 10)
Warranty Standard – 3 years
Delivery Standard – 3 – 4 days
Build Time Standard – 5 days