Author

Topic: [ mining os ] nvoc - page 116. (Read 418542 times)

full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
December 10, 2017, 02:59:41 AM

Since salfter is back among us and he offers a very interesting other function for counting the mining, maybe he could help papampi to do that as in his script for MPH.

I guess the hack of Nicehash is not for nothing in the return of Salfter ...

I'm not so good with python, just done what I could with helps from damNmad and hurvajs77
Would love to get some help to add more functionality and improve wtm auto switch

If any one has time and headache for some python scripting please step up and get your hands dirty to make it better.
full member
Activity: 200
Merit: 101
December 10, 2017, 01:10:56 AM
The new unofficial 19-2.0 is almost ready,
Thanks to Stubo and Leenoox for their awesomeness

So many great additions and lots of bug fixes.
New dstm zm miner 0.5.6, Claymore 10.02, TPccminer 2.2.2, ccmeiner-xevan.
New and improved watchdog and temp control , and so many more ...
New Coins: Electroneum(ETN), Trezarcoin(TZC), Vivo(VIVO), Pirl(PIRL), Altcommunity(ALTCOM)

New 1bash will be posted soon so you can edit and make it ready for the update.

The update will be released in a day or 2
So If you have any suggestions or requests , post before we release it.

Keep calm and carry on mining.

Not sure if this has been discussed previously but I'd like to offer up a script that lets you dim or disable the graphics card LED:

1. Add the following in 1bash, I placed mine after the POWERLIMIT_WATTS setting:

Code:
CUSTOM_LED="YES" #YES NO
LED_BRIGHTNESS=100 #0-100


2. Add the following to 3main, placed after the POWERLIMIT if statement:

Code:
if [ $CUSTOM_LED == "YES" ]
then
sudo nvidia-settings --assign GPULogoBrightness=$LED_BRIGHTNESS
fi

You can run the "sudo nvidia-settings --assign GPULogoBrightness=100" command in Guake to manually change the LED brightness. Adjustment range is 0-100, with 0 being off. I find that anywhere from 5-10 is a nice setting, keeping the LED's completely off made me feel like cards weren't running. The level will default back to 100 on reboot, so just add the script as shown above to automatically set the value when a new terminal is launched.

Big thanks to fullzero and the rest of the community for creating such an awesome mining solution!

I am working on this implementation. I was reviewing the possibilities for LED control, unfortunately under linux this doesn't work on all cards. It only works on some cards that have single color LED (not all, depends on the brand), and doesn't work on any card that has RGB light. Regardless, I will implement it, if it works on your card good, if not... oh well... lets hope nvidia will fix this in future driver releases.
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
December 09, 2017, 10:10:12 PM
would it be possible to add the BTC value given by the WTM site next to each current coin like bottom :

Now, we have this :

MONA 6.39 EUR
FTC 5.72 EUR
BTG 4.52 EUR
VTC 4.52 EUR
HUSH 4.36 EUR
ZEN 4.19 EUR
ZEC 4.07 EUR
ETH 3.50 EUR
ZCL 3.29 EUR
ETN 2.39 EUR
XMR 2.18 EUR
KMD 2.18 EUR
New profits
MONA: 183 %
FTC: 163 %
VTC: 129 %
BTG: 129 %
HUSH: 124 %
ZEN: 120 %
ZEC: 116 %
ETH: 100 %
ZCL: 94 %
ETN: 68 %
KMD: 62 %
XMR: 62 %

after we'll have that :
Which could be organized like this :
COIN|Value FIAT|(0.00010000 BTC)|%tage compared to ETH in %

FTC 10.46 EUR  (0.00001882 BTC) - 183 %
MONA 6.73 EUR  (0.00092593 BTC) - 163 %
VTC 4.40 EUR  (0.00051574 BTC) - 129 %
HUSH 4.37 EUR  (0.00011063 BTC) - 129 %
BTG 4.24 EUR  (0.01525004 BTC) - 124 %
ZEN 4.13 EUR  (0.00182501 BTC) - 120 %
ZEC 4.04 EUR  (0.02163500 BTC) - 116 %
ETH 3.53 EUR  (0.03244271 BTC) - 100 %
ZCL 3.27 EUR  (0.00012772 BTC) - 94 %
ETN 2.39 EUR  (0.00000746 BTC) - 68 %
KMD 2.21 EUR  (0.00020039 BTC) - 62 %
XMR 2.17 EUR  (0.01764500 BTC) - 62 %

Since salfter is back among us and he offers a very interesting other function for counting the mining, maybe he could help papampi to do that as in his script for MPH.

I guess the hack of Nicehash is not for nothing in the return of Salfter ...
newbie
Activity: 64
Merit: 0
December 09, 2017, 10:04:23 PM
   Just updated to the new VER2 and all is up and mining away. Have been hesitant to upgrade as so many have just crashed for me. I even included the LED briteness patch and will see that on the next reboot. Last time I tried to update the NV drivers, it just totaled the machine.   So guys, GREAT JOB.

   So another big positive vote for your upgrades......    Sure hope that Zero is doing ok.

thay
newbie
Activity: 10
Merit: 0
December 09, 2017, 08:23:10 PM
The new unofficial 19-2.0 is almost ready,
Thanks to Stubo and Leenoox for their awesomeness

So many great additions and lots of bug fixes.
New dstm zm miner 0.5.6, Claymore 10.02, TPccminer 2.2.2, ccmeiner-xevan.
New and improved watchdog and temp control , and so many more ...
New Coins: Electroneum(ETN), Trezarcoin(TZC), Vivo(VIVO), Pirl(PIRL), Altcommunity(ALTCOM)

New 1bash will be posted soon so you can edit and make it ready for the update.

The update will be released in a day or 2
So If you have any suggestions or requests , post before we release it.

Keep calm and carry on mining.

Not sure if this has been discussed previously but I'd like to offer up a script that lets you dim or disable the graphics card LED:

1. Add the following in 1bash, I placed mine after the POWERLIMIT_WATTS setting:

Code:
CUSTOM_LED="YES" #YES NO
LED_BRIGHTNESS=100 #0-100


2. Add the following to 3main, placed after the POWERLIMIT if statement:

Code:
if [ $CUSTOM_LED == "YES" ]
then
sudo nvidia-settings --assign GPULogoBrightness=$LED_BRIGHTNESS
fi

You can run the "sudo nvidia-settings --assign GPULogoBrightness=100" command in Guake to manually change the LED brightness. Adjustment range is 0-100, with 0 being off. I find that anywhere from 5-10 is a nice setting, keeping the LED's completely off made me feel like cards weren't running. The level will default back to 100 on reboot, so just add the script as shown above to automatically set the value when a new terminal is launched.

Big thanks to fullzero and the rest of the community for creating such an awesome mining solution!
member
Activity: 224
Merit: 13
December 09, 2017, 04:50:41 PM
nvOC 19-2.0 Community Release Notes:


nvOC utility (by stubo):
  New function based utility that has many features including gpuinfo, stop, start, clearlogs, restart, etc.
  

Could you please explain how to use it?
Can I now restart miner so it re-read new config?

At the moment I am just restarting rig ((

Thank you

Sure. The easiest way to figure out what functions it supports is to just run it:
Code:
m1@Miner3:~$./nvOC
Usage:  ./nvOC clearlogs
           clears out OS & nvOC logs
        ./nvOC gpuinfo
           displays GPU ID, infomation, settings, and status
        ./nvOC patch
           stops nvOC and applies outstanding Ubuntu patches and
           Nvidia driver updates
        ./nvOC reboot
           reboots the host machine
        ./nvOC stop
           stops mining, watchdog and temperature control
        ./nvOC start
           starts normal nvOC mining operations
        ./nvOC help
           displays help about using and configuring nvOC for mining
The feature that I think will be most useful is gpuinfo which shows what GPUs you have including the settings like power and OC:
Code:
m1@Miner3:~$./nvOC gpuinfo
ID,VENDOR,MODEL,PSTATE,TEMP,FAN,UTILIZATION,POWER,POWERLIMIT,MAXPOWER,GPUCLOCK,MEMCLOCK
--------------------------------------------------------------------------------
0,EVGA,GeForce GTX 1070,P2,48,50,100,113.66,115.00,170.00,1822,4303
1,EVGA,GeForce GTX 1070,P2,41,50,100,86.99,115.00,170.00,1569,4303
2,EVGA,GeForce GTX 1070,P2,54,50,100,112.74,115.00,170.00,1847,4303
3,MSI,GeForce GTX 1080 Ti,P2,68,75,100,243.26,250.00,330.00,1911,5556
The current implementation is not complete. For example, the help function is just stubbed out. We plan to complete this, add more, and refine existing functions in future releases.

Enjoy.
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
December 09, 2017, 04:12:31 PM
Been a while since I've popped my head in here...been running rather uneventfully with nvOC and my auto-switcher, watching coin pile up.

The auto-switcher writes its activity to a file, algo-log.  Yesterday, I got around to knocking together a simple tool that looks at the algo-log file and tells you what you've been mining recently:

Code:
#!/usr/bin/env python3

from datetime import datetime, timedelta
import sys
import operator

end=datetime.now().replace(microsecond=0)
try:
  start=end-timedelta(days=int(sys.argv[1]))
except:
  start=end-timedelta(days=1)

l={}

with (open("algo-log", "r")) as f:
  for i in f:
    curr=datetime.strptime(i[0:19], "%Y-%m-%d %H:%M:%S")
    curr_algo=i[28:].split(" ")[0]
    if (curr>start):
      try:
        l[curr_algo]+=curr-last
      except:
        l[curr_algo]=curr-last
    last=curr
    last_algo=curr_algo
try:
  l[last_algo]+=end-last
except:
  l[last_algo]=end-last

for i in sorted(l.items(), key=operator.itemgetter(1), reverse=True):
  print(i[0]+" {0:0.3f}".format(i[1].days*24+i[1].seconds/3600))

By default, it counts up which coins have been mined over the past day and prints a sorted list.  Here's what I've been mining:

Code:
feathercoin 6.901
monacoin 5.013
digibyte-skein 4.043
vertcoin 4.014
zencash 4.010
bitcoin-gold 1.508

Follow it with a number to get that many days' worth of analysis.  Here's my past week (./top-algos.py 7):

Code:
feathercoin 48.667
monacoin 22.975
vertcoin 17.542
zencash 16.712
digibyte-skein 16.211
groestlcoin 12.701
zclassic 8.029
bitcoin-gold 7.022
ethereum 4.514
monero 4.020
zcash 3.511
maxcoin 3.511
ethereum-classic 3.009

Long time mate
Happy to see you back Wink
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
December 09, 2017, 03:19:30 PM
Hi
I am testing WTM SWITCHER with 3 coins and I have to show you that miner restarts anyway if COIN STAYS THE SAME.

Check it pls here http://prntscr.com/hl9ud0

I think if we're not changing coin we dont have to kill and start mining process again

Thank you

Yes , I tried to do an algo check to not restart 3main if not necessary but failed
Fixed now
Please run the update script again
https://www.dropbox.com/s/2nl5jdg0v8vrijl/nvOC-19-2-update


We are still on testing process before officially release 19-2, please wait a bit and we will announce it.
Thanks for update!
I understand that its testing phase. so it everything cool) thanks again!

Cool,
Then thanks for testing and reporting bugs.
newbie
Activity: 32
Merit: 0
December 09, 2017, 03:06:03 PM
Hi
I am testing WTM SWITCHER with 3 coins and I have to show you that miner restarts anyway if COIN STAYS THE SAME.

Check it pls here http://prntscr.com/hl9ud0

I think if we're not changing coin we dont have to kill and start mining process again

Thank you

Can I ask the difference between your miner hash rate and pool hash rate with vertminer ?

Sure, but I will tell you just tomorrow, cuz building, testing, stopping, changing params at the moment to find out the best config for my strix 1080.
And 2 more things:
  • to build vertminer - we have to change bn.h at /usr/local/include/openssl
  • pool hashrate on a single card looks to me not that stable as on the rig with 10+ cards...but anyway I will let you know

Yup I know the bn.h trick
I tried vertminer and it gave me 80 MH/s on pool while miner shows 110, tpruvot 2.2.3 shows 113 on miner side and 90 on pool side
Alexis gives most on miner and half on pool , going crazy to find the best miner ...lol

your story just better than mine, cuz vertminer is the only one which is not crashing after start on VTC & MONA ... lol...All the rest just dont work with Asus Strix 1080
newbie
Activity: 32
Merit: 0
December 09, 2017, 03:03:41 PM
Hi
I am testing WTM SWITCHER with 3 coins and I have to show you that miner restarts anyway if COIN STAYS THE SAME.

Check it pls here http://prntscr.com/hl9ud0

I think if we're not changing coin we dont have to kill and start mining process again

Thank you

Yes , I tried to do an algo check to not restart 3main if not necessary but failed
Fixed now
Please run the update script again
https://www.dropbox.com/s/2nl5jdg0v8vrijl/nvOC-19-2-update


We are still on testing process before officially release 19-2, please wait a bit and we will announce it.
Thanks for update!
I understand that its testing phase. so it everything cool) thanks again!
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
December 09, 2017, 03:02:51 PM
Hi
I am testing WTM SWITCHER with 3 coins and I have to show you that miner restarts anyway if COIN STAYS THE SAME.

Check it pls here http://prntscr.com/hl9ud0

I think if we're not changing coin we dont have to kill and start mining process again

Thank you

Can I ask the difference between your miner hash rate and pool hash rate with vertminer ?

Sure, but I will tell you just tomorrow, cuz building, testing, stopping, changing params at the moment to find out the best config for my strix 1080.
And 2 more things:
  • to build vertminer - we have to change bn.h at /usr/local/include/openssl
  • pool hashrate on a single card looks to me not that stable as on the rig with 10+ cards...but anyway I will let you know

Yup I know the bn.h trick
I tried vertminer and it gave me 80 MH/s on pool while miner shows 110, tpruvot 2.2.3 shows 113 on miner side and 90 on pool side
Alexis gives most on miner and half on pool , going crazy to find the best miner ...lol
newbie
Activity: 32
Merit: 0
December 09, 2017, 02:57:22 PM
Hi
I am testing WTM SWITCHER with 3 coins and I have to show you that miner restarts anyway if COIN STAYS THE SAME.

Check it pls here http://prntscr.com/hl9ud0

I think if we're not changing coin we dont have to kill and start mining process again

Thank you

Can I ask the difference between your miner hash rate and pool hash rate with vertminer ?

Sure, but I will tell you just tomorrow, cuz building, testing, stopping, changing params at the moment to find out the best config for my strix 1080.
And 2 more things:
  • to build vertminer - we have to change bn.h at /usr/local/include/openssl
  • pool hashrate on a single card looks to me not that stable as on the rig with 10+ cards...but anyway I will let you know
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
December 09, 2017, 02:23:39 PM
Been a while since I've popped my head in here...been running rather uneventfully with nvOC and my auto-switcher, watching coin pile up.

The auto-switcher writes its activity to a file, algo-log.  Yesterday, I got around to knocking together a simple tool that looks at the algo-log file and tells you what you've been mining recently:

Code:
#!/usr/bin/env python3

from datetime import datetime, timedelta
import sys
import operator

end=datetime.now().replace(microsecond=0)
try:
  start=end-timedelta(days=int(sys.argv[1]))
except:
  start=end-timedelta(days=1)

l={}

with (open("algo-log", "r")) as f:
  for i in f:
    curr=datetime.strptime(i[0:19], "%Y-%m-%d %H:%M:%S")
    curr_algo=i[28:].split(" ")[0]
    if (curr>start):
      try:
        l[curr_algo]+=curr-last
      except:
        l[curr_algo]=curr-last
    last=curr
    last_algo=curr_algo
try:
  l[last_algo]+=end-last
except:
  l[last_algo]=end-last

for i in sorted(l.items(), key=operator.itemgetter(1), reverse=True):
  print(i[0]+" {0:0.3f}".format(i[1].days*24+i[1].seconds/3600))

By default, it counts up which coins have been mined over the past day and prints a sorted list.  Here's what I've been mining:

Code:
feathercoin 6.901
monacoin 5.013
digibyte-skein 4.043
vertcoin 4.014
zencash 4.010
bitcoin-gold 1.508

Follow it with a number to get that many days' worth of analysis.  Here's my past week (./top-algos.py 7):

Code:
feathercoin 48.667
monacoin 22.975
vertcoin 17.542
zencash 16.712
digibyte-skein 16.211
groestlcoin 12.701
zclassic 8.029
bitcoin-gold 7.022
ethereum 4.514
monero 4.020
zcash 3.511
maxcoin 3.511
ethereum-classic 3.009
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
December 09, 2017, 01:58:43 PM
Hi
I am testing WTM SWITCHER with 3 coins and I have to show you that miner restarts anyway if COIN STAYS THE SAME.

Check it pls here http://prntscr.com/hl9ud0

I think if we're not changing coin we dont have to kill and start mining process again

Thank you

Can I ask the difference between your miner hash rate and pool hash rate with vertminer ?
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
December 09, 2017, 01:49:54 PM
Hi
I am testing WTM SWITCHER with 3 coins and I have to show you that miner restarts anyway if COIN STAYS THE SAME.

Check it pls here http://prntscr.com/hl9ud0

I think if we're not changing coin we dont have to kill and start mining process again

Thank you

Yes , I tried to do an algo check to not restart 3main if not necessary but failed
Fixed now
Please run the update script again
https://www.dropbox.com/s/2nl5jdg0v8vrijl/nvOC-19-2-update


We are still on testing process before officially release 19-2, please wait a bit and we will announce it.
newbie
Activity: 32
Merit: 0
December 09, 2017, 01:35:34 PM
nvOC 19-2.0 Community Release Notes:


nvOC utility (by stubo):
  New function based utility that has many features including gpuinfo, stop, start, clearlogs, restart, etc.
  

Could you please explain how to use it?
Can I now restart miner so it re-read new config?

At the moment I am just restarting rig ((

Thank you
newbie
Activity: 32
Merit: 0
December 09, 2017, 01:15:43 PM
Hi
I am testing WTM SWITCHER with 3 coins and I have to show you that miner restarts anyway if COIN STAYS THE SAME.

Check it pls here http://prntscr.com/hl9ud0

I think if we're not changing coin we dont have to kill and start mining process again

Thank you
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
December 09, 2017, 12:37:36 PM
looks like tpruvot added ASccminer optimisations 5 day ago did any one tested?

https://github.com/tpruvot/ccminer/tree/windows/lyra2


just compiled it for 19-2.0 release
Haven't tested yet

Hopefully will finish 19-2 tests soon
newbie
Activity: 18
Merit: 0
December 09, 2017, 11:09:40 AM
looks like tpruvot added ASccminer optimisations 5 day ago did any one tested?

https://github.com/tpruvot/ccminer/tree/windows/lyra2
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
December 09, 2017, 07:24:05 AM
I'm getting weird low hash rate when mining lyra2rev2 vert and mona
I have 7x270 Mh/s workers so it should be around 1890 mh/s

I know pool shows hash rate based on accepted shares, but its way lower than my workers hash rate
Its ok when I mine equihash and hash rates are almost same, but on lyra2re2 its not


http://oi65.tinypic.com/2lnwc42.jpg

As you can see it never goes over 1100 while it should reach 1800


Using Alexis ccminer
one of my workers output :

Code:
[2017-12-09 14:16:30] [S/A/T]: 0/456/456, diff: 0.779, 276.77MH/s yes!
[2017-12-09 14:16:30] [S/A/T]: 0/457/457, diff: 0.760, 276.77MH/s yes!
[2017-12-09 14:16:34] [S/A/T]: 0/458/458, diff: 10.370, 276.77MH/s yes!
[2017-12-09 14:16:42] GPU#7:Gigabyte P106-100, 22.96MH/s
[2017-12-09 14:16:42] GPU#7:Gigabyte P106-100, 0.3MH/W, 0.013MH/Mhz
[2017-12-09 14:16:42] GPU#7:Gigabyte P106-100, 56C(F:50%) 1792/2999MHz(76W)
[2017-12-09 14:16:42] [S/A/T]: 0/459/459, diff: 4.908, 276.77MH/s yes!
[2017-12-09 14:16:46] lyra2v2 block 838574, diff 79706.439
[2017-12-09 14:16:53] lyra2v2 block 838575, diff 79902.176
[2017-12-09 14:17:07] [S/A/T]: 0/460/460, diff: 0.780, 276.76MH/s yes!
[2017-12-09 14:17:08] GPU#1:Gigabyte P106-100, 23.02MH/s
[2017-12-09 14:17:08] GPU#1:Gigabyte P106-100, 0.3MH/W, 0.013MH/Mhz
[2017-12-09 14:17:08] GPU#1:Gigabyte P106-100, 54C(F:50%) 1789/2999MHz(76W)

I have been pointing this out but the pool dev replied to normal replies and not to the real issue here with vertcoin mining on this pool.
I have been facing this issue since the day i joined.

It is old known issue.
Lyra2 type algo's hashrate is lower than actual from ccminer because their shares come in to poo quite lately.

This issue doesn't happen on sgminer. Also some ccminer users don't experience this issue at all.
I don't know the core difference but I think there's some nvidia's inner bottleneck for lyra2 hashing. Something like memory bandwidth maybe.

There's no way to fix from pool side unless pool manipulate hashrate.



So it seems Alexis ccminer (ASccminer) shows good hash rate on miner side, but not good at pool side.

Any one has better idea for mining lyra2rev2?
Jump to: