Author

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

full member
Activity: 200
Merit: 101
November 28, 2017, 04:06:31 PM
There are moments that only 1 GPU wont get fully utilize and keep on going like that, problem with the current wdog on multiple GPUs is that it takes so long for wdog to restart 3 main if only one gpu fails, so on a 12 card rig it takes 72 times and while it checks every 10 seconds it will take more than 10 minutes for it to restart 3main

Any idea how to correct this?

Oh believe me, I have thought about this one, too, and have yet to arrive and what I feel is a good solution. Having the reboot time grow proportionally to #GPU is not ideal, IMO. I am all ears if somebody wants to chime in. The best that I can come up with is an upper limit on count instead of just 6xGPU. There has to be a better way.

The watchdog needs complete overhaul, some of its logic has no logic at all Wink
I had cases when one GPU would hang and pretty much brings the whole rig to a crawl. Its 6x logic (x 13 GPU's for me) caused 3-4 hours of slow ~10% performance before it realized its time to reboot. Quick solution for me was to scratch its logic and change the code to reboot on any detected problem... I'd rather lose 1 minute rebooting than 4 hours of mining at 10%

I will revisit the watchdog soon, see if i can come up with some new logic for it
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 28, 2017, 02:36:17 PM
Hey guys. Srsly nvOc Is amazing!!!
All rigs goin like monsters over here. Just one question.
One Rig does not want to launch any kind of miners.
Whenever I put "ETH" with my address and all it shows something about stratum.
Whenever I try to mine ZEC ( which is my main coin ) There is simply Nothing I Can do, it shows "there is no screen to be attached matching miner"
I double checked and still - there is no mining coming out from the rig. Anyone had this problem before?


Check your network connectivity
can you ping google.com ?
newbie
Activity: 13
Merit: 0
November 28, 2017, 02:03:31 PM
Hey guys. Srsly nvOc Is amazing!!!
All rigs goin like monsters over here. Just one question.
One Rig does not want to launch any kind of miners.
Whenever I put "ETH" with my address and all it shows something about stratum.
Whenever I try to mine ZEC ( which is my main coin ) There is simply Nothing I Can do, it shows "there is no screen to be attached matching miner"
I double checked and still - there is no mining coming out from the rig. Anyone had this problem before?
member
Activity: 224
Merit: 13
November 28, 2017, 12:58:34 PM
Completely disagree. This is dangerous way to overclock and could lead to catastrophic failure of your rig if a card dies on its own.. and they do.

Its discussed on the nvidia dev form with some python code that could be adopted to nvOC if anyone is interested:

https://devtalk.nvidia.com/default/topic/769851/multi-nvidia-gpus-and-xorg-conf-how-to-account-for-pci-bus-busid-change-/



Hi Guys,

I discovered a serious and potentially dangerous flaw in the way nvOC handles overclocking and would like to make a suggestion for an improvement.

We really need overclocking tied to the specific pcie slot (bus id) not an index that changes every time your hardware changes.

For example, if you have a gtx1080ti in slot 2, and a gtx1060 in slot 3, and your 1080ti goes offline for some reason or you remove it, the 1080ti overclock is now applied to what it thinks is the next card in the dumb index, and applies it to your gtx1060 potentially going POOF.

We need to apply overclocking to BUS ID:
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    Off  | 00000000:02:00.0 Off |                  N/A |
| 70%   56C    P2   152W / 151W |    652MiB /  8112MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:04:00.0 Off |                  N/A |
| 70%   61C    P2   120W / 120W |    592MiB /  6072MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    Off  | 00000000:05:00.0 Off |                  N/A |
| 70%   52C    P2   118W / 120W |    614MiB /  8113MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+




Nothing to fix at all oO ...

You modified your RIG, you have to modify setting ...



How is OC by slot going to fix the scenario where a person just moves cards around in a rig as opposed to just removing one? Both scenarios are hardware changes and common sense dictates that the user be aware of this potential because they went down the path of path of individual OC in the first place. It is not like they went there by mistake, right?
newbie
Activity: 1
Merit: 0
November 28, 2017, 12:26:14 PM
Just wanted to say thank you to fullzero and the team! Just built my 1st rig gtx 1060 x3 mining Ubiq y’all really have a great product Thanks!
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 28, 2017, 11:58:31 AM
There are moments that only 1 GPU wont get fully utilize and keep on going like that, problem with the current wdog on multiple GPUs is that it takes so long for wdog to restart 3 main if only one gpu fails, so on a 12 card rig it takes 72 times and while it checks every 10 seconds it will take more than 10 minutes for it to restart 3main

Any idea how to correct this?

Oh believe me, I have thought about this one, too, and have yet to arrive and what I feel is a good solution. Having the reboot time grow proportionally to #GPU is not ideal, IMO. I am all ears if somebody wants to chime in. The best that I can come up with is an upper limit on count instead of just 6xGPU. There has to be a better way.

I'm sure you have thought about this long before it catch my attention, you have done awesome fix and edits to wdog.
I think the upper limit can cause too fast restart if all gpus fail
There should be a way with bash to catch and compare values by their location in the series, but I'm not sure how.
newbie
Activity: 65
Merit: 0
November 28, 2017, 11:56:57 AM
Completely disagree. This is dangerous way to overclock and could lead to catastrophic failure of your rig if a card dies on its own.. and they do.

Its discussed on the nvidia dev form with some python code that could be adopted to nvOC if anyone is interested:

https://devtalk.nvidia.com/default/topic/769851/multi-nvidia-gpus-and-xorg-conf-how-to-account-for-pci-bus-busid-change-/



Hi Guys,

I discovered a serious and potentially dangerous flaw in the way nvOC handles overclocking and would like to make a suggestion for an improvement.

We really need overclocking tied to the specific pcie slot (bus id) not an index that changes every time your hardware changes.

For example, if you have a gtx1080ti in slot 2, and a gtx1060 in slot 3, and your 1080ti goes offline for some reason or you remove it, the 1080ti overclock is now applied to what it thinks is the next card in the dumb index, and applies it to your gtx1060 potentially going POOF.

We need to apply overclocking to BUS ID:
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    Off  | 00000000:02:00.0 Off |                  N/A |
| 70%   56C    P2   152W / 151W |    652MiB /  8112MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:04:00.0 Off |                  N/A |
| 70%   61C    P2   120W / 120W |    592MiB /  6072MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    Off  | 00000000:05:00.0 Off |                  N/A |
| 70%   52C    P2   118W / 120W |    614MiB /  8113MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+




Nothing to fix at all oO ...

You modified your RIG, you have to modify setting ...


full member
Activity: 420
Merit: 106
https://steemit.com/@bibi187
November 28, 2017, 11:51:02 AM
Hi Guys,

I discovered a serious and potentially dangerous flaw in the way nvOC handles overclocking and would like to make a suggestion for an improvement.

We really need overclocking tied to the specific pcie slot (bus id) not an index that changes every time your hardware changes.

For example, if you have a gtx1080ti in slot 2, and a gtx1060 in slot 3, and your 1080ti goes offline for some reason or you remove it, the 1080ti overclock is now applied to what it thinks is the next card in the dumb index, and applies it to your gtx1060 potentially going POOF.

We need to apply overclocking to BUS ID:
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    Off  | 00000000:02:00.0 Off |                  N/A |
| 70%   56C    P2   152W / 151W |    652MiB /  8112MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:04:00.0 Off |                  N/A |
| 70%   61C    P2   120W / 120W |    592MiB /  6072MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    Off  | 00000000:05:00.0 Off |                  N/A |
| 70%   52C    P2   118W / 120W |    614MiB /  8113MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+




Nothing to fix at all oO ...

You modified your RIG, you have to modify setting ...

newbie
Activity: 65
Merit: 0
November 28, 2017, 11:42:01 AM
Hi Guys,

I discovered a serious and potentially dangerous flaw in the way nvOC handles overclocking and would like to make a suggestion for an improvement.

We really need overclocking tied to the specific pcie slot (bus id) not an index that changes every time your hardware changes.

For example, if you have a gtx1080ti in slot 2, and a gtx1060 in slot 3, and your 1080ti goes offline for some reason or you remove it, the 1080ti overclock is now applied to what it thinks is the next card in the dumb index, and applies it to your gtx1060 potentially going POOF.

We need to apply overclocking to BUS ID:
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    Off  | 00000000:02:00.0 Off |                  N/A |
| 70%   56C    P2   152W / 151W |    652MiB /  8112MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:04:00.0 Off |                  N/A |
| 70%   61C    P2   120W / 120W |    592MiB /  6072MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    Off  | 00000000:05:00.0 Off |                  N/A |
| 70%   52C    P2   118W / 120W |    614MiB /  8113MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+


member
Activity: 224
Merit: 13
November 28, 2017, 11:18:01 AM
There are moments that only 1 GPU wont get fully utilize and keep on going like that, problem with the current wdog on multiple GPUs is that it takes so long for wdog to restart 3 main if only one gpu fails, so on a 12 card rig it takes 72 times and while it checks every 10 seconds it will take more than 10 minutes for it to restart 3main

Any idea how to correct this?

Oh believe me, I have thought about this one, too, and have yet to arrive and what I feel is a good solution. Having the reboot time grow proportionally to #GPU is not ideal, IMO. I am all ears if somebody wants to chime in. The best that I can come up with is an upper limit on count instead of just 6xGPU. There has to be a better way.
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 28, 2017, 11:09:56 AM
Edit 2:
Suggestion :

add
Code:
 REBOOTRESET=$(($REBOOTRESET - 1))
in this section:
Code:
   # If utilization is lower than threshold count them:


So really the question becomes, should RESTART be reset to 0 after just 5 times through the main loop regardless of what happens with utilization?



Thats exactly why I added the suggestiion in edit 2.
The decrementing happens only if there were low utilization detected so if all is good it will be incremented by each cycle...

I already wrote "Merely decrementing the counter is a bad idea because it is incremented every time through the main loop so this approach would only lead to it staying the same." ...and if it stays the same, RESTART will never get reset to 0, thus breaking the script.

So whats your suggestion
Add an statement for it  after checking utilization?

 
Code:
   if [ $UTIL -gt $THRESHOLD ]
    then
  REBOOTRESET=$(($REBOOTRESET + 1))
fi

My suggestion is what I originally stated.

I admit it is confusing so here is another way of looking at. As written, the script will reset REBOOTRESET to 0 and reset RESTART to 0 every 6th time through the loop unless the miner is restarted (kill 3main) in which case only REBOOTRESET is set back to 0. My proposed change is to only reset both variables on the 6th time through the loop if there were no utilization issues found [which is what moving it "up" into the else clause does]. The REBOOTRESET=0 as a part of miner restart should remain unchanged. As written, the potential is there for RESTART to be reset to 0 even if there are still utilization issues thereby delaying potential host restart. In a nutshell, your rig could limp along longer than necessary with a GPU or 2 down over and over with miner restarts when only a host reboot will fix the problem.

Great suggestion and workaround as always... Thanks mate.
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 28, 2017, 11:08:49 AM
There are moments that only 1 GPU wont get fully utilize and keep on going like that, problem with the current wdog on multiple GPUs is that it takes so long for wdog to restart 3 main if only one gpu fails, so on a 12 card rig it takes 72 times and while it checks every 10 seconds it will take more than 10 minutes for it to restart 3main

Any idea how to correct this?
newbie
Activity: 2
Merit: 0
November 28, 2017, 10:16:31 AM
Hello,
i added a 3rd 1080 Ti GPU in my rig. (H110 Pro BTC+)
but it stopped booting from the USB stick i use. i just hangs after the bios with the "B4" code written in the bottom right of the screen.
does it mean i have to switch to a HDD or SSD  for it to work now ? or do i need more than 4 GB of RAM ?
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 28, 2017, 09:36:42 AM
Hey guys I'm pretty new at this. I imaged a USB arrive with v 19 and now it just keeps "cycling" and never starts mining. I set my coin to ubq, made up a worker name and set my wallet and mining pool. All it does is keep loading some I'm not a Jeep and something else over and over! I'm losing hair over this 😀😀

Please post your ubq setting from 1bash
newbie
Activity: 14
Merit: 0
November 28, 2017, 09:22:47 AM
I cannot get my hashes for a gtx 1070 to get past 26ish mining eth no matter what I do.

Running nvOC 19 1.4

Is 26 just what linux can do or do I need to keep trying to solve this issue and get higher hashes?

What are your settings? I get 29 MH ETH and 280 MH DCR with PL 125 Core -50 and M 900 from Zotac 1070 mini.

I'm getting 28.8 on the minis. I was getting 26 with the stock settings. I posted earlier today looking for some better settings. I just started messing with it and ended with PL=125, Core=150, and MEM at 600 on the Mini. I'm running three of them.

Anyone else have recommended settings for a 1070, preferably a mini? And thanks for posting y'all's.

Edit: I am now using your 125/-50/900 values and now each of my three cards are cranking out 30Mh/s of ETH. Thanks for the numbers.

With gigabyte 1070 I get
Ethahsh : 30-31 MH/s,  Power 130, CC -200, MC 800
Equihash: 470 Sol/s, Power 125, CC 150, MC 600

Have a look here too : https://bitcointalksearch.org/topic/all-oc-settings-in-one-place-2176936

Awesome! And thanks for the link.
newbie
Activity: 4
Merit: 0
November 28, 2017, 09:00:34 AM
Hey guys I'm pretty new at this. I imaged a USB arrive with v 19 and now it just keeps "cycling" and never starts mining. I set my coin to ubq, made up a worker name and set my wallet and mining pool. All it does is keep loading some I'm not a Jeep and something else over and over! I'm losing hair over this 😀😀
member
Activity: 224
Merit: 13
November 28, 2017, 07:25:08 AM
Edit 2:
Suggestion :

add
Code:
 REBOOTRESET=$(($REBOOTRESET - 1))
in this section:
Code:
   # If utilization is lower than threshold count them:


So really the question becomes, should RESTART be reset to 0 after just 5 times through the main loop regardless of what happens with utilization?



Thats exactly why I added the suggestiion in edit 2.
The decrementing happens only if there were low utilization detected so if all is good it will be incremented by each cycle...

I already wrote "Merely decrementing the counter is a bad idea because it is incremented every time through the main loop so this approach would only lead to it staying the same." ...and if it stays the same, RESTART will never get reset to 0, thus breaking the script.

So whats your suggestion
Add an statement for it  after checking utilization?

 
Code:
   if [ $UTIL -gt $THRESHOLD ]
    then
  REBOOTRESET=$(($REBOOTRESET + 1))
fi

My suggestion is what I originally stated.

I admit it is confusing so here is another way of looking at. As written, the script will reset REBOOTRESET to 0 and reset RESTART to 0 every 6th time through the loop unless the miner is restarted (kill 3main) in which case only REBOOTRESET is set back to 0. My proposed change is to only reset both variables on the 6th time through the loop if there were no utilization issues found [which is what moving it "up" into the else clause does]. The REBOOTRESET=0 as a part of miner restart should remain unchanged. As written, the potential is there for RESTART to be reset to 0 even if there are still utilization issues thereby delaying potential host restart. In a nutshell, your rig could limp along longer than necessary with a GPU or 2 down over and over with miner restarts when only a host reboot will fix the problem.
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 28, 2017, 07:08:47 AM
So i have used the new nvoc 14, and its great Smiley

I have a Zotec Geforce GTX 1070 amp card.... and i want to know

   1. how do i switch the led lights off?
   2. How can i overclock the card in Ubuntu?

   many thanks for your help in advance

Fayaz

Dont know about the lghts but overclock settings are in 1bash

Code:
POWERLIMIT_WATTS=125

__CORE_OVERCLOCK=150
MEMORY_OVERCLOCK=600

Those values what I use for equihash mining with gigabyte 1070
newbie
Activity: 1
Merit: 0
November 28, 2017, 07:00:02 AM
So i have used the new nvoc 14, and its great Smiley

I have a Zotec Geforce GTX 1070 amp card.... and i want to know

   1. how do i switch the led lights off?
   2. How can i overclock the card in Ubuntu?

   many thanks for your help in advance

Fayaz
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 28, 2017, 06:58:35 AM
Edit 2:
Suggestion :

add
Code:
 REBOOTRESET=$(($REBOOTRESET - 1))
in this section:
Code:
   # If utilization is lower than threshold count them:


So really the question becomes, should RESTART be reset to 0 after just 5 times through the main loop regardless of what happens with utilization?



Thats exactly why I added the suggestiion in edit 2.
The decrementing happens only if there were low utilization detected so if all is good it will be incremented by each cycle...

I already wrote "Merely decrementing the counter is a bad idea because it is incremented every time through the main loop so this approach would only lead to it staying the same." ...and if it stays the same, RESTART will never get reset to 0, thus breaking the script.

So whats your suggestion
Add an statement for it  after checking utilization?

 
Code:
   if [ $UTIL -gt $THRESHOLD ]
    then
  REBOOTRESET=$(($REBOOTRESET + 1))
fi
Jump to: