Author

Topic: [ mining os ] nvoc - page 308. (Read 418549 times)

full member
Activity: 169
Merit: 100
July 03, 2017, 07:59:55 AM
I didn't change any IPv6 settings with nvOC.  I'm not sure what the problem might be.  If you figure it out let me know, so I can apply it for the next version.

The cmd:

Code:
sudo dhclient -v -r

(might help solve the problem, but probably not)

As you guessed, it didn't help.

Quote
there is a website:

test-ipv6.com

it attempts to help you identify the source of IPv6 problems; it might help, but probably will only tell you what you already know.

I tried bringing this up in Links, but it needs JavaScript to work.  I'd need to move the rig closer to where I can plug in a monitor, keyboard, and mouse to see what SJWfox says...maybe tomorrow, as I also want to move nvOC off of an SD card in a USB reader stick to the mining rig's M.2 SATA SSD.

In the meantime, I've gotten enough of a workaround set up that (1) apt-get upgrade works and (2) I have an auto-switcher up and running, as mentioned in my previous post.

It will be nice when there is no more NAT to deal with; although there will need to be better parameter security.

This afternoon, I knocked together a simple profitability auto-switcher that works with nvOC and NiceHash:

https://gitlab.com/salfter/nvoc-nicehash-switcher

It might also work if you're mining elsewhere, though profitability is determined by NiceHash (as exposed through their API).  It's a Python script that gathers information about what's profitable and calls shell scripts to reconfigure overclocking settings and launch miners on a per-algorithm basis.  It replaces oneBash for normal operation; oneBash is only needed for initial setup or to add/remove GPUs (it manages /etc/X11/xorg.conf).

Nice work  Smiley

I will integrate this into the next oneBash / v0018. 

I will keep your default BTC address and ensure it is clear you implemented the instantaneous profit switching algorithm.

I do think with when using different algos in makes sense to have different clocks; however I don't think the settings for those should be spread out over a bunch of different bash files.

I will bring all the settings inside oneBash and make a:

SALFTER_NICEHASH_PROFIT_SWITCHING="YES"    YES / NO switch

Using your implementation; it should only require a few modifications to implement other targets such as 'lowest difficulty out of a given set of coins' and more. 

Thanks for providing another tool to the community,  Smiley

This is an AWESOME idea! I was curious though, do you really make more it being converted to BTC right away or mining the coins directly? Anyone with some feedback would be greatly appreciated.
sr. member
Activity: 372
Merit: 250
The road of excess leads to the palace of wisdom
July 03, 2017, 03:58:33 AM
@ fullzero  

here is a really detailed build of the nvoc0017  with 2 nvidia 1070's on a

GIGABYTE GA-Z270P-D3 LGA1151 Intel Z270 2-Way Crossfire ATX DDR4 Motherboard.

to all this is a solid board  really good

I tested stable up to 5 amd rx 480's  on win 10 and smos
I tested stable up to 4 1080 ti's on win 10 and win 7  tested up to 3 on nvoc

I am sure it will do 5  on all of the above well maybe not win 7.  I just did not test that high on all os's

https://bitcointalksearch.org/topic/here-is-a-thread-for-newbies-to-setup-a-nvoc-0017-rig-to-mine-zec-1998198

Can I ask: why do you go for the higher end CPU?

I've been running 2 eth rigs on Asrock H81 Pro BTC boards for over a year, mostly using Ethos (which is an AMD linux mining distro). I recently started to convert to Nvidia so I'm using the same setup but one of them now using nvOC and 2 1070s + 3 1060s. I always used the cheapest low end pentium (I forget exactly which - 2 cores 3.3GHz) and it was always fine. Seems fine in nvOC so far too. Unless you want to run that XMR CPU miner I guess.
legendary
Activity: 1834
Merit: 1080
---- winter*juvia -----
July 03, 2017, 02:22:43 AM
This afternoon, I knocked together a simple profitability auto-switcher that works with nvOC and NiceHash:

https://gitlab.com/salfter/nvoc-nicehash-switcher

It might also work if you're mining elsewhere, though profitability is determined by NiceHash (as exposed through their API).  It's a Python script that gathers information about what's profitable and calls shell scripts to reconfigure overclocking settings and launch miners on a per-algorithm basis.  It replaces oneBash for normal operation; oneBash is only needed for initial setup or to add/remove GPUs (it manages /etc/X11/xorg.conf).

Nice work  Smiley

I will integrate this into the next oneBash / v0018. 

I will keep your default BTC address and ensure it is clear you implemented the instantaneous profit switching algorithm.

I do think with when using different algos in makes sense to have different clocks; however I don't think the settings for those should be spread out over a bunch of different bash files.

I will bring all the settings inside oneBash and make a:

SALFTER_NICEHASH_PROFIT_SWITCHING="YES"    YES / NO switch

Using your implementation; it should only require a few modifications to implement other targets such as 'lowest difficulty out of a given set of coins' and more. 

Thanks for providing another tool to the community,  Smiley


This is really amazing work.
[/quote]

wow.... genius!
newbie
Activity: 21
Merit: 0
July 03, 2017, 02:12:41 AM
This afternoon, I knocked together a simple profitability auto-switcher that works with nvOC and NiceHash:

https://gitlab.com/salfter/nvoc-nicehash-switcher

It might also work if you're mining elsewhere, though profitability is determined by NiceHash (as exposed through their API).  It's a Python script that gathers information about what's profitable and calls shell scripts to reconfigure overclocking settings and launch miners on a per-algorithm basis.  It replaces oneBash for normal operation; oneBash is only needed for initial setup or to add/remove GPUs (it manages /etc/X11/xorg.conf).

Nice work  Smiley

I will integrate this into the next oneBash / v0018. 

I will keep your default BTC address and ensure it is clear you implemented the instantaneous profit switching algorithm.

I do think with when using different algos in makes sense to have different clocks; however I don't think the settings for those should be spread out over a bunch of different bash files.

I will bring all the settings inside oneBash and make a:

SALFTER_NICEHASH_PROFIT_SWITCHING="YES"    YES / NO switch

Using your implementation; it should only require a few modifications to implement other targets such as 'lowest difficulty out of a given set of coins' and more. 

Thanks for providing another tool to the community,  Smiley
[/quote]


This is really amazing work.
newbie
Activity: 2
Merit: 0
July 03, 2017, 01:56:54 AM
Firstly thank you for this offering. Its my first time working with linux and it has been Quite educational and refreshing from windows.

My first issue thus far involves startup. Once the UI appears, terminal opens but repeatly says onebash does not exist. If i close terminal and reopen, it processes the bash and begins mining. Thoughts?

My second problem is a hard freeze though this happened in windows as well. I think i have a bad riser in the mix.
newbie
Activity: 14
Merit: 0
July 02, 2017, 11:11:35 PM
I noticed a second terminal can be run that auto executes the onebash script, essentially running two (?) instances of ewbf miner on the same PC.  Sol/s drops 30%, but i exited the second one before seeing any results.  I might test it out more later, i wonder if i can run 2 instances, but at 70% solo rate; which still nets 40% more. 

I'm sure people here and full zero mustk now this doesn't work in the way i'm thinking.
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
July 02, 2017, 10:04:41 PM
I didn't change any IPv6 settings with nvOC.  I'm not sure what the problem might be.  If you figure it out let me know, so I can apply it for the next version.

The cmd:

Code:
sudo dhclient -v -r

(might help solve the problem, but probably not)

As you guessed, it didn't help.

Quote
there is a website:

test-ipv6.com

it attempts to help you identify the source of IPv6 problems; it might help, but probably will only tell you what you already know.

I tried bringing this up in Links, but it needs JavaScript to work.  I'd need to move the rig closer to where I can plug in a monitor, keyboard, and mouse to see what SJWfox says...maybe tomorrow, as I also want to move nvOC off of an SD card in a USB reader stick to the mining rig's M.2 SATA SSD.

In the meantime, I've gotten enough of a workaround set up that (1) apt-get upgrade works and (2) I have an auto-switcher up and running, as mentioned in my previous post.
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
July 02, 2017, 09:52:31 PM
This afternoon, I knocked together a simple profitability auto-switcher that works with nvOC and NiceHash:

https://gitlab.com/salfter/nvoc-nicehash-switcher

It might also work if you're mining elsewhere, though profitability is determined by NiceHash (as exposed through their API).  It's a Python script that gathers information about what's profitable and calls shell scripts to reconfigure overclocking settings and launch miners on a per-algorithm basis.  It replaces oneBash for normal operation; oneBash is only needed for initial setup or to add/remove GPUs (it manages /etc/X11/xorg.conf).
legendary
Activity: 4354
Merit: 9201
'The right to privacy matters'
July 02, 2017, 09:43:16 PM
@ fullzero  

here is a really detailed build of the nvoc0017  with 2 nvidia 1070's on a

GIGABYTE GA-Z270P-D3 LGA1151 Intel Z270 2-Way Crossfire ATX DDR4 Motherboard.

to all this is a solid board  really good

I tested stable up to 5 amd rx 480's  on win 10 and smos
I tested stable up to 4 1080 ti's on win 10 and win 7  tested up to 3 on nvoc

I am sure it will do 5  on all of the above well maybe not win 7.  I just did not test that high on all os's

https://bitcointalksearch.org/topic/here-is-a-thread-for-newbies-to-setup-a-nvoc-0017-rig-to-mine-zec-1998198

Phil,

Thanks for making a Guide I will link it in the OP.   Smiley



 I tried to  keep it at newbie level .
legendary
Activity: 4354
Merit: 9201
'The right to privacy matters'
July 02, 2017, 08:31:19 PM
@ fullzero  

here is a really detailed build of the nvoc0017  with 2 nvidia 1070's on a

GIGABYTE GA-Z270P-D3 LGA1151 Intel Z270 2-Way Crossfire ATX DDR4 Motherboard.

to all this is a solid board  really good

I tested stable up to 5 amd rx 480's  on win 10 and smos
I tested stable up to 4 1080 ti's on win 10 and win 7  tested up to 3 on nvoc

I am sure it will do 5  on all of the above well maybe not win 7.  I just did not test that high on all os's

https://bitcointalksearch.org/topic/here-is-a-thread-for-newbies-to-setup-a-nvoc-0017-rig-to-mine-zec-1998198
newbie
Activity: 13
Merit: 0
July 02, 2017, 07:07:42 PM
My hats off to fullzero!  Thank you for taking the time to put together and maintaining this amazing build.  Back in the BTC days I was stuck with Win 7 and finally dived back in when ETH started it's journey to the moon.  Win7 gave me plenty of instability issues, Win10 gave me low hash rates, Xubuntu gave me plenty of instability as well, specifically with GPUs falling off the bus.  Additionally Xubuntu did not utilize the second CPU core, which made a Kaby Lake CPU run 15-20 degrees hotter.  Under your build, the one Kaby Lake CPU I have runs nice and cool using both cores.  nvOC gave me a completely worry free and easy to use solution.  Again, I thank you!   Here is my current setup

7 Rigs total

OS Build: Yours!  nvOc v0017
MSI Z170 Gaming M5 motherboards w/ May 2017 BIOS
Celeron G3900 Skylake CPUs (except 1 Kaby Lake)
8GB of Corsair DDR4
Samsung EVO 750 SSD (overkill, but this was before I was on nvOC)
33 x Gigabyte 1050Ti (stock boost clock 1506) - 12.5Mh/s ea. on these with no oneBash changes
2 x ZOTAC 1070 Amp Editions - still testing these.  I should be able to bump the mem up by 650Mhz, but they are running much hotter than in Win10.  I did the fuzzy %/TDP math and set them at 105W, but no difference.  Work in progress.
1 x EVGA Classified 980Ti (why not, just collecting dust).
TP Link Smart Plugs for emergency shutdown or cluster power cycle
3 x 15 Amp Circuits
Shelly SSH App for iPhone

Total cranking out an average of 500Mh/s

Future additions include adding 2 more cards (one for the 7th slot and hopefully at least 1 more on the m.2 slot).  I would try for a 9th card, but I heard the second m.2 slot will not hash (even though I'm going to try).  And I will be adding a couple more 1070s to the 7th rig cluster. Grin




newbie
Activity: 7
Merit: 0
July 02, 2017, 06:09:24 PM
Any good tips or video to get some type of screenshare working? I know it has teamviewer but it says something about daemon not found. Also i know chrome remote desktop doesnt work unfortunately. This is my first non windows experience.

Using Putty as you recomended I got to the point where i could edit the stats but i want to see the miner like a full screenshare.

Thanks so much for what youve done. I have a rig mining to you ethereum (100mh)
newbie
Activity: 14
Merit: 0
July 02, 2017, 04:54:35 PM
My rig crashed from having the settings too high, it went down when I was asleep. I rebooted it and it's up and running but I'm getting a low disk space warning. What file / directory do I delete ?

run this code line and you are golden on space

Code:
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")




that worked. Thank you so much!


hero member
Activity: 672
Merit: 500
July 02, 2017, 04:20:57 PM
My rig crashed from having the settings too high, it went down when I was asleep. I rebooted it and it's up and running but I'm getting a low disk space warning. What file / directory do I delete ?

run this code line and you are golden on space

Code:
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")

newbie
Activity: 14
Merit: 0
July 02, 2017, 04:04:25 PM
My rig crashed from having the settings too high, it went down when I was asleep. I rebooted it and it's up and running but I'm getting a low disk space warning. What file / directory do I delete ?
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
July 02, 2017, 02:58:02 PM
Is IPv6 properly configured in the stock nvOC setup?  I first noticed an issue when trying to apt-get upgrade and the update host resolved to an IPv6 address: updates refused to install.  At first, I just worked around it with the instructions at https://unix.stackexchange.com/questions/9940/convince-apt-get-not-to-use-ipv6-method to force apt-get to use IPv4 only.

I then set about writing a mining switcher.  Getting the current dollars-per-BTC rate from Coinbase was no problem...one line of Python.  Getting current profitability from NiceHash was a bit more problematic.  Guess what?  api.coinbase.com is IPv4-only, but api.nicehash.com is offered on IPv4 and IPv6.  urllib (and most other Python libraries) prefers IPv6 over IPv4, if IPv6 is available.

ifconfig shows that my nvOC box is getting both IPv4 and IPv6 addresses assigned to it by my router, but any attempt at ping6ing known-working IPv6 hosts (api.nicehash.com, ipv6.google.com, alfter.us) fails as "address unreachable." The Windows 10 box through which I'm typing this message, OTOH, gets through to all of those hosts fine (Windows uses ping for both IPv4 and IPv6, and also appears to prefer IPv6 if available), so my network supports IPv6.  (This Windows 10 box can also boot into Gentoo Linux, and IPv6 works there as well.)

According to https://wiki.ubuntu.com/IPv6, IPv6 is supposed to work out of the box.  Has something been done in the nvOC configuration to disable it, and if so, how would one back out these changes so it works again?  I normally use Gentoo, so I'm not too familiar with how Ubuntu manages things.  The aforementioned wiki page links to another page that describes disabling IPv6, but none of that appears to have been done.  I could shut off IPv6 at the router, but I'd rather not have to do that.

Edit: For the time being, I've put api.nicehash.com's IPv4 address in /etc/hosts as a workaround.  It'll break as soon as NiceHash decides to move it to a different IP address, but it'll work for now.
newbie
Activity: 14
Merit: 0
July 02, 2017, 01:48:07 PM
anyone having issues where, after imaging the USB (Sandisk extreme 32 GB, recommended on here), the USB location disappears from file explorer?  Its still there when I run diskpart.
legendary
Activity: 4354
Merit: 9201
'The right to privacy matters'
July 02, 2017, 11:56:50 AM
So I have 3x SATA cables/branches with 3x SATA connectors on each. I attached 2x GPUs (which are on 16x USB risers with molex connectors. These risers have molex to sata extenders ) per branch so I dont overload a single branch (3rd SATA connector on each branch is not attached to anything, except one on which I plugged the SSD with nvOC on it). One branch with molex connectors is plugged into the two molex slots on MB.

Alright having 2x per SATA is a good rule thumb. How much power draw per card? And how much from the wall?

2x riser per 1 sata cable can be okay with a 1070 card  with a tdp of 150  set to 100

but if you set  a 1070 with a tdp of 175  to 125  or more   you would be in trouble.

same idea with the 1080 ti the aorus has a tdp of 300  the msi aero has a tdp of 250

if you put 2 aorus set to 200  the sata will melt.  and the aorus  also drops  settings and will go from say 150 to 200

so I would never put aorus 1080 ti's  on a sata riser  only on a pcie riser using a pcie.
full member
Activity: 169
Merit: 100
July 02, 2017, 11:14:27 AM
So I have 3x SATA cables/branches with 3x SATA connectors on each. I attached 2x GPUs (which are on 16x USB risers with molex connectors. These risers have molex to sata extenders ) per branch so I dont overload a single branch (3rd SATA connector on each branch is not attached to anything, except one on which I plugged the SSD with nvOC on it). One branch with molex connectors is plugged into the two molex slots on MB.

Alright having 2x per SATA is a good rule thumb. How much power draw per card? And how much from the wall?
newbie
Activity: 36
Merit: 0
July 02, 2017, 10:55:12 AM
So I have 3x SATA cables/branches with 3x SATA connectors on each. I attached 2x GPUs (which are on 16x USB risers with molex connectors. These risers have molex to sata extenders ) per branch so I dont overload a single branch (3rd SATA connector on each branch is not attached to anything, except one on which I plugged the SSD with nvOC on it). One branch with molex connectors is plugged into the two molex slots on MB.
Jump to: