Easy Mining


Easy Ethereum Mining

Ethereum is a decentralized cryptocurrency.
Cryptocurrencies run on block chains which are a massive collaboration of computing infrastructure.
More info at:
https://www.ethereum.org/

This
computing power can not be deactivated or shut down, it is a open
platform where you can run yout applications.  This massive
collaboration is formed together and miners help process all of of this
information.
Blockchains are decentralized databases or ledgers, where people can exchange currencies openly without middle men.
Miners help secure this block chain.  Ether can be expressed as “fuel” for computing power.
Some more info on blockchains:
http://www.sepaforcorporates.com/payments-news-2/what-is-blockchain-5-awesome-infographics/

To start off you should have all of your device drivers updated and working.
Also, this guide is mostly for windows, UNIX/Linux may be different, I may post screenshots later.
Make sure that your firewall/antivirus does not block the mining programs.
All of the programs listed are free, only cost involved is the hardware. 
I know there are a lot of articles about mining, but I wrote this article to help some friends to wanted some more information to start ethereum mining.

All mining software requires opencl, download and install AMD OpenCL SDK 3.0:
http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/
The link is for windows and linux, make sure to do a complete install, after install restart your pc.
Read more on:
https://en.wikipedia.org/wiki/OpenCL

Also for windows download .Net 4.6.1 framework:
https://www.microsoft.com/en-ca/download/details.aspx?id=49981
and visual c++ redistributable:
https://support.microsoft.com/en-ca/kb/2977003

If you mine cryptocurrencies, you will require a wallet to store your coins.
For ethereum, download the wallet from:
https://github.com/ethereum/mist/releases
This is an offline wallet, so you must load the program and download all of the blocks from the Internet, which can be a few gigabytes in size, and it can take a few minutes to a few days.
Once this is done you will have a brand new ethereum wallet address.

For bitcoin wallet, an offline wallet is more secure but an online wallet is more functions.
Here are some online bitcoin wallets:
https://blockchain.info
This is a good secure online wallet, which offers no other services. 

Lastly, to convert bitcoin to ether and other currencies use,
https://shapeshift.io

Before you start mining, you might want to benchmark your PC, use nicehash mining software, this is an easy mining program that can auto switch algorithms to the most profitable for that time:
https://github.com/nicehash/NiceHashMiner/releases
Some more info on nicehash:
https://www.nicehash.com/?p=software  
Nicehash works only on windows 7 or higher. 
You may be able to use Wine Emulator in linux, but I am not sure about the performance lost.
For nicehash to work you require a working bitcoin wallet address, even if you only want to benchmark, so use an online bitcoin wallet.
To benchmark, load nicehash, enter your bitcoin wallet address, select the closest server for your location, and make sure only the gpu is selected, 

click on benchmark, and click on precise benchmark, and click start benchmark,

this may take a few minutes, you will know when it is done when you can check profitability/submit result, open that page and it will show you how good your graphics card is and if you can make any profit on different algorithms.
If nothing shows up on nicehash you may not have installed opencl, or your computer has unsupported hardware. 
Do not use your computer while benchmarking, anything running will affect your score.
The only way to check your speed on Linux is to manually test every algorithm using scripts, which is really annoying and timely.

For ethereum mining, AMD GPU’s seem faster, here are my scores running three cards, total 54MH/s
HD 7950 – 17MH/s x2, 3GBx2, 1792 Cores x2
R9 380 – 20MH/s, 4GB, 1792 Cores

Nvidia GTX 970 – 18-23MH/s, 4GB,  1644 Cuda Cores

Ethereum mining requires:
GPU with 2GB VRAM minimum, 
Windows 7 64bit or newer.
Linux Kernel v3 or newer.

For profit, a GPU with 1000+ CUDA cores or AMD Shaders should be used.

To mine ethereum, you will need a mining program, there are many available.
ethminer is the most common program, more information at:
https://ethereum.gitbooks.io/frontier-guide/content/gpu.html
Another really good ethereum mining program is qtminer:
http://ethpool.org/downloads/qtminer.zip
for linux:
http://ethpool.org/downloads/qtminer2.tgz
For nvidia cards, cuda miner is the best program to mine with:
https://github.com/Genoil/cpp-ethereum/tree/master/releases

To mine ethereum you will either have to mine solo, join a pool, or join a solo pool.

There are many mining pools, the ones I use or have used are:
http://ethpool.org/
This site only mines blocks, so you have to wait for the block to be found, which can take about 10 days on my computer but will differ on other computers, and a ethereum block payout is 5 ether.

Another good site is:
http://ethermine.org/
This site pays for blocks, uncles or anything else, but is based on luck of percentage of the pool, and the minimum payout is 1 ether, the payout is counted by how many shares of a block you contributed to.
This method offers up to 5% higher payouts in the long run.

Another good site is:
https://ethereum.miningpoolhub.com/index.php
This site also pays for everything mined, blocks, uncles, and shares.  This site does not offer direct payouts, the previous two sites do.  This site also requires registration, while the previous two do not.

Here are some example commands to start mining:
for ethminer, some require a proxy and a getwork program, for the proxy:

ethminer --farm-recheck 200 -G -F http://127.0.0.1:8080/name

for getwork::

ethminer -F http://server:port/address.name -G (+ your usual options) 

without proxy:
ethminer -G -F server:port/username.workername

For qtminer
windows:

qtminer.exe -s server:port -u address.name -G

linux::

./qtminer.sh -s server:port -u address.name -G

For cuda miner:
ethminer -G -S server:port -O username.workername:password

There are also some additional requirements for ethereum mining:
8GB or more RAM, and 5GB Hard disk space
The ethereum miner has to create a DAG the first time it is launched, which can take up to 5GB of space, and has to be periodically loaded to ram which can take 2GB of RAM, this can take a while on a slow computer.

A DAG is a Directed Acyclic Graph.
According to wikipedia, https://en.wikipedia.org/wiki/Directed_acyclic_graph, a DAG is “is a finite directed graph with no directed cycles. That is, it consists of finitely many vertices and edges, with each edge directed from one vertex to another, such that there is no way to start at any vertex v and follow a consistently-directed sequence of edges that eventually loops back to v again.”

Pool mining is random, but solo mining is slow.
If you want to mine with friends, use the same wallet address and split the profits after.
Use nicehash to predict profit, or if you are using the top two pools, the profit will be listed.

If you would like to donate ether to my blog here is my address:
0xD3914856dF9876c5d4fDACEF154B73EbbA2EBEd4.
Thank You for Visiting 
 
To be continued… 

Leave a Reply