Author

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

full member
Activity: 196
Merit: 100
Shocked W
how many $$ must i burn to get that speed
member
Activity: 109
Merit: 13
Nice hashrate on quark & skein btw! Nice work sp_! My hashrate on quark: 2x750ti=3x280x!!! 100W=450W?!  Grin
Cпacибo! I will mine for you! I have 2x750ti atm, but there is a slot for another one (in the daughter comp's).  Wink
legendary
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
I have a question, if sometimes on yaamp the connection is lost and isn't restarting, i would like to add another pool. How can i do this. (with last ccminer1.5.47)
Am i the only one who lost connection on yaamp?
For now i use :
ccminer.exe -R 5 -T 5 -q -a quark -o stratum+tcp://yaamp.com:4033 -u 5LA1mw7JZKKVf3LK9KLAJSzQZzNwU9Z3Rp -p d=0.002

Can someone explain me what i should add to insert another pool after this one? (round robin, failover or someting else)

P.S sometime if i closed ccminer and restart it im able to log again and mine ...

Thanks for the help


LOOPER--

This is how:

:loop

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-west01.miningrigrentals.com:3333 -u me -p x  -d 0,1,2

taskkill -t -f /im ccminer*
timeout -t 1

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-central01.miningrigrentals.com:3333 -u me  -p x  -d 0,1,2

taskkill -t -f /im ccminer*
timeout -t 1

goto loop

This is a slight revision of Bathrobehero's script.  Use the "-R" switch, and the "-r" switch.  The script above puts in a 5 second delay (-R 5) before switching to the lower pool in the batch file, and to try to reconnect once (-r 1).  Yaamp uses it to switch between algos.  As used above, it switches between pools.  Yamp.com has an example script linked on the homepage for algo switching.

If you execute the command "ccminer --help >> help.txt" in a windows command box, you will get a text file explaining all the ccminer commands.

--scryptr

nice - windows batch in dos ... been way too long for me ...

#crysx
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
COMMIT 749--
I just cloned git and compiled build 749.  The 2x970 FTW+ rig  is now mining Quark at 30.6Mh/s, an improvement of 1.5Mh/s for the rig.  Each card is now hashing at more than 15Mh/s.  

...

my 5x 750ti + 1x 280x rig went from 41.5 MHASH to 44.5MHASH Smiley (standard clocks, no overclock)
520 watt in the wall. Msi gaming z97 motherboard/ celeron cpu/

Release 47 used 510 watt,

Commit 749 is a good one, the gain is even bether on the 980, but it uses more power.
My 5 750ti+980 reports +1MHASH (45.5MHASH) and use 5 watt more  510 -> 515
legendary
Activity: 1797
Merit: 1028
I have a question, if sometimes on yaamp the connection is lost and isn't restarting, i would like to add another pool. How can i do this. (with last ccminer1.5.47)
Am i the only one who lost connection on yaamp?
For now i use :
ccminer.exe -R 5 -T 5 -q -a quark -o stratum+tcp://yaamp.com:4033 -u 5LA1mw7JZKKVf3LK9KLAJSzQZzNwU9Z3Rp -p d=0.002

Can someone explain me what i should add to insert another pool after this one? (round robin, failover or someting else)

P.S sometime if i closed ccminer and restart it im able to log again and mine ...

Thanks for the help


LOOPER--

This is how:

:loop

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-west01.miningrigrentals.com:3333 -u me -p x  -d 0,1,2

taskkill -t -f /im ccminer*
timeout -t 1

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-central01.miningrigrentals.com:3333 -u me  -p x  -d 0,1,2

taskkill -t -f /im ccminer*
timeout -t 1

goto loop

This is a slight revision of Bathrobehero's script.  Use the "-R" switch, and the "-r" switch.  The script above puts in a 5 second delay (-R 5) before switching to the lower pool in the batch file, and to try to reconnect once (-r 1).  Yaamp uses it to switch between algos.  As used above, it switches between pools.  Yamp.com has an example script linked on the homepage for algo switching.

If you execute the command "ccminer --help >> help.txt" in a windows command box, you will get a text file explaining all the ccminer commands.

--scryptr
legendary
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
I have a question, if sometimes on yaamp the connection is lost and isn't restarting, i would like to add another pool how can i do it. (with last ccminer1.5.47)
Am i the only one who lost connection on yaamp?
for now i use :
ccminer.exe -R 5 -T 5 -q -a quark -o stratum+tcp://yaamp.com:4033 -u 5LA1mw7JZKKVf3LK9KLAJSzQZzNwU9Z3Rp -p d=0.002
Can someone explain me what i should add to insert another pool after this one? (round robin, failover or someting else)

P.S sometime if i closed ccminer and restart it im able to log again and mine ...

Thanks for the help


ccminer itself doesnt have this facility mate ... unlike sgminer which has that feature built in ... but we are talking two different miners here ...

in the current discussion about scripts and such with flipclip and scryptr - that is pretty much what is on par with what you are asking ...

a way of making ccminer continue mining - albiet different algos and such - but to continue mining in the event of a crash or a timed close then reopen of ccminer ...

there is no real easy way at the moment but it will eventually happen i believe ...

#crysx
legendary
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
If flipclip would share his script, perhaps it would be more simple to adapt.

--scryptr
Unfortunately I don't believe my spaghetti code will be simple for anyone to adapt (I'm not a programmer, and I took the idea on as a lark to try out bash).  Let me see if I can clean it up a little so someone else could get it running.

that would be awesome ...

as im less of a programmer than most ...

but i know enough to get me into LOADS of trouble ...

Smiley ...

#crysx
member
Activity: 111
Merit: 10
If flipclip would share his script, perhaps it would be more simple to adapt.

--scryptr
Unfortunately I don't believe my spaghetti code will be simple for anyone to adapt (I'm not a programmer, and I took the idea on as a lark to try out bash).  Let me see if I can clean it up a little so someone else could get it running.
newbie
Activity: 54
Merit: 0
I have a question, if sometimes on yaamp the connection is lost and isn't restarting, i would like to add another pool. How can i do this. (with last ccminer1.5.47)
Am i the only one who lost connection on yaamp?
For now i use :
ccminer.exe -R 5 -T 5 -q -a quark -o stratum+tcp://yaamp.com:4033 -u 5LA1mw7JZKKVf3LK9KLAJSzQZzNwU9Z3Rp -p d=0.002

Can someone explain me what i should add to insert another pool after this one? (round robin, failover or someting else)

P.S sometime if i closed ccminer and restart it im able to log again and mine ...

Thanks for the help
legendary
Activity: 1797
Merit: 1028
TASKKILL--

I inserted your taskkill lines of code between every launch line in the Windows batch file for Yaamp.  I still get Windows error reports, not every time, but enough to render the batch file useless for a long-running script.  Maybe I haven't completely shutdown the error reports in my system.   I haven't compiled ccminer with your suggested correction.  I need to set up a Windows build toolchain...

--scryptr

So it sometimes crashes for you. In that case I doubt the code change will help you. The batch file doesn't call ctrl+c on its own.

ERROR REPORTING--

I redid my Error Reporting configuration in Win 7 x64.  I selected "ccminer.exe" as a program to specifically be ignored.  I saved this as an administrator.  I still get "ccminer.exe has stopped working" between every few algo changes in the Yaamp batch file.     If there is another way to shut the error reporting off, I haven't found it yet.         --scryptr
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
TASKKILL--

I inserted your taskkill lines of code between every launch line in the Windows batch file for Yaamp.  I still get Windows error reports, not every time, but enough to render the batch file useless for a long-running script.  Maybe I haven't completely shutdown the error reports in my system.   I haven't compiled ccminer with your suggested correction.  I need to set up a Windows build toolchain...

--scryptr

So it sometimes crashes for you. In that case I doubt the code change will help you. The batch file doesn't call ctrl+c on its own.
legendary
Activity: 1797
Merit: 1028
Further, the Windows batch command "taskkill" will not find the imagename "ccminer*" if a user closes the "ccminer.exe" with a "control-c" keystroke, because ccminer has abruptly been closed.  This abrupt closing triggers a Windows error response frequently, and disrupts the loop on the ccminer launch batch file.  If running ccminer in a round-robin batch file, the Windows error response prevents ccminer from reconnecting and mining until a manual intervention occurs.

Closing out of ccminer.exe in a clean fashion under Windows may require some changes to the source code of ccminer itself.

--scryptr

I have the windows error reporting completely disabled on my rigs so crashing apps just silently close without throwing error messages. But I've just tested it on my main rig and it crashes due to this line:

https://github.com/sp-hash/ccminer/blob/windows/ccminer.cpp#L2383

That proper_exit(0); is not so proper I guess. Replacing it simply to exit(0); prevents the crash when you use ctrl+c. It asks if you want to termiate the batch file and pressing N let it continue.

And if taskkill doesn't find it's target it doesn't do anything.

ROUND-ROBIN--

Yaamp adapted the round-robin switch to rotate between the highest-paying algo, and it works until Windows kicks out that error.  I was experimenting with a simple batch file that calls a JSON.conf file.  I'll work your code into my Yaamp round-robin file and see if it will run well.  I suppose that means I will have to compile under Windows.  If I get that far, maybe it will rotate for me.

I did try to disable all the Windows error-reporting.        --scryptr

The error I described should only happen if you use ctrl+c. I don't use yaamp but as I see it they only let you connect to their highest paying algo and disconnect you if you try to connect with any other algo. With -r 0 ccminer won't reconnect so it just closes cleanly then the next line of the batch file gets executed. I've tried the yaamp example loop and it's working flawlessly. So now I'm completely confused as to what is the problem with the loop.  Grin

TASKKILL--

I inserted your taskkill lines of code between every launch line in the Windows batch file for Yaamp.  I still get Windows error reports, not every time, but enough to render the batch file useless for a long-running script.  Maybe I haven't completely shutdown the error reports in my system.   I haven't compiled ccminer with your suggested correction.  I need to set up a Windows build toolchain...

--scryptr
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
Further, the Windows batch command "taskkill" will not find the imagename "ccminer*" if a user closes the "ccminer.exe" with a "control-c" keystroke, because ccminer has abruptly been closed.  This abrupt closing triggers a Windows error response frequently, and disrupts the loop on the ccminer launch batch file.  If running ccminer in a round-robin batch file, the Windows error response prevents ccminer from reconnecting and mining until a manual intervention occurs.

Closing out of ccminer.exe in a clean fashion under Windows may require some changes to the source code of ccminer itself.

--scryptr

I have the windows error reporting completely disabled on my rigs so crashing apps just silently close without throwing error messages. But I've just tested it on my main rig and it crashes due to this line:

https://github.com/sp-hash/ccminer/blob/windows/ccminer.cpp#L2383

That proper_exit(0); is not so proper I guess. Replacing it simply to exit(0); prevents the crash when you use ctrl+c. It asks if you want to termiate the batch file and pressing N let it continue.

And if taskkill doesn't find it's target it doesn't do anything.

ROUND-ROBIN--

Yaamp adapted the round-robin switch to rotate between the highest-paying algo, and it works until Windows kicks out that error.  I was experimenting with a simple batch file that calls a JSON.conf file.  I'll work your code into my Yaamp round-robin file and see if it will run well.  I suppose that means I will have to compile under Windows.  If I get that far, maybe it will rotate for me.

I did try to disable all the Windows error-reporting.        --scryptr

The error I described should only happen if you use ctrl+c. I don't use yaamp but as I see it they only let you connect to their highest paying algo and disconnect you if you try to connect with any other algo. With -r 0 ccminer won't reconnect so it just closes cleanly then the next line of the batch file gets executed. I've tried the yaamp example loop and it's working flawlessly. So now I'm completely confused as to what is the problem with the loop.  Grin
legendary
Activity: 1797
Merit: 1028
Further, the Windows batch command "taskkill" will not find the imagename "ccminer*" if a user closes the "ccminer.exe" with a "control-c" keystroke, because ccminer has abruptly been closed.  This abrupt closing triggers a Windows error response frequently, and disrupts the loop on the ccminer launch batch file.  If running ccminer in a round-robin batch file, the Windows error response prevents ccminer from reconnecting and mining until a manual intervention occurs.

Closing out of ccminer.exe in a clean fashion under Windows may require some changes to the source code of ccminer itself.

--scryptr

I have the windows error reporting completely disabled on my rigs so crashing apps just silently close without throwing error messages. But I've just tested it on my main rig and it crashes due to this line:

https://github.com/sp-hash/ccminer/blob/windows/ccminer.cpp#L2383

That proper_exit(0); is not so proper I guess. Replacing it simply to exit(0); prevents the crash when you use ctrl+c. It asks if you want to termiate the batch file and pressing N let it continue.

And if taskkill doesn't find it's target it doesn't do anything.

ROUND-ROBIN--

Yaamp adapted the round-robin switch to rotate between the highest-paying algo, and it works until Windows kicks out that error.  I was experimenting with a simple batch file that calls a JSON.conf file.  I'll work your code into my Yaamp round-robin file and see if it will run well.  I suppose that means I will have to compile under Windows.  If I get that far, maybe it will rotate for me.

I did try to disable all the Windows error-reporting.        --scryptr
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
Further, the Windows batch command "taskkill" will not find the imagename "ccminer*" if a user closes the "ccminer.exe" with a "control-c" keystroke, because ccminer has abruptly been closed.  This abrupt closing triggers a Windows error response frequently, and disrupts the loop on the ccminer launch batch file.  If running ccminer in a round-robin batch file, the Windows error response prevents ccminer from reconnecting and mining until a manual intervention occurs.

Closing out of ccminer.exe in a clean fashion under Windows may require some changes to the source code of ccminer itself.

--scryptr

I have the windows error reporting completely disabled on my rigs so crashing apps just silently close without throwing error messages. But I've just tested it on my main rig and it crashes due to this line:

https://github.com/sp-hash/ccminer/blob/windows/ccminer.cpp#L2383

That proper_exit(0); is not so proper I guess. Replacing it simply to exit(0); prevents the crash when you use ctrl+c. It asks if you want to termiate the batch file and pressing N let it continue.

And if taskkill doesn't find it's target it doesn't do anything.
legendary
Activity: 1797
Merit: 1028
COMMIT 749--

I just cloned git and compiled build 749.  The 2x970 FTW+ rig  is now mining Quark at 30.6Mh/s, an improvement of 1.5Mh/s for the rig.  Each card is now hashing at more than 15Mh/s.  For the 6x750ti FTW rig, the average hash rate is 38.4Mh/s, and each card is running at about 6.4Mh/s.

Not much change for the 750ti rig, this time.  But, taking into account that some hash rates have been "over-reported" to the local screen this past week, it may be actually faster than last week overall.       --scryptr 
legendary
Activity: 1797
Merit: 1028
I am no linux guru, but I have run a script or two.

Maybe you can try this:

chmod +x script.sh    <-- to make it executable
./script.sh                 <-- to run the script

YES--

OK, but I was in the habit of implementing scripts with "sh".  Apparently, "sh" and "bash" are not completely equivalent.  There are some functions in Skunk's script that require "bash".

Further, the Windows batch command "taskkill" will not find the imagename "ccminer*" if a user closes the "ccminer.exe" with a "control-c" keystroke, because ccminer has abruptly been closed.  This abrupt closing triggers a Windows error response frequently, and disrupts the loop on the ccminer launch batch file.  If running ccminer in a round-robin batch file, the Windows error response prevents ccminer from reconnecting and mining until a manual intervention occurs.

Closing out of ccminer.exe in a clean fashion under Windows may require some changes to the source code of ccminer itself.

--scryptr
hero member
Activity: 644
Merit: 502
I am no linux guru, but I have run a script or two.

Maybe you can try this:

chmod +x script.sh     <-- to make it executable
./script.sh                  <-- to run the script
legendary
Activity: 1797
Merit: 1028
:loop
ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-west01.miningrigrentals.com:3333 -u me -p x  -d 0,1,2
taskkill -t -f /im ccminer*
timeout -t 1

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-central01.miningrigrentals.com:3333 -u me  -p x  -d 0,1,2
goto loop

Should prevent the crash.

nice ...

now for a linux one and we will be set ...

Wink ...

from memory - there was someone who did actually write a looping script - but cant remember who or when or where ...

#crysx

CBuchner--

CBuchner wrote the looping scrypt for CudaMiner.  He also had a timeout switch that would restart CudaMiner after so many seconds.  Yaamp has a looper that will cycle through the top paying algos.  I revised it to reflect the actual performance of the cards with up-to-date software, and posted a bunch of pages back.       --scryptr

where scryptr? ... do you have a link? ...

would luv to see it ... and implement it if we can ...

#crysx
I posted the below a while back.  Not sure how well the script works anymore (I use my own so never tried skunk's), but it would be a start.
... skunk posted a bash script back in November to do this (also integrating nicehash, and trademybit (RIP)): https://bitcointalksearch.org/topic/m.9434777 .  I also have my own bash script to do such things Wink

tanx much flipclip ... ill have a look at it in the morning ...

#crysx

LOOPER--

The batch file script that I posted is for windows.  I can now improve on it with the information from bathrobehero.  The batch file kept catching on the Windows error, requiring manual input.

I tried to adapt skunk's Linux BASH scrypt.  One of the things I discovered was that launching the scrypt with "sh", as in "sh script.sh", would always result in an error.  The script had to be launched with "bash", as in "bash script.sh", as using "sh" alone did not implement a certain function.  I failed to adapt the script, I'd really like to use it.

With SP_ including scrypt and n-scrypt algos in ccminer, and DJM34 developing a Neoscrypt algo for ccminer, execution of Skunk's script should be easier.  I just wish my programming skills were better.  BASH does not have a goto command, loops are not so simple in BASH.  If flipclip would share his script, perhaps it would be more simple to adapt.

--scryptr
hero member
Activity: 644
Merit: 502
Anyone have power numbers for the 970 and 750ti on x11 using this mod? I've been skimming the thread and there still doesn't seem to be any recent power numbers.

I will share my observed power numbers for an overclocked (1466 MHz Boost clock / 3504 MHz memory) GTX 970 mining Quark:

estimated 160 Watts for the card itself.

  242 Watts total power consumption (mining Quark) - 85 Watts (at idle) = 157 Watts

Jump to: