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