Author

Topic: CCminer(SP-MOD) Modded NVIDIA Maxwell / Pascal kernels. - page 950. (Read 2347664 times)

member
Activity: 81
Merit: 10
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

The easiest (and dirtiest) way is to have your miner batch file run in a loop:
:start
ccminer.exe ...
goto start


and have another batch loop running which restarts ccminer periodically:
:start
timeout -t 1800
taskkill -t -f /im ccminer.exe
goto start


That will restart ccminer every 1800 seconds (30 minutes).

That's beautiful... If only a program like MultiMiner was compatible with CCminer... Last I checked it was because CCminer doesn't have a API so other programs can't hook into it.

Wouldn't the first batchfile continually start up lots of instances of ccminer as there isn't a timer and it's a loop? Does it check to see if one instance is running?


This is what I use:

set app=ccminer.exe
set algo=quark
set address=stratum+tcp://xxxx:port#
set user1=xxx.x1    (your username and workername for the pool)
set user2=xxx.x2
set password=x     (your worker password)
:start
  start "gpu0" /min %app% -a %algo% -s 1 -d 0 -i 19 -R 3 -o %address% -u %user1% -p %password%
  start "gpu1" /min %app% -a %algo% -s 1 -d 1 -i 19 -R 3 -o %address% -u %user2% -p %password%
  timeout 600 /nobreak
  taskkill /im %app% /f
goto start



It will autokill and restart every 10 minutes.  Very handy for those pools that have a vardiff that doesn't play nice.
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
That's beautiful... If only a program like MultiMiner was compatible with CCminer... Last I checked it was because CCminer doesn't have a API so other programs can't hook into it.

Wouldn't the first batchfile continually start up lots of instances of ccminer as there isn't a timer and it's a loop? Does it check to see if one instance is running?

By default batch files will wait until the previous action has ended or in this case application closes.

You would need to use the start command in front of ccminer.exe to launch it without waiting for it to end which would probably lock your PC within seconds.
legendary
Activity: 1764
Merit: 1024
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

The easiest (and dirtiest) way is to have your miner batch file run in a loop:
:start
ccminer.exe ...
goto start


and have another batch loop running which restarts ccminer periodically:
:start
timeout -t 1800
taskkill -t -f /im ccminer.exe
goto start


That will restart ccminer every 1800 seconds (30 minutes).

That's beautiful... If only a program like MultiMiner was compatible with CCminer... Last I checked it was because CCminer doesn't have a API so other programs can't hook into it.

Wouldn't the first batchfile continually start up lots of instances of ccminer as there isn't a timer and it's a loop? Does it check to see if one instance is running?
legendary
Activity: 2940
Merit: 1091
--- ChainWorks Industries ---
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

The easiest (and dirtiest) way is to have your miner batch file run in a loop:
:start
ccminer.exe ...
goto start


and have another batch loop running which restarts ccminer periodically:
:start
timeout -t 1800
taskkill -t -f /im ccminer.exe
goto start


That will restart ccminer every 1800 seconds (30 minutes).


actually I tried to instal win10 twice with the latest drivers at that time, and there were problems with mem hard algo (neoscrypt and lyra). Now with privacy issues, I am not even sure that I will install win10 (I really don't agree with the term of the licence and I don't do anything unlawful)

Yeah, I think I'm going to use win7 until the end of times.
will wait for the NSA edition...  Grin
(hope they get sued (again...  Roll Eyes ) so they change that thing... seriously the terms of licence allows to almost spy into the hdd of their competitors or US competitors for that matter, (if they are asked to...) yeah right... US spies are really getting lazy nowadays...)

edit: now we understand why they are releasing it for free (already paid or it will paid itself... )  Grin

well - microsoft have ALWAYS been data hoarders - and sell off the info ... so no secret or surprise there ...

and windows 10 is NOT free djm ... its a free UPGRADE only ...

the way they market is still amazing - as they make people believe their product is what its not ... and free it certainly isnt ... or reliable for that matter - let alone secure now ...

what a bloody farce ...

linux for me ... all the way ... i dont care that i get a little less than everyone else in hashrate due to oc ... that will come soon ...

btw - with windows 10 - you already HAVE the nsa edition Wink ...

#crysx
legendary
Activity: 1400
Merit: 1050
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

The easiest (and dirtiest) way is to have your miner batch file run in a loop:
:start
ccminer.exe ...
goto start


and have another batch loop running which restarts ccminer periodically:
:start
timeout -t 1800
taskkill -t -f /im ccminer.exe
goto start


That will restart ccminer every 1800 seconds (30 minutes).


actually I tried to instal win10 twice with the latest drivers at that time, and there were problems with mem hard algo (neoscrypt and lyra). Now with privacy issues, I am not even sure that I will install win10 (I really don't agree with the term of the licence and I don't do anything unlawful)

Yeah, I think I'm going to use win7 until the end of times.
will wait for the NSA edition...  Grin
(hope they get sued (again...  Roll Eyes ) so they change that thing... seriously the terms of licence allows to almost spy into the hdd of their competitors or US competitors for that matter, (if they are asked to...) yeah right... US spies are really getting lazy nowadays...)

edit: now we understand why they are releasing it for free (already paid or it will paid itself... )  Grin
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

The easiest (and dirtiest) way is to have your miner batch file run in a loop:
:start
ccminer.exe ...
goto start


and have another batch loop running which restarts ccminer periodically:
:start
timeout -t 1800
taskkill -t -f /im ccminer.exe
goto start


That will restart ccminer every 1800 seconds (30 minutes).


actually I tried to instal win10 twice with the latest drivers at that time, and there were problems with mem hard algo (neoscrypt and lyra). Now with privacy issues, I am not even sure that I will install win10 (I really don't agree with the term of the licence and I don't do anything unlawful)

Yeah, I think I'm going to use win7 until the end of times.
legendary
Activity: 1400
Merit: 1050
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

I want a program like cgwatcher
I want a lambo

yeah... we all want things...
legendary
Activity: 1400
Merit: 1050
On my Win10 system, MSI Afterburner has memory leaking issue.  After 2 weeks of continuous run in the background, it ate up about 1.7GB of RAM and refused to launch, throwing out "Out of memory" error.  So I have to kill it and relaunch it once every 2 weeks.
uninstall win10.
mining with win10 isn't a good idea performance are lower
I upgraded from Win8.1, didn't feel the hit in performance yet.  Roll Eyes
it doesn't really matter if you have 750ti, it however starts to matter with the 980
I'm running 980.  How much do I lose? Huh
depending on the algo, you might lose up to 25%

Have one of my machines using W10 and 970s, I haven't noticed this. Perhaps install newer drivers? Also disable automatic driver install.

Also haven't noticed the Afterburner memory leak. Miner has been up for about a week and a half and is using 6MB of memory in Afterburner.

[...]
Yeah, I use it on occasion. Setting the clocks isn't the bad part of afterburner, it's trying to monitor all the GPUs easily.
[...]
I know Multiminer had built in stats for some things last time I used it, although that's AMD only. Wonder why there isn't a UI mod for some of these programs that just makes a nice grid out of everything.

This is the monitor, grid-style, on Nvidia Inspector. You can fully customize what is on display, launch the monitor from a command line or batch file, save settings as needed. Are you looking for something else?

Weird never knew Inspector had that built in. Just found the button, thanks. Still would be great if there were a easier way to control all of this. Just means I'll have Inspector open as well as Afterburner for tweaking.
you can monitor with msi ab. It is possible to get an independent windows with all the graph you want to monitor (the size is adjustable, and it is possible to change the order of the grpah from the setting tab)

Yeah, you still need to scroll through the list. I didn't know you could reorganize the graphs, I knew you could turn them off though. Grids or tables FTW.
actually I tried to instal win10 twice with the latest drivers at that time, and there were problems with mem hard algo (neoscrypt and lyra). Now with privacy issues, I am not even sure that I will install win10 (I really don't agree with the term of the licence and I don't do anything unlawful)

Regarding msi ab, you don't have to scroll you can enlarge the windows (click "detach" to get the monitoring windows) I watch 4gpu at the same time it all fit in a rather large windows which occupy 1/3 of my second monitor...)
sr. member
Activity: 737
Merit: 262
Me, Myself & I
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

I want a program like cgwatcher

Since t-nelson fix for ccminer CTRL-C stop without error, I believe that You can use Crypto miners in Tray
https://bitcointalksearch.org/topic/crypto-miners-in-tray-a-lightweight-front-end-for-unattended-mining-149442
Not as easy to setup like Cgwatcher, but can be done.
sr. member
Activity: 519
Merit: 250
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

I want a program like cgwatcher
sr. member
Activity: 519
Merit: 250
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

if you are using windows - miner control seems to be perfect for that ... i dont have a windows machine - but that is one of the packages you can use ...

have a look at the article here - http://cryptomining-blog.com/5256-updated-miner-control-1-6-4-software-kbomba-edition/ ... and the latest source here - https://github.com/KBomba/MinerControl/ ...

if you are on linux ( which i am ) then it is a little more complex - but can be done ...

#crysx

Thx Crysx i'm on windows  Grin
legendary
Activity: 2940
Merit: 1091
--- ChainWorks Industries ---
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

if you are using windows - miner control seems to be perfect for that ... i dont have a windows machine - but that is one of the packages you can use ...

have a look at the article here - http://cryptomining-blog.com/5256-updated-miner-control-1-6-4-software-kbomba-edition/ ... and the latest source here - https://github.com/KBomba/MinerControl/ ...

if you are on linux ( which i am ) then it is a little more complex - but can be done ...

#crysx
sr. member
Activity: 519
Merit: 250
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance
legendary
Activity: 1764
Merit: 1024
On my Win10 system, MSI Afterburner has memory leaking issue.  After 2 weeks of continuous run in the background, it ate up about 1.7GB of RAM and refused to launch, throwing out "Out of memory" error.  So I have to kill it and relaunch it once every 2 weeks.
uninstall win10.
mining with win10 isn't a good idea performance are lower
I upgraded from Win8.1, didn't feel the hit in performance yet.  Roll Eyes
it doesn't really matter if you have 750ti, it however starts to matter with the 980
I'm running 980.  How much do I lose? Huh
depending on the algo, you might lose up to 25%

Have one of my machines using W10 and 970s, I haven't noticed this. Perhaps install newer drivers? Also disable automatic driver install.

Also haven't noticed the Afterburner memory leak. Miner has been up for about a week and a half and is using 6MB of memory in Afterburner.

[...]
Yeah, I use it on occasion. Setting the clocks isn't the bad part of afterburner, it's trying to monitor all the GPUs easily.
[...]
I know Multiminer had built in stats for some things last time I used it, although that's AMD only. Wonder why there isn't a UI mod for some of these programs that just makes a nice grid out of everything.

This is the monitor, grid-style, on Nvidia Inspector. You can fully customize what is on display, launch the monitor from a command line or batch file, save settings as needed. Are you looking for something else?

Weird never knew Inspector had that built in. Just found the button, thanks. Still would be great if there were a easier way to control all of this. Just means I'll have Inspector open as well as Afterburner for tweaking.
you can monitor with msi ab. It is possible to get an independent windows with all the graph you want to monitor (the size is adjustable, and it is possible to change the order of the grpah from the setting tab)

Yeah, you still need to scroll through the list. I didn't know you could reorganize the graphs, I knew you could turn them off though. Grids or tables FTW.
legendary
Activity: 1176
Merit: 1015
1080p gaming rig, W10 + OC 2600K + Gigabyte 970 OC.  Latest SP-MOD. Core OC +108 so that afterburner shows 1493-1500 core under load. 18.3 MHASH quark.
member
Activity: 94
Merit: 10
On my Win10 system, MSI Afterburner has memory leaking issue.  After 2 weeks of continuous run in the background, it ate up about 1.7GB of RAM and refused to launch, throwing out "Out of memory" error.  So I have to kill it and relaunch it once every 2 weeks.
uninstall win10.
mining with win10 isn't a good idea performance are lower
I upgraded from Win8.1, didn't feel the hit in performance yet.  Roll Eyes
it doesn't really matter if you have 750ti, it however starts to matter with the 980
I'm running 980.  How much do I lose? Huh
depending on the algo, you might lose up to 25%
Wow  :oo
I'm running quark and got 18MH/s++ at 150W TDP.  Before the upgrade, I was getting less than that, but sp has improved the algo along the way, so not a direct comparison.
legendary
Activity: 1400
Merit: 1050
On my Win10 system, MSI Afterburner has memory leaking issue.  After 2 weeks of continuous run in the background, it ate up about 1.7GB of RAM and refused to launch, throwing out "Out of memory" error.  So I have to kill it and relaunch it once every 2 weeks.
uninstall win10.
mining with win10 isn't a good idea performance are lower
I upgraded from Win8.1, didn't feel the hit in performance yet.  Roll Eyes
it doesn't really matter if you have 750ti, it however starts to matter with the 980
I'm running 980.  How much do I lose? Huh
depending on the algo, you might lose up to 25%
member
Activity: 94
Merit: 10
On my Win10 system, MSI Afterburner has memory leaking issue.  After 2 weeks of continuous run in the background, it ate up about 1.7GB of RAM and refused to launch, throwing out "Out of memory" error.  So I have to kill it and relaunch it once every 2 weeks.
uninstall win10.
mining with win10 isn't a good idea performance are lower
I upgraded from Win8.1, didn't feel the hit in performance yet.  Roll Eyes
it doesn't really matter if you have 750ti, it however starts to matter with the 980
I'm running 980.  How much do I lose? Huh
legendary
Activity: 1400
Merit: 1050
On my Win10 system, MSI Afterburner has memory leaking issue.  After 2 weeks of continuous run in the background, it ate up about 1.7GB of RAM and refused to launch, throwing out "Out of memory" error.  So I have to kill it and relaunch it once every 2 weeks.
uninstall win10.
mining with win10 isn't a good idea performance are lower
I upgraded from Win8.1, didn't feel the hit in performance yet.  Roll Eyes
it doesn't really matter if you have 750ti, it however starts to matter with the 980
member
Activity: 94
Merit: 10
On my Win10 system, MSI Afterburner has memory leaking issue.  After 2 weeks of continuous run in the background, it ate up about 1.7GB of RAM and refused to launch, throwing out "Out of memory" error.  So I have to kill it and relaunch it once every 2 weeks.
uninstall win10.
mining with win10 isn't a good idea performance are lower
I upgraded from Win8.1, didn't feel the hit in performance yet.  Roll Eyes
Jump to: