Configuring ethOS with 6 NVidia GTX 1070 video cards for optimal hash rates. 31Mh/s plus per card, 190Mh/s plus per rig!

September 1st, 2017

We're going to be doing all our ethOS configuring from a Windows 7 pc. To connect to your rig, you'll need to download and install Putty.

It can be found her:


Once you have Putty downloaded and installed, launch it. You will see the following screen:



 You will enter the IP address of your rig, leave the port set to 22 and make sure connection type is set to SSH. 




***Remember - When ethOS loads, it will show you the IP address it obtained from your router. 

Now hit open and you will connect to your rig and will will see the following screen login screen: 


The default login is "ethos" and the default password is "live". So enter both of those and you be at the ethOS splash screen as shown below:

 

So now your rig is up and running and it should be mining away. But wait, mining to where? We'll get there in a second :)

The first thing you are going to want to do is change the default password and secure your rig.

To do this, at the green prompt, type "passwd". You will be asked for the current password, which again, is "live" and hit enter. You will then be prompted to enter your new password. Enter your new password and hit enter. You will be prompted for your new password a second time. Enter your new password again and hit enter. Voila! The password has been changed and the next time you log in using Putty, you will use your new password.

Write this password down and store it in a safe place!!! Even if you think you will always remember it :)

So now you're back at the ethOS splash screen while your rig is mining away. Now, we have to change the local.conf file. This is the file that holds all of your settings.

To edit the local.conf file, you're going to need to use the built in Linux editor, vi. I spent several hours googling various commands and steps as I'm new to this as well. So I'm going to hold your hand and walk you through this so that I can hopefully save you some time :) It's actually very simple, unfortunately I wasn't able to find anything like this, lucky you!

Okay, so at the green prompt, you're going to type "vi" and hit enter.

You will then enter the vi editor. Every command in the vi editor begins with a colon " : " That's the key on the keyboard just to the right of the L :)

So the first thing you are going to do, is open the local.conf file. You do that by typing: ":e local.conf" . (E stands for edit) and you should see the screen below:


You can use the arrow keys on the keyboard to move the green cursor around. The first thing we want to do is change the default wallet address to your wallet address. So move the green cursor up to the 0 in the proxywallet line. Now to make changes, you have to enter the insert or as I refer to it, edit mode. So hit " i " on your keyboard and you should see "insert" pop up at the bottom of the screen. That tells you that you can now edit the file. So hit delete until the default address is gone and then enter your wallet address.

The next step is going to be to enter the pool address of the pool you are going to mine. This can be found on the pools main website, typically the first page :) Each pool has multiple server addresses and you're going to want to enter the addresses for the two servers closest to you. In the proxypool1 address, change that to the address and port of the closest server to your location. I decided that I'm going to mine in ethermine's pool and I'm on the east coast in the US, so I entered the address for their east coast server. Then you are going to delete and enter the address of the second closest server of the pool you decided on. The reason for entering two servers, is so that in the event one server is unavailable for whatever reason, ethOS will default to the second server. Hopefully both will not be  down! :)

Okay, so now you have your wallet address entered as well as the two pool servers and after a reboot, your rig would begin mining and making you some coin! But wait... the important part comes next!

Optimizing your local.conf! With the default settings, you're video cards would hash at around 27MH's or so. That's good, but that's not good enough! We can get those cards to has at a rate of around 31MH'!

I spent a lot of time googling and testing different settings and finally came up with optimal settings for your GTX 1070 cards and we'll go over those now.

I did run into a really weird issue that I want to mention. In Linux, the # symbol is used to comment out a line. So if there is a # in front of the line, that means it is commented out and will not be read. Typically, you should be able to add any new values to the top of the file and be good to go. But that wasn't the case for me... I tried entering the values I wanted at the top of the file, but every time I did... I saw very little change or improvement. After troubleshooting the issue for a while, I found a remedy that worked for me. Instead of adding new lines at the top of the file, I ended up removed the # symbols in the lines that had the values I wanted in the Global Config section below.

So let's do that now and optimize our settings :) Follow these steps:

1. Towards the top, change globalfan from 85 to 90. *Update. Just found out that only temperature monitoring on NVidia cards is available. Any fan settings such as globalfan to adjust the fan speed do not work on NVidia cards currently.

Now we're going to go down to the commented out section and modify several lines.

2. Go to the line that says globalminer ethminer and remove the # at the beginning of the line. Honestly, I don't know if this makes a difference or not. It's on my things to research list :)

3. Go down to the line that says globalcore, remove the # symbol at the beginning and change the value from 1000 to 1750.

4. On the next line where it says globalmem, remove the # symbol at the beginning and change the value from 1250 to 5100.

5. Go to the line that says globalpowertune, remove the # symbol at the beginning and change the value from 20 to 7.

Here's a link to some basic vi editing commands if you're interested:  Linux for Beginners - Editing files with vi

Okay, so now that the settings are changed, we need to save the file with the new settings. To do that, exit out of editing mode by hitting escape a couple of times. The "insert" at the bottom of the page should disappear.

After that, at the green prompt, you are going to type "wq", which is write and quit. 

And voila, you're done! It took me hours to figure all this out and you were able to do it in 10 minutes, luck you! :)

In case you run into any trouble, I'm going to give you a very important command... " :q! " This is quit without saving changes. If you make a mistake, just quit without saving and you can go back into vi and start over.

Now you saved your local.conf and quit and your back at the black ethOS screen and your wondering what to do next :) The first thing you should do is type "update" and hit enter. In a couple of seconds, you'll be presented with a lot of neat and important information! Here's a screenshot of mine:



Here you can see some very useful information such as cpu temp, GPU temp which is the "temp" lines. My temps are shown as 57.00 49.00 42.00 56.00 51.00 and 52.00. I'm surprised to see such a difference in the temperatures between the cards. But as long as you stay under 75C, preferably 70C you should be fine. You can see my temps are way below and I'm very happy to see that! You'll also see your hash rate, mine was at 190.8 at the time :) Fan rpm's, gpu models and other related info.

Here are a couple of other commands you can use:

1. show miner - You can use the command show miner to see the actual mining process and hash rate of each card. To exit out of this screen hit "CTRL" and "C" at the same time. It's pretty cool to see the info here.

2. minestart and minestop will do just that. Stop the video cards from mining.

I'm sure there's more you can do, but you'll have to Google it, just like I will to find out :)

I really hope you found this guide useful and that you're rig is up and running and each card is mining away at 31MH's!



No comments:

Post a Comment