Ethereum block – reward

My first Ethereum block reward! ❤

Thanks to MinerGate!

Ethereum block

GPU Ethereum mining on Ubuntu 16 VM in Azure

Only NC-series VM are supported running Linux – Source article

Instead of attach a data disk – resize OS disk from portal and expand File System

sudo resize2fs /dev/sda1

Install Nvidia video driver for Ubuntu VM – Only NC driver

Install GETH via PPA

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum ethminer

Copy the account file in “/home/<user>/.ethereum”. You can use a data disk as Putty doesn’t allow copy/paste or use wget to download if it’s reachable from internet

sudo mkdir /datadisk
sudo mkdir /home/<user>/.ethereum
sudo chmod go+w /home/<user>/.ethereum
sudo mount /dev/sdc1 /datadisk cp <UTC--yyyy-mm-ddTnn-nn--xxxx> /home/<user>/.ethereum 
sudo umount /datadisk 
sudo rm -d /datadisk/

 

Run GETH to sync the node with network =

geth --etherbase '0x47A7C11aBee697bBA83F2ea1Ec072dc937584998' --syncmode "fast" --cache 4096 --trace "geth.log"

You can verify the size of geth folder using this cmd (size should be 18+ Gb) =

du -hs ~/.ethereum/geth

Run GETH in a dedicated screen to start mining using CPU ( about 18Gb of DB files )

screen -S gethminer geth --etherbase '0x47A7C11aBee697bBA83F2ea1Ec072dc937584998' --mine --minerthreads 12 --trace "geth.log"
screen -r -S gethminer

 

CPU & GPU using ethminer

Make sure ethminer is installed and geth is synched correctly:

sudo apt-get install ethereum ethminer

Configure ethminer to CPU mining

screen -S ethminerCPU ethminer -C -F http://eth.pool.minergate.com:55751/your@email.com --disable-submit-hashrate
screen -S ethminerGPU ethminer -G -F http://eth.pool.minergate.com:55751/your@email.com --disable-submit-hashrate
View current status of mining processes =
screen -r -S ethminerCPU
screen -r -S ethminerGPU

Monitoring CPU and GPU resource usage

Open a new Putty session
CPU usage
sudo apt-get install htop
htop
Network usage
sudo apt-get install iftop
sudo iftop
GPU usage
watch -n 0.5 nvidia-smi
Disk usage
sudo apt-get install iotop
sudo iotop

GPU Ethereum mining on Windows VM in Azure

Download Genoila ethminer 0.9.41 fork 1.1.6

Configuration as reported in MinerGate

ethminer.exe -U -F http://eth.pool.minergate.com:55751/your@email.com --cuda-grid-size 8192 --cuda-block-size 128

Use Ubuntu Linux as performance are way better than Windows

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s