Bitcoin Forum
November 15, 2024, 09:40:33 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 [258] 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 ... 416 »
  Print  
Author Topic: [OS] nvOC easy-to-use Linux Nvidia Mining  (Read 418242 times)
joshuajones02
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
October 31, 2017, 07:38:00 PM
 #5141

I'm a newb linux user, not sure if this is the best place to ask but I'm having issues with one of my systems running nvOC.. My rig keeps rebooting itself after a few hours of running and when I go to access it to see what happened all my mobo settings have been reset to default and it asks me if I want to run setup or to boot as normal. Anyways, I'm unsure where to go to access linux crash logs or how to read them.

Once I reboot the rig back into Linux everything runs as normal.

Still having issues with this if anyone has a moment to help me out locating/interpreting logs

Are you using usb or ssd ?
It seems your rig restarted too many times and mobo gone to safe mod to keep it from restarting more.
Which version you have?
Check your OC settings.

SSD, and using the nvOC_v0019, haven't ran any of the updated versions.

The OC settings are set to 0 and 0.

The rig will run fine for a few hours, I walk away and come back to the computer being restarted and bios settings being restored to default each time.. I've tested the battery and its fine, I've unplugged the system completely from the PSU for an hour and plugged it back in and all of the changes/date/time were still there.


Edit: Now it won't turn on for more than a couple minutes, soon as it starts mining it turns off.. I'll try reinstalling the OS to one of the newer versions
https://ibb.co/gfYn5w
https://ibb.co/dV9idG

| World Fintech Startups | Microsoft Azure Partner | $1,5 M Raised During pre-ICO |
     BANKEX - Proof-of-Asset Protocol     
| WHITE PAPER | BLOGSLACKTELEGRAMBITCOINTALKGITHUBTWITTERYOUTUBEFACEBOOK |☰
Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
October 31, 2017, 07:43:20 PM
 #5142

Also, can I update to the latest Claymore`s (https://bitcointalk.org/index.php?topic=1433925.0) without breaking something in nvOC?

Thanks!

I just looked into this. nvOC 19-1.4 includes version 10.0 of this miner. If you want the latest as per the link, then you can download the binary (was surprised they had it instead of just source). Then you need to create subdirectory "10_1" in /home/m1/eth on your miner, put the downloaded file here and unzip/untar it. Lastly, you need to modify this line of your 1bash to use it:

Code:
CLAYMORE_VERSION="10_0"    # choose 10_0  or  9_8  or  9_7  or  9_5  or  9_4  or  8_0

to

CLAYMORE_VERSION="10_1"    # choose 10_0  or  9_8  or  9_7  or  9_5  or  9_4  or  8_0

Hope this helps.
ComputerGenie
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 552


Retired IRCX God


View Profile
October 31, 2017, 07:49:42 PM
 #5143

...you can download the binary (was surprised they had it instead of just source)...
AFAIK, Claymore has never been open.

If you have to ask "why?", you wouldn`t understand my answer.
Always be on the look out, because you never know when you'll be stalked by hit-men that eat nothing but cream cheese....
Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
October 31, 2017, 08:00:11 PM
 #5144

...you can download the binary (was surprised they had it instead of just source)...
AFAIK, Claymore has never been open.

That's a good thing from an end user perspective on nvOC (any Linux, really). I compiled up the latest and greatest tpruvot ccminer a couple of weeks back and that is not for the faint of heart, especially on nvOC. There are a handful of gotchas (all listed here, if you can find them).
MentalNomad
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
October 31, 2017, 08:10:15 PM
 #5145



Edit: Now it won't turn on for more than a couple minutes, soon as it starts mining it turns off.. I'll try reinstalling the OS to one of the newer versions
https://ibb.co/gfYn5w
https://ibb.co/dV9idG

It's possible, also, that your power supply is failing and/or is working at the limits of capacity... and then a slight bump in power draw, or a slight dip in your electrical grid, could cause the machine to reboot.
burntone
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
October 31, 2017, 08:11:27 PM
 #5146

I can`t seem to be able to mine in ethermine pool. Can someone help me figure out how to fix this?

https://lh3.googleusercontent.com/TXmLRrrT5IQoZT-UiMq-Osch2NoJeN1jyU20srZQa55ysKMEKw9L5Y9LJFkGZPi7KwYjlmi9z1QwFcNvTYpW7LvTZDKZXMXZiUeXz1cyk3ZhgcgiDu7VacelKOD_lArBWnwM4u-6nnQUJdxOeWCjHwJVaCt3bnFFc_4bcnLNSOMqQhziB5o170tcjWgt4j5VbYSf-6OR1nFAuqPdkl9VHcokltVzwp1kuudKb0Ibk8Yf6doIsg4l-32gZPjrj7hPjOir2p9OBLsAkiyVp5ERCoPPmCuTCqdLF9fD9U2VYDEvjD049uh8oqzCdnWWz3Tx-jod3yef2K4_z1W1llEw2F54Eo5cdAPVsuEm_eHnPapZZwUIpS9f0cVSf5pB2RFYlxI7byOBkM6X8FXNp12g85XVGzw3vwd2KS6t5rYKlmhonO4xSrNcmjJYDwwZ8LlaR6fLllsThKqTN5SGcKgXWSIYqT7kD4ZGWdHHBnbWlX9EddCyJ1LrRAUASAmqyrbmSHF-bOMSB9m74N9YMRvTRyTbbwKNsDbpuq458M6ENBBFSZSEssr8uPF6ZaQZQO4ZhLKOD_sB4WnknUCuxRUfmCIQKN-YpeTYXFAb7WUx9M3mJbiSxi-aUwvIx6HmZEXf9jGdfzLZT48kbBcBM1wKi3u3r7z380Zgpbz0=w639-h452-no

These are my ETH settings in 1bash:
https://lh3.googleusercontent.com/bYQQ8glhCF8Fnv56VezD531YgEreSZiS973t3MWDu_jCixJXKpAyAVXxWcbKWAfQZDPGLneLsf4bcnVCTUSJDGTcvaw3sq0ZzPBVz-35-HrC6ERdoL_5l56kAETycrdLdfRDOElnXdZ8OaEUOam-7aJjKfDXHnx1HDqm0g8q6l5PILcdlPM0beI9iVhvjQbA6xb_xNTYvQGl09uw337xoZh3oDDMvPrv-PelPgFddKm6iuhdPf9F9hNScd4sRkU56qZXTdEkrAPRohRnWJvNEU2L03yZPqIdvfso1lJW_OaQlmx84aGpsSQYj1rLthdDz8eiTSY4WwInXDQpzqUWy0UTGNOqaH_a7WYqzLRq8Nt9TOYHl8osASTGGFazXQ_x2fLvTr7CWAJaYrErEWnpDJCXSl10FnQC4JnE0PDYBlvBvMThGz20FbioxSgT6AXxyAfg6XRT3enhegUlG5ejYv7HcGUDdOSlcMQdRbhAbEDLU2bOsi1_kpohX2WzyBdNvM8O-T06PEFL0RrqY5CL5R5kAJtK6tJrNU8TQdhOZGwIyg_9zBwTYGONVn7VcdjVI1V9tPQPX3KgNmiwJKRr4JVXSnzkzvRJ--8um4TteyZSMlyRCGpIoyphll3wj72SFrPbw-TlE8H4r6FSuEMIJsW0-aoNCeYH7gWd=w638-h477-no

All working well in nanopool:
https://lh3.googleusercontent.com/ODCY3-CAulSwMYjrgQsdHnhlIz77lpLI2VNJ1OhLPMPGjQCQlLa1jdiGIYqSOozNnrtMvcjrECoX2uk3TbZXDd9QVwP1l06VNdBmQeR4jnZ0xwDKC7_1pb9oz2XA_Mn2bSXuJjToHG-1gMWoqBu5SmLTIeGC65hZtqXtsHZORUk1eVNgeEWBd7S-f7xFSebXL1O1tkiMojO-30y9FRZGL3u9CZYCB2JSrcjskyci80H8bbKqmWH2RZteWdPPzdfwuo1bKLQerJ5qcErffTE0qFkRXBIkyYcSTD4Cwv8RgEBgvagWe01dTWCin9-RZXHbOQB2AR6K_G-IqxGzVPD7b8H6hr1hjIjsdnDtI7QmQr7TCSdOwP8lukVzRcwpDT10b40nhhrN8I3qJahdSdDLBTlHQypa0MPrG1Zf4GEQrK_aT1DnpOM67zHj7UMUdMYTBSR3fpb_1EVmz7xz4rYC1q4paOBMc-_ahjJrcm8AMX-_ntreqY9ozMbIhTn_OpAm2-IZvjSuenwMs5-r89ohtr2BVc4GWAGOO5DLjGTqZzAxN3q35GEyhrBvRZXFOUDtr7Mzzz1gUWJGHU79DEwSmW4FKXFbhDmNNkldbrO_H-CLZOrxXwYzYw3GEfSk5S2GSIcsNGtcHvSZxqoSvlEWY0ZGVv4Hqlb3BGDB=w638-h479-no

Also, can I update to the latest Claymore`s (https://bitcointalk.org/index.php?topic=1433925.0) without breaking something in nvOC?

Thanks!



There is an option DOT or SLASH in 1bash. Set it to DOT for ethermine
Thanks, I tried that. It would make sense but that didn`t fix it.
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
October 31, 2017, 08:27:47 PM
 #5147

I was suspected of mobo too, gonna send it back and see how it goes.

So the problem was not mobo either, and it was cards from different manufacturing patch.
What I got from the seller was 2 big boxes with 10 cards in each + 4 cards, seems like one of the big boxes have different memory type.
So I got 14 good ones and 10 not so good ones ... lol

So now the question is which combo is better ?
6+6 in each rig
or go with one fully good and the other 4 good and 8 not so good ?


argh... but you stated before that all cards had same memory... I assumed that you tested each and every one with gpu-z under windows... that's what I did with mine...

Anyway, at least you know where the problem lies now... if you can't return the cards with "bad" memory I suppose it is best to make one rig with all "good" cards and the other one mixed
I said same cards and I thought they are all same, never thought same brand would have different memories
So which memories are the good and which one are bad ?
I know Samsung is good, but other good ones ?

joshuajones02
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
October 31, 2017, 08:42:50 PM
 #5148



Edit: Now it won't turn on for more than a couple minutes, soon as it starts mining it turns off.. I'll try reinstalling the OS to one of the newer versions
https://ibb.co/gfYn5w
https://ibb.co/dV9idG

It's possible, also, that your power supply is failing and/or is working at the limits of capacity... and then a slight bump in power draw, or a slight dip in your electrical grid, could cause the machine to reboot.

strange, its an 850 but its running just at 600watts according to the meter. Anyways, the rig has ran fine until that recent update came out and everyone's systems went offline.. As of now, I've installed a fresh copy of nvOC 19-13 and have it running now.. hopefully that solved it and its not a hardware issue.


| World Fintech Startups | Microsoft Azure Partner | $1,5 M Raised During pre-ICO |
     BANKEX - Proof-of-Asset Protocol     
| WHITE PAPER | BLOGSLACKTELEGRAMBITCOINTALKGITHUBTWITTERYOUTUBEFACEBOOK |☰
DangerD
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
October 31, 2017, 09:39:54 PM
 #5149

Any way to manage rigs in one place as on simplemining.net?
I can create web part. Rigs will just download configuration file from server and use it in bash script. (web part will generate it based on user input)
Also rig will send post requests to server every few minutes with GPUS temperatures etc.
z-axis
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
October 31, 2017, 10:23:32 PM
 #5150


Have you attached 3rd PSU?
One PSU = 7 GPU
Two PSU's = 13 GPU
Three PSU's = 19 GPU

Partial support means that not all GPU's can be overclocked, first 16 GPU can be overclocked, last 3 GPU will work on stock settings. See the post from two pages back regarding TB250

https://bitcointalk.org/index.php?topic=1854250.msg23785755#msg23785755

You can do it all with one PSU if it’s strong enough, but you have to power the risers and GPUs directly from the PSU. The three PSU connectors are only to sync on/off the 2nd and 3rd ones, and the three molex mobo attachments are only if you are attempting to power the risers via the mobo.


Hello,
what version is NVOC, 0019 or 0019 1.2 Huh

1.3
cryptobadger666
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
October 31, 2017, 10:28:40 PM
 #5151

ok.. so my usb stick gets corrupted about once a day now.. my mining rig already has a m.2 ssd i originally had windows on.  i would like to install NVOC on the ssd, however my other computer only has 1 m.2 slot which it boots from, so im trying to think of a way to install this OS..  the normal way of installing this with raw hdd copy would wipe the os thats completing the copy on the miner, is there a method of installing beside windows on the same drive in a different partition? and dual booting?  or is there a way to install this OS on my usb, then running a install like ubuntu does from a live session?  im really wishing i had a sata ssd on this rig. trying to find a work around is driving me nuts.

so, i guess there is no option for a workaround?

-1.4 should solve your problems.

I recommend using one of these adapters when using an SSD as your rig has less cables and it is easier to swap out:

https://www.amazon.com/StarTech-SATA-Drive-Adapter-Cable/dp/B00HJZJI84

or any similar adapter.

 

thanks fullzero... i think you misunderstood my drive though.. i have a m.2 ssd, not a sata ssd.. and i have no other cumputer with a extra m.2 slot to write NVOC to it..  is there a way to write this os to this drive as a dual boot? if so then i could do that from a windows partition.  otherwise i have to way of installing this OS to the m.2.......

also, what is in 1.4 that you think will fix the issue?
Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
October 31, 2017, 10:50:51 PM
 #5152

i have a m.2 ssd, not a sata ssd.. and i have no other cumputer with a extra m.2 slot to write NVOC to it..  is there a way to write this os to this drive as a dual boot? if so then i could do that from a windows partition.  otherwise i have to way of installing this OS to the m.2.......

A quick search on Amazon found this:

https://www.amazon.com/Portable-Enclosure-Tanbin-Converter-External/dp/B075FBTL4N/ref=sr_1_18?ie=UTF8&qid=1509490367&sr=8-18&keywords=m.2+drive+to+usb

I use a similar adapter to write my nvOC SSD's from a USB 3.0 port on another PC. There are some notes in the listing about compatibility so be sure to choose one that supports your type of m.2 drive. This is just the first one that I found.

Hope this helps.
kk003
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile
October 31, 2017, 11:29:49 PM
 #5153

This one is for coders:
Code:
function genoil_statics ()

{
#### Arrange the output for Genoil statics

if [[ "$ETHMINER_or_GENOIL_or_CLAYMORE" == "GENOIL" ]]; then

    # Check if Genoil is running. Note that I have to search the full path as there is a few miners with the same exec's name
    ps aux | grep -v grep | grep miner | grep -q "$KEY_GENOIL"
    if  [[ $? -eq 0 ]]; then
        GENOIL_IS_RUNNING="YES"
        TIMEOUT_FOR_TIMEOUT_IN_SECONDS=20       # The timeout for the command timeout to wait
        GENOIL_NUMBER_OF_HASHRATES_TO_SHOW=3    # Default 3, and I want to keep this value independent for each miner
        echo
        echo "It seems that GENOIL is running!!"

        # Extract the output from screen
        echo "Running timeout+script+screen for $TIMEOUT_FOR_TIMEOUT_IN_SECONDS seconds"
        timeout $TIMEOUT_FOR_TIMEOUT_IN_SECONDS script -q ~/kk003_telegram_data/files/output_miner_from_screen --command "screen -dr miner"
        sleep 2
#      screen -d miner # does not seem to need to be Detached

        # I don't see any valuable information than the total hashrate (I'll show a few at last)
        # Surprise!!!, sed 's/ /\n/g' no convierte espacios en saltos de linea, pero la misma linea en la consola si lo hace!!!
        TOTAL_HASHRATE=$(cat ~/kk003_telegram_data/files/output_miner_from_screen | grep "Mining on PoWhash" | cut -d":" -f4 |  cut -d" " -f2 | sed 's/ /\n/g' | tail -$GENOIL_NUMBER_OF_HASHRATES_TO_SHOW

        # Mount the little thing Genoil gives us
        #
        echo "Latest total hashrates : " > ~/kk003_telegram_data/files/miner_statics.txt
        echo $TOTAL_HASHRATE >> ~/kk003_telegram_data/files/miner_statics.txt

        echo "Latest total hashrates   : " > ~/kk003_telegram_data/files/miner_statics_log_file.txt
        echo $TOTAL_HASHRATE >> ~/kk003_telegram_data/files/miner_statics_log_file.txt


        # Insert the Title for Genoil mining information
        sed -i "1s/^/** Genoil mining  Information **\n/" ~/kk003_telegram_data/files/miner_statics.txt
        sed -i "1s/^/\n/" ~/kk003_telegram_data/files/miner_statics.txt

        sed -i "1s/^/** Genoil mining  Information **\n/" ~/kk003_telegram_data/files/miner_statics_log_file.txt
        sed -i "1s/^/\n/" ~/kk003_telegram_data/files/miner_statics_log_file.txt

    else
        echo "Genoil does not seem to be running!!. Skiping this bit."
        GENOIL_IS_RUNNING="NO"
    fi
fi
}

I found out a way to capture the output from screen in real time. See the lines:

Code:
# Extract the output from screen
        echo "Running timeout+script+screen for $TIMEOUT_FOR_TIMEOUT_IN_SECONDS seconds"
        timeout $TIMEOUT_FOR_TIMEOUT_IN_SECONDS script -q ~/kk003_telegram_data/files/output_miner_from_screen --command "screen -dr miner"
        sleep 2
#      screen -d miner # does not seem to need to be Detached

This run screen for 20 seconds (timeout command) and saves output to file ~/kk003_telegram_data/files/output_miner_from_screen (script command). -dr forces to attach miner (so if user have screen open in a terminal will close it and the script will do its job). After 20 seconds miner is detached without need to send CTRL+d.
This works better if ran from a non interactive terminal, ejem: from nvoc system  Tongue.

This means it is possible to capture the output of any miner even if all of it shows only on terminal (no log file, web server, argument -L on screen, etc).
I hope it will be useful for you too.

PD: if you use "tail -f file" to watch the output in real time don't trust what you see. The real output is in the file (do a cat file or whatever). Keep in main, if you log the output of your script probably you'll get those 20 seconds from screen in the log file too.

Nice; this is very useful.  Even as a methodology it can be applied to many different features.  Smiley

I am sorry to say that I have tested this method all night and it is unstable. At any given moment stop writing the file.

Finally I think this method will work to start screen's log file "on the fly"

Code:
screen -dr miner -X log

So some code like this would do the trick:

Code:
# First check if screen is running miner with the -L flag!!!
......
......

# End of first check if screen is running miner with the -L flag!!!

if [[ -f ~/screenlog.0 ]]; then
  > ~/screenlog.0
  screen -dr miner -X log       # Start login output from miner
  sleep 20                      # keep saving data for 20 seconds   
  screen -dr miner -X log       # Stop login output from miner
  # Get the miner statics
  TOTAL_HASHRATE=$(tail -60 ~/screenlog.0 | grep "Mining on PoWhash" | cut -d":" -f4 |  cut -d" " -f2 | sed 's/ /\n/g' | tail -3)
  .....
  .....

fi

I will add this method to kk003_telegram ASP + some new features and miners for statics.
Hope it helps.
CryptAtomeTrader44
Full Member
***
Offline Offline

Activity: 340
Merit: 103

It is easier to break an atom than partialities AE


View Profile
November 01, 2017, 12:02:10 AM
 #5154

Maybe its me but the speeds to download the OS are incredibly slow. I built a torrent and I am seeding it from my server and personal desktop here: https://www.cryptocurrencyfreak.com/2017/10/30/nvoc-mining-os-torrent/

Feel free to help seed!

Is this 1.3 or the name is wrong ?

That torrent really is for the 1.3 image; I think he DL'ed just before fullzero posted 1.4, and then came back to post about the torrent just after fullzero posted.

This one is for the 1.4 image:
http://s000.tinyupload.com/index.php?file_id=00585421597763893895

I've added it in comments on cryptocurrencyfreak 's blog; it's awaiting moderation or for him to notice it here.


Seeding with a gigabit seedbox and a 500 MB 2nd seedbox for the next 7 days.
Enjoy !


AWESOME!  Roll Eyes Thanks!!

7zip say it is not a valid zip file ...dwld with synology download station and say the same error
3 seeds. not enough seeds...
VoskCoin
Sr. Member
****
Offline Offline

Activity: 1414
Merit: 487


YouTube.com/VoskCoin


View Profile WWW
November 01, 2017, 12:34:00 AM
 #5155









Any input on what my issue is?

2400w server psu powering 11 gpu and 11 riser
750w atx powering mobo cpu 2x molex (1 cable 2 connects) powering primary gpu and primary gpu riser
h110 btc pro 13 gpu mobo

wont boot with smos or nvoc

Check out my Crypto YouTube channel
https://www.youtube.com/VoskCoin
If you enjoy my content click Subscribe
medi91
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
November 01, 2017, 01:26:45 AM
 #5156

Tried my best to search for an answer, but no luck so far...

has anyone successfully gotten rid of the login loop issue?

Ive console logged in, did a re-image, tried different versions, and every ubuntu based fix i could find online (clear and .Xauthority fixes)

Board is a HP z400 board

Try this:
press CTRL- ALT- F1 together, terminal window will open. Login as m1, pass miner1

type:
Code:
sudo apt update && sudo apt upgrade && sudo reboot

Please reply with results

Unfortunately did not get rid of the login loop
leenoox
Full Member
***
Offline Offline

Activity: 200
Merit: 101



View Profile
November 01, 2017, 04:40:38 AM
 #5157

So which memories are the good and which one are bad ?
I know Samsung is good, but other good ones ?

Samsung memory is best, then Micron, then Hynix.
From my experience with 1060's mining ETH
Samsung: 25 MH/s
Micron: 22 MH/s
Hynix: 19 MH/s

Unfortunately there is no way to check memory vendor under linux (yet). You have to check under Windows with GPU-Z

SergGT001
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
November 01, 2017, 05:43:43 AM
 #5158

Hi! I recorded the image on a flash drive as described in the first post of the topic. But I get the compand string grub. The image is not loaded. What am I doing wrong?
Screenshot https://cdn1.savepice.ru/uploads/2017/10/31/5205d8dee4f2371e5a84d12d54231a0b-full.jpg
leenoox
Full Member
***
Offline Offline

Activity: 200
Merit: 101



View Profile
November 01, 2017, 05:56:19 AM
 #5159


Finally I think this method will work to start screen's log file "on the fly"

Code:
screen -dr miner -X log

So some code like this would do the trick:

Code:
# First check if screen is running miner with the -L flag!!!
......
......

# End of first check if screen is running miner with the -L flag!!!

if [[ -f ~/screenlog.0 ]]; then
  > ~/screenlog.0
  screen -dr miner -X log       # Start login output from miner
  sleep 20                      # keep saving data for 20 seconds   
  screen -dr miner -X log       # Stop login output from miner
  # Get the miner statics
  TOTAL_HASHRATE=$(tail -60 ~/screenlog.0 | grep "Mining on PoWhash" | cut -d":" -f4 |  cut -d" " -f2 | sed 's/ /\n/g' | tail -3)
  .....
  .....

fi

I will add this method to kk003_telegram ASP + some new features and miners for statics.
Hope it helps.

It's really nice to add more features to nvOC and I would encourage everyone to try and contribute to this great project but I would strongly advice against using unnecessary extreme writing in logs to accomplish the proposed feature. Especialy recording the screen in screenlog...

You see people complainig every day of corrupted USB sticks, freezing, running out of space, boot problems, etc. USB stick as a medium is not designed for such operations, constant writing to USB stick is not recommended, it messes the controller, makes USB perform very slow after a while and kills memory cells which leads to corruption and lock-ups.

If nvOC was explicitly recommended as SSD/HDD OS, the logs would be fine but the reality is that 90% of people use nvOC from USB sticks.

To all devs: please avoid usage of logs as much as possible or at least log as little as possible.

Hint: if you want to show output from the miner in your script/program/telegram/web page (definetely a nice feature to show), record the output from the miner (or nvidia api) into memory then show it in your program on a per need basis. This is more easily done with PHP and Perl but it can be accomplished in Bash as well. Record stdout and stderr into rotating array (you can use shift for the array). You can record 10, 20, 100, even 500 lines and you won't run out of memory, then show the live output from the array into your featured program.

papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 01, 2017, 07:23:36 AM
Last edit: November 01, 2017, 09:13:59 AM by papampi
 #5160



It's really nice to add more features to nvOC and I would encourage everyone to try and contribute to this great project but I would strongly advice against using unnecessary extreme writing in logs to accomplish the proposed feature. Especialy recording the screen in screenlog...

You see people complainig every day of corrupted USB sticks, freezing, running out of space, boot problems, etc. USB stick as a medium is not designed for such operations, constant writing to USB stick is not recommended, it messes the controller, makes USB perform very slow after a while and kills memory cells which leads to corruption and lock-ups.

If nvOC was explicitly recommended as SSD/HDD OS, the logs would be fine but the reality is that 90% of people use nvOC from USB sticks.

To all devs: please avoid usage of logs as much as possible or at least log as little as possible.

Hint: if you want to show output from the miner in your script/program/telegram/web page (definetely a nice feature to show), record the output from the miner (or nvidia api) into memory then show it in your program on a per need basis. This is more easily done with PHP and Perl but it can be accomplished in Bash as well. Record stdout and stderr into rotating array (you can use shift for the array). You can record 10, 20, 100, even 500 lines and you won't run out of memory, then show the live output from the array into your featured program.



We miners are spending thousands on our rigs and when it comes to stability and life span we forget the most important part and thats where the OS is installed on, we think small and go cheap with a 5-10$ USB when we can have much smoother system with a 30$ SSD.

Using USB as daily use is not recommended in any distro, The most important  difference other than USB read/write limit is there's no way for a USB drive to mark bad cells as 'do not use'  whereas the SSD may develop bad areas it can ignore them. With a USB drive one cell goes bad and the whole drive is useless.

I'm Not saying that you shouldn't use a USB for bootable OS, just that it's not a good idea to have it as your main boot drive and only use them for diagnostic / testing purposes.
No mining system should be run from USB as a daily hardcore mining system, but run it on usb, test OS and see if you like it, then install it on SSD.

I think mining with nvOC on USB is only good for those who want to mine when their pc is not in use, so they boot with usb, mine for a while then reboot back to their main OS...

Pages: « 1 ... 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 [258] 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 ... 416 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!