Bitcoin Forum
November 13, 2024, 08:20:24 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 [124] 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 ... 1240 »
  Print  
Author Topic: CCminer(SP-MOD) Modded GPU kernels.  (Read 2347577 times)
chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
April 27, 2015, 01:39:03 AM
 #2461

: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

bathrobehero
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051


ICO? Not even once.


View Profile
April 27, 2015, 01:44:08 AM
 #2462

: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

Tpruvot added that same cudaminer parameter (--time-limit) to his ccminer fork: https://github.com/tpruvot/ccminer/commit/c6a94c9998acf81559ffb122e309e5a12457f349

Not your keys, not your coins!
bensam1231
Legendary
*
Offline Offline

Activity: 1764
Merit: 1024


View Profile
April 27, 2015, 05:50:29 AM
 #2463

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 buy private Nvidia miners. Send information and/or inquiries to my PM box.
flipclip
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
April 27, 2015, 02:22:10 PM
 #2464

: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://bitcointalk.org/index.php?topic=167229.msg9434777#msg9434777 .  I also have my own bash script to do such things Wink
chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
April 27, 2015, 02:57:09 PM
 #2465

: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://bitcointalk.org/index.php?topic=167229.msg9434777#msg9434777 .  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

chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
April 27, 2015, 02:58:15 PM
 #2466

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.

power - as in electricity usage? ...

#crysx

frazier34567
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile
April 27, 2015, 03:37:24 PM
 #2467

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.

power - as in electricity usage? ...

#crysx

My Rig of 6 Evga 750 ti SC (No bios mod no extra power connector No OC) cards runs at 88W without any load

Running X11 I am running at 384W from the wall.

So 296W for the 6 Cards so 49.34W per card.
Bombadil
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
April 27, 2015, 04:02:29 PM
 #2468

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.

power - as in electricity usage? ...

#crysx

My Rig of 6 Evga 750 ti SC (No bios mod no extra power connector No OC) cards runs at 88W without any load

Running X11 I am running at 384W from the wall.

So 296W for the 6 Cards so 49.34W per card.

Yep, I also use 50W per card for quick reference.
Grim
Sr. Member
****
Offline Offline

Activity: 506
Merit: 252


View Profile
April 27, 2015, 04:15:11 PM
 #2469

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.

power - as in electricity usage? ...

#crysx

My Rig of 6 Evga 750 ti SC (No bios mod no extra power connector No OC) cards runs at 88W without any load

Running X11 I am running at 384W from the wall.

So 296W for the 6 Cards so 49.34W per card.

that calculation is wrong =P

your gpus consume idle power about 7.5 W (750ti about 7 to 8 W)

So 341W for the 6 Cards so 56.83 W per card.
5w00p
Hero Member
*****
Offline Offline

Activity: 644
Merit: 502



View Profile
April 27, 2015, 04:56:01 PM
 #2470

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.

power - as in electricity usage? ...

#crysx

My Rig of 6 Evga 750 ti SC (No bios mod no extra power connector No OC) cards runs at 88W without any load

Running X11 I am running at 384W from the wall.

So 296W for the 6 Cards so 49.34W per card.

that calculation is wrong =P

your gpus consume idle power about 7.5 W (750ti about 7 to 8 W)

So 341W for the 6 Cards so 56.83 W per card.

Grim, I would guess that his calculation is more correct than yours.

You forgot about CPU etc.

Also, a PSU is not 100% efficient, so watts are consumed in the conversion of AC to DC by the PSU itself.

ryen123
Sr. Member
****
Offline Offline

Activity: 292
Merit: 250


View Profile
April 27, 2015, 04:59:28 PM
 #2471

Quark: R47 ~6766 khs > Commit 749 ~6797 khs

rednoW
Legendary
*
Offline Offline

Activity: 1510
Merit: 1003


View Profile
April 27, 2015, 05:11:45 PM
 #2472

Quark: R47 ~6766 khs > Commit 749 ~6797 khs

R47 was not best for me.  Commit 742 was: 5824khs
Now commit 749 5834 khs, +10khs, nice Wink
Grim
Sr. Member
****
Offline Offline

Activity: 506
Merit: 252


View Profile
April 27, 2015, 05:20:46 PM
 #2473

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.

power - as in electricity usage? ...

#crysx

My Rig of 6 Evga 750 ti SC (No bios mod no extra power connector No OC) cards runs at 88W without any load

Running X11 I am running at 384W from the wall.

So 296W for the 6 Cards so 49.34W per card.

that calculation is wrong =P

your gpus consume idle power about 7.5 W (750ti about 7 to 8 W)

So 341W for the 6 Cards so 56.83 W per card.

Grim, I would guess that his calculation is more correct than yours.

You forgot about CPU etc.

Also, a PSU is not 100% efficient, so watts are consumed in the conversion of AC to DC by the PSU itself.



lol ...

384 - 341 = your cpu and what not ...

and besides that all these readings are from the wall ...

(we don't know his PSU efficiency but you can probably assume something between 85 to 90% which is irrelevant tho in this case)
5w00p
Hero Member
*****
Offline Offline

Activity: 644
Merit: 502



View Profile
April 27, 2015, 06:37:07 PM
 #2474

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

scryptr
Legendary
*
Offline Offline

Activity: 1797
Merit: 1028



View Profile WWW
April 27, 2015, 08:00:49 PM
 #2475

: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://bitcointalk.org/index.php?topic=167229.msg9434777#msg9434777 .  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

SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
5w00p
Hero Member
*****
Offline Offline

Activity: 644
Merit: 502



View Profile
April 27, 2015, 08:10:42 PM
 #2476

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
scryptr
Legendary
*
Offline Offline

Activity: 1797
Merit: 1028



View Profile WWW
April 27, 2015, 08:45:33 PM
Last edit: April 27, 2015, 08:56:13 PM by scryptr
 #2477

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

SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
scryptr
Legendary
*
Offline Offline

Activity: 1797
Merit: 1028



View Profile WWW
April 27, 2015, 10:44:33 PM
 #2478

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 

SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
bathrobehero
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051


ICO? Not even once.


View Profile
April 27, 2015, 11:14:02 PM
 #2479

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.

Not your keys, not your coins!
scryptr
Legendary
*
Offline Offline

Activity: 1797
Merit: 1028



View Profile WWW
April 27, 2015, 11:57:14 PM
 #2480

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

SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
Pages: « 1 ... 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 [124] 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 ... 1240 »
  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!