Wednesday, August 30, 2017

Building Crypto Currency Open Air Rack

Finally built my Crypto Miner.




Nicehash is so easy to use that it is hard to try other miners. Keeping track of wallets is no fun and only needing to deal with Bitcoin simplifies things. Nicehash tries to mine the most profitable currency at the time based on you equipment. Then it pays you in Bitcoin. I would periodically transfer the Nicehash Bitcoin to your hard or paper wallet. I have not decided at what level I would make these transfers.

At first I thought we made a mistake with GTX 1080 cards. They like power and will not mine Equihash without error. When I overclocked the memory, Nicehash wanted to mine Equihash. I had to turn of Equihash mining on each card. This may be caused by the "X" memory in the 1080 cards.

I started with one 1000 watt PSU and added a 750 watt for 6 cards. In the end, pushing the power over 1300-1400 watts to overclock higher only added minimal MH/s. The added watt cost was not worth the small return. However 1000 Watts would not have been sufficient so I did need 2 PSU units.

I have the CPU miner turned off also. It gives more OS headroom when tweaking the setup. I will probably turn it back on when I am no longer changing things. CPU mining adds slightly to the MH/s.

Setting up the rig was straight forward PC building. All the video card risers worked out of the box. I avoided the main PCI-e video slot. I heard somewhere the main slot can cause some confusion. The monitor runs with on board video. BIOS settings need research for specific motherboards to recognize multiple video cards.

The 2 PSU units link with a cheap adapter so they both turn on together. This is not necessary but is convenient.

Even at 60C, 6 cards throw off a lot of heat. I wonder how this will work in the summer?

MSI Afterburner also installs Riva Tuner. Riva would not run with the Afterburner download from MSI on my Windows 10 and I had to get Riva from 3DGuru. Updates to Afterburner have not caused further issues. 

**Sometimes when the miner errors or crashes and you start it again, Afterburner's control of specific cards becomes lost. So Afterburner can read 60C but one card can be running hot. This  rarely happens. I verify Afterburner settings now and then during tweaking or after crashes to assure it sees and is controlling all the cards. This is only significant when tweaking is causing miner crashes. You may need to reboot the system to get back control of all cards. Speccy.exe is a good way to monitor the video card temps because it easily displays all the card sensors at one time and individually. There will always be individual differences in the card temps like the Speccy below but this is fine. I assume the card reading 66C is the last one in the row receiving all the heat from the other cards but I am not certain.


I use Anydesk to access the rig remotely and it works great.

Is this a good plan to get rich? I suspect not. Crypto mining is always something I have wanted to try. I have always overclocked my PC's and it would have been a natural thing to try. Why I did not is a mystery. But someone came along and offered to buy the expensive video cards and rack if I would buy the rest and build the machine. At $600 per card, I thought it was crazy. I am a PC bottom feeder and prefer using out of favor equipment and tweaking the performance. A 10 month payback is not impressive. My electricity is fairly cheap at .11 per kw and it is deductible as is all the hardware. GTX 1080's will bring a good eBay price for some time to come and I would not mind getting stuck with a "free" GTX 1080 or two in the end.

I'm not sure about the life of a GTX 1080 running 24/7 but I'm not pushing them to the extreme - only because pushing them further brings little additional MH/s.

So . . . the cost of thing is embarrassing.

150 Motherboard ASUS PRIME Z270-A LGA1151
  52 CPU Intel BX80662G4400 Pentium Processor G4400 2 core 2 thread
  42 Memory Crucial 4GB Single DDR4 2133
177 PSU Corsair RMx Series, RM1000x
100 PSU Corsair RMx Series, RM750x
  50 S-Union 6-Pins Pcle VER 006C PCl-E 16x to 1x Powered Riser Adapter Card
3600 video card Gigabyte GeForce GTX 1080 8 GB
  15 120 x4 Rosewill fans
  15 SilverStone PWM Fan Hub System Cables, Black (CPF04)
  60 SSD Drive Kingston Digital, Inc. 120GB A400 SATA
  19 P3 P4400 Kill A Watt Electricity Usage Monito (I added another for 2nd PSU)
    9 Dual PSU Power Supply 24-Pin ATX Motherboard Adapter Cable(30cm)
    6 Push Button ATX Computer Switch Wire (not needed)
??? Rack (I don't know what he paid for the rack but building one would be cheap.)
$4294

I turned on the CPU miner but that is not all the increase. Today the miner was feeling it's oats for some reason.

When mining with the CPU, you may receive a VirtualAlloc failed error.


I did this:
1. With 4 GB of ram, set the Fix the virtual memory allocation at 8 GB. This is standard old school stuff. I have read higher suggestion of 16-20 GB. I'm not sure this is even necessary because the next step fixed the problem.

2. Run gpedit.msc if you have a Pro edition of Windows.
Go to Local Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights - Lock pages in memory - Add your user name in the setting.
(If you have Windows Home, you do not have gpedit.msc. Policy Plus is a free standing (and free) program to simulate Group Policy Editor but have not tried it.)

Wednesday, August 23, 2017

Crypto Mining - Should I Try It?

Youtube references:
Building Crypto Miner
Angry Chicken

Crypto Assets?
UBIQ Maybe

This is a good youtube post on how to set up mining
Get Ethereum Address
Claymore Miner This is a post explaining Claymore
Edit start.bat file

Choose a Pool or Mine alone

video
1080TI
1070
1060 6GB

Windows limit to 8 cards due to drivers

I hear Exodus wallet fees are high

EVGA Precision

I'm not sure about any of this but here is what I think . . .

The Address:
Before you start mining, you will need an address for the currency you wish to mine. This address must be provided to the mining software.
Examples:

Bitcoin:
https://www.bitaddress.org
If you go to bitaddress.org it will start processing a Bitcoin address for you. You could simply process your Bitcoin address right here and now. A more secure way to process that address would be to download the page as an html file to your desktop. Now when you open this file in your browser, the file will be run from your desktop and not online on their website. Your results will be the same but not done online. This is more secure. If you are truly paranoid, you can move the html file to a thumb drive and run it on a machine that has never been on the internet or run it on a live CD or USB. I think this is excessive.

You are producing 2 things. A private key (or address) and a public address. These two addresses will also be represented by QR codes. This is how it will appear.


You will have chosen English :) It allows you to make more than one address. I'd choose one, choose to encrypt and provide a password.

This will create a paper wallet. That piece of paper you print will be your wallet. It will contain the addresses you will need to access you information and the Bitcoin block chain. 

You can check your address on https://bitref.com/.
Bitaddress will get you a number and you can start mining. Getting the coin from the address will need access by some other wallet that can handle transfers.

Another possibility that has more curious quirks.
Blockchain Info
Will give you an online wallet and also an address.. No idea how you view the private key.

Things I wonder:
1. When creating the address off line, how do we know the address is not the same as another off line created address?
2. Creating this paper wallet provides an image of your numbers but you need to manually record the numbers to make them usable for copy/paste functions. Yes the QR code will work with a mobile wallet but . . .
3. 

I am using a bitaddress.org address and mining with EasyHash. I have one 1080 mining right now at an estimated $50 per month earning.

When the payout comes I will try to sweep the address to my ledger nanoS.

This address/wallet thing is still a mystery to me.

Paper Wallet seems like a place to send your mining proceeds.
(This can get you mining and/or provide secure storage for large sums.)
When Paper Wallet Private Address is used all funds must be moved and that wallet never used again.
(This does seem inconvenient)
This may be the advantage of Hardware Wallet. The Private Address is never used on the Internet.


Pin Not Available

Crazy Error I had not seen before. Pin not available blah blah. I restarted a few times and it finally worked. If it doesn't some say to...