Author

Topic: [ANN] sgminer v5 - optimized X11/X13/NeoScrypt/Lyra2RE/etc. kernel-switch miner - page 172. (Read 877859 times)

hero member
Activity: 658
Merit: 500
Has anyone find a way to downclock cards ( without Bios mods ) with 14.6 or newer drivers ? I found it broken and not working, voltage adjustments works fine. Some algos don't benefit from high mem clocks, and with downclocking you can save power consumption.
you can do it with msi afterburner but i dont think it is currently possible to get sgminer to do it itself
sr. member
Activity: 419
Merit: 250
Has anyone find a way to downclock cards ( without Bios mods ) with 14.6 or newer drivers ? I found it broken and not working, voltage adjustments works fine. Some algos don't benefit from high mem clocks, and with downclocking you can save power consumption.
hero member
Activity: 658
Merit: 500
I wont keep quoting the above but badman's develop branch is working well for me now with 4-5% speedups over the v5_0 branch.

@bullus I'm also running 7950s. What are you settings and hashrates? I'm currently pulling 2424-2435 khs per card @ 1025 engine / 1250 mem on x15 using:

"hamsi-expand-big" : "7",
"hamsi-short" : true,
"blake-compact" : true,
"keccak-unroll" : "8",
"luffa-parallel" : true,

Not sure if these are the right settings for this card or not. It's about 5.2% faster than the v5_0 branch, but there might be room for optimization. I'll probably fiddle around with it throughout the week.
the settings i know of that work for the non true/false ones are

"hamsi-expand-big" 1/4/7
"keccak-unroll"  0/1/2/4/6/8/12

after playing with mine a while i have left keccak-unroll at 12. for my 7750's it works the best and on my 290(x)'s it is a tiny bit less hashes but way more stable
on x11
7750's getting 1mh/s
290's getting 5.2mh/s
290x's getting 6.18mh/s
sr. member
Activity: 294
Merit: 250
I wont keep quoting the above but badman's develop branch is working well for me now with 4-5% speedups over the v5_0 branch.

@bullus I'm also running 7950s. What are you settings and hashrates? I'm currently pulling 2424-2435 khs per card @ 1025 engine / 1250 mem on x15 using:

"hamsi-expand-big" : "7",
"hamsi-short" : true,
"blake-compact" : true,
"keccak-unroll" : "8",
"luffa-parallel" : true,

Not sure if these are the right settings for this card or not. It's about 5.2% faster than the v5_0 branch, but there might be room for optimization. I'll probably fiddle around with it throughout the week.

I get about 2500kh/s with 1040/1500 with the older sgminer, but using different bins from different builds and keep the highest bins.
profiles.conf
Code:
{ 
"profiles" : [
{
"name" : "x11",
"algorithm" : "darkcoin-mod",
"xintensity" : "64",
                "hamsi-expand-big" : "4",
"gpu-threads" : "2",
"gpu-powertune" : "8",
"worksize": "256"
},
{
"name" : "x13",
"algorithm" : "marucoin-mod",
"xintensity" : "39",
"gpu-threads" : "2",
"gpu-powertune" : "8",
"worksize": "64"
},
{
"name" : "x15",
"algorithm" : "bitblock",
"xintensity" : "39",
                "hamsi-expand-big" : "4",
"gpu-threads" : "2",
"gpu-powertune" : "8",
"worksize": "64"
},
{
"name" : "nist5",
"algorithm" : "talkcoin-mod",
"intensity" : "18",
                "hamsi-expand-big" : "1",
"gpu-threads" : "2",
"gpu-powertune" : "8",
"worksize": "64"
}
],
"default-profile": "nist5",
"hamsi-expand-big" : "4",
"gpu-fan" : "70-80",
"gpu-engine" : "1040",
"gpu-memclock" : "1500",
"gpu-vddc" : "1.088",
"failover-only" : true,
"shaders" : "1792",
"thread-concurrency" : "8192",
"expiry" : "1",
"gpu-dyninterval" : "7",
"hotplug" : "5",
"log" : "5",
"queue" : "0",
"scan-time" : "1",
"temp-hysteresis" : "2",
"shares" : "0",
"no-submit-stale" : false,
"no-restart" : true,
"failover-switch-delay" : "30",
"show-coindiff" : true,
"remove-disabled" : true,
"extranonce-subscription" : true
}

sr. member
Activity: 419
Merit: 250
I wont keep quoting the above but badman's develop branch is working well for me now with 4-5% speedups over the v5_0 branch.

@bullus I'm also running 7950s. What are you settings and hashrates? I'm currently pulling 2424-2435 khs per card @ 1025 engine / 1250 mem on x15 using:

"hamsi-expand-big" : "7",
"hamsi-short" : true,
"blake-compact" : true,
"keccak-unroll" : "8",
"luffa-parallel" : true,

Not sure if these are the right settings for this card or not. It's about 5.2% faster than the v5_0 branch, but there might be room for optimization. I'll probably fiddle around with it throughout the week.
hero member
Activity: 658
Merit: 500
OK I got it running. What I had to do was cherry pick 3 commits to bring develop branch up to even with v5_0 branch. I was having the same segfault with the sgminer-dev/sgminer:develop as with your badman74/sgminer:develop branch.

The commits I cherry picked were:

82b5320 - https://github.com/badman74/sgminer/commit/82b5320f36913f3c330633021a4800ce89c4ccc2#diff-d41d8cd98f00b204e9800998ecf8427e

dbe0263 - https://github.com/badman74/sgminer/commit/dbe0263c2d9d12d2595d2aece69d1d1d5d22ed5e#diff-d41d8cd98f00b204e9800998ecf8427e

3ddffaa - https://github.com/badman74/sgminer/commit/3ddffaa915add904d0bfedd25b2b5383cff9035f#diff-d41d8cd98f00b204e9800998ecf8427e

I don't really know how to merge those commits back over into the develop branches of your repo or the sgminer-dev repo on github and I don't want to mess anything up so if you can check that out, let me know.

So far, without any additional config changes over my v5_0 binaries I am seeing 2-4% increase in hash rates.

Would you mind summarizing the new config options I should be trying out? and which values you think are best? (my cards are 7950s and R9 270 non-x)
ok those commits are merged to my develop branch
also fixed sifcoin and groestlcoin
i think that was all of the ones i broke....

Code:
"hamsi-expand-big" : "7", 
"hamsi-short" : true,
"blake-compact" : true,
"keccak-unroll" : "8",
"luffa-parallel" : true,
are the speedups for 290(x) my older cards need all of them set to false or 0
each combination should build a different bin if it will make a change so just try different things

With the new develop branch I can't use my old bins for the 7950's because of the keccak-unroll, so not upgrade it since the keccak was in.
have you tried using my develop branch (if you build yourself) or my mod binary to build new bins and see if you can get the same or better hashes?
sr. member
Activity: 294
Merit: 250
OK I got it running. What I had to do was cherry pick 3 commits to bring develop branch up to even with v5_0 branch. I was having the same segfault with the sgminer-dev/sgminer:develop as with your badman74/sgminer:develop branch.

The commits I cherry picked were:

82b5320 - https://github.com/badman74/sgminer/commit/82b5320f36913f3c330633021a4800ce89c4ccc2#diff-d41d8cd98f00b204e9800998ecf8427e

dbe0263 - https://github.com/badman74/sgminer/commit/dbe0263c2d9d12d2595d2aece69d1d1d5d22ed5e#diff-d41d8cd98f00b204e9800998ecf8427e

3ddffaa - https://github.com/badman74/sgminer/commit/3ddffaa915add904d0bfedd25b2b5383cff9035f#diff-d41d8cd98f00b204e9800998ecf8427e

I don't really know how to merge those commits back over into the develop branches of your repo or the sgminer-dev repo on github and I don't want to mess anything up so if you can check that out, let me know.

So far, without any additional config changes over my v5_0 binaries I am seeing 2-4% increase in hash rates.

Would you mind summarizing the new config options I should be trying out? and which values you think are best? (my cards are 7950s and R9 270 non-x)
ok those commits are merged to my develop branch
also fixed sifcoin and groestlcoin
i think that was all of the ones i broke....

Code:
"hamsi-expand-big" : "7", 
"hamsi-short" : true,
"blake-compact" : true,
"keccak-unroll" : "8",
"luffa-parallel" : true,
are the speedups for 290(x) my older cards need all of them set to false or 0
each combination should build a different bin if it will make a change so just try different things

With the new develop branch I can't use my old bins for the 7950's because of the keccak-unroll, so not upgrade it since the keccak was in.
hero member
Activity: 658
Merit: 500
OK I got it running. What I had to do was cherry pick 3 commits to bring develop branch up to even with v5_0 branch. I was having the same segfault with the sgminer-dev/sgminer:develop as with your badman74/sgminer:develop branch.

The commits I cherry picked were:

82b5320 - https://github.com/badman74/sgminer/commit/82b5320f36913f3c330633021a4800ce89c4ccc2#diff-d41d8cd98f00b204e9800998ecf8427e

dbe0263 - https://github.com/badman74/sgminer/commit/dbe0263c2d9d12d2595d2aece69d1d1d5d22ed5e#diff-d41d8cd98f00b204e9800998ecf8427e

3ddffaa - https://github.com/badman74/sgminer/commit/3ddffaa915add904d0bfedd25b2b5383cff9035f#diff-d41d8cd98f00b204e9800998ecf8427e

I don't really know how to merge those commits back over into the develop branches of your repo or the sgminer-dev repo on github and I don't want to mess anything up so if you can check that out, let me know.

So far, without any additional config changes over my v5_0 binaries I am seeing 2-4% increase in hash rates.

Would you mind summarizing the new config options I should be trying out? and which values you think are best? (my cards are 7950s and R9 270 non-x)
ok those commits are merged to my develop branch
also fixed sifcoin and groestlcoin
i think that was all of the ones i broke....

Code:
"hamsi-expand-big" : "7", 
"hamsi-short" : true,
"blake-compact" : true,
"keccak-unroll" : "8",
"luffa-parallel" : true,
are the speedups for 290(x) my older cards need all of them set to false or 0
each combination should build a different bin if it will make a change so just try different things

Do I set in the main settings? or in the pool? or profile? or ...?
in the main settings
unfortunately you can not set them per pool, per algo or per card at this time
sr. member
Activity: 419
Merit: 250
OK I got it running. What I had to do was cherry pick 3 commits to bring develop branch up to even with v5_0 branch. I was having the same segfault with the sgminer-dev/sgminer:develop as with your badman74/sgminer:develop branch.

The commits I cherry picked were:

82b5320 - https://github.com/badman74/sgminer/commit/82b5320f36913f3c330633021a4800ce89c4ccc2#diff-d41d8cd98f00b204e9800998ecf8427e

dbe0263 - https://github.com/badman74/sgminer/commit/dbe0263c2d9d12d2595d2aece69d1d1d5d22ed5e#diff-d41d8cd98f00b204e9800998ecf8427e

3ddffaa - https://github.com/badman74/sgminer/commit/3ddffaa915add904d0bfedd25b2b5383cff9035f#diff-d41d8cd98f00b204e9800998ecf8427e

I don't really know how to merge those commits back over into the develop branches of your repo or the sgminer-dev repo on github and I don't want to mess anything up so if you can check that out, let me know.

So far, without any additional config changes over my v5_0 binaries I am seeing 2-4% increase in hash rates.

Would you mind summarizing the new config options I should be trying out? and which values you think are best? (my cards are 7950s and R9 270 non-x)
ok those commits are merged to my develop branch
also fixed sifcoin and groestlcoin
i think that was all of the ones i broke....

Code:
"hamsi-expand-big" : "7", 
"hamsi-short" : true,
"blake-compact" : true,
"keccak-unroll" : "8",
"luffa-parallel" : true,
are the speedups for 290(x) my older cards need all of them set to false or 0
each combination should build a different bin if it will make a change so just try different things

Do I set in the main settings? or in the pool? or profile? or ...?
hero member
Activity: 658
Merit: 500
OK I got it running. What I had to do was cherry pick 3 commits to bring develop branch up to even with v5_0 branch. I was having the same segfault with the sgminer-dev/sgminer:develop as with your badman74/sgminer:develop branch.

The commits I cherry picked were:

82b5320 - https://github.com/badman74/sgminer/commit/82b5320f36913f3c330633021a4800ce89c4ccc2#diff-d41d8cd98f00b204e9800998ecf8427e

dbe0263 - https://github.com/badman74/sgminer/commit/dbe0263c2d9d12d2595d2aece69d1d1d5d22ed5e#diff-d41d8cd98f00b204e9800998ecf8427e

3ddffaa - https://github.com/badman74/sgminer/commit/3ddffaa915add904d0bfedd25b2b5383cff9035f#diff-d41d8cd98f00b204e9800998ecf8427e

I don't really know how to merge those commits back over into the develop branches of your repo or the sgminer-dev repo on github and I don't want to mess anything up so if you can check that out, let me know.

So far, without any additional config changes over my v5_0 binaries I am seeing 2-4% increase in hash rates.

Would you mind summarizing the new config options I should be trying out? and which values you think are best? (my cards are 7950s and R9 270 non-x)
ok those commits are merged to my develop branch
also fixed sifcoin and groestlcoin
i think that was all of the ones i broke....

Code:
"hamsi-expand-big" : "7", 
"hamsi-short" : true,
"blake-compact" : true,
"keccak-unroll" : "8",
"luffa-parallel" : true,
are the speedups for 290(x) my older cards need all of them set to false or 0
each combination should build a different bin if it will make a change so just try different things
sr. member
Activity: 419
Merit: 250
OK I got it running. What I had to do was cherry pick 3 commits to bring develop branch up to even with v5_0 branch. I was having the same segfault with the sgminer-dev/sgminer:develop as with your badman74/sgminer:develop branch.

The commits I cherry picked were:

82b5320 - https://github.com/badman74/sgminer/commit/82b5320f36913f3c330633021a4800ce89c4ccc2#diff-d41d8cd98f00b204e9800998ecf8427e

dbe0263 - https://github.com/badman74/sgminer/commit/dbe0263c2d9d12d2595d2aece69d1d1d5d22ed5e#diff-d41d8cd98f00b204e9800998ecf8427e

3ddffaa - https://github.com/badman74/sgminer/commit/3ddffaa915add904d0bfedd25b2b5383cff9035f#diff-d41d8cd98f00b204e9800998ecf8427e

I don't really know how to merge those commits back over into the develop branches of your repo or the sgminer-dev repo on github and I don't want to mess anything up so if you can check that out, let me know.

So far, without any additional config changes over my v5_0 binaries I am seeing 2-4% increase in hash rates.

Would you mind summarizing the new config options I should be trying out? and which values you think are best? (my cards are 7950s and R9 270 non-x)
sr. member
Activity: 419
Merit: 250
Still segfaulting on start.

If it helps, I am on ubuntu 14.04 64-bit.
hero member
Activity: 658
Merit: 500
OK I tried compiling after cloning this:

https://github.com/badman74/sgminer/tree/develop

but replacing kernel/whirlpool.cl with the one here:

https://github.com/sgminer-dev/sgminer/blob/develop/kernel/whirlpool.cl

but when I run sgminer I get a segfault before it even tries to build the .bin files.

Also tried running with only -n and it was fine.

Did I pull from all the right places and replace the right files?
they are fixed now on my develop branch and mod binary

i tried to build the whirlcoin.cl properly but never could get it to play nice with whirlpool.cl so i ended up just copying uraymeiviar's version (whirlpool stuff built in)

edit: i just noticed my develop branch is available in pimp though minermenu

edit2: found several more errors i introduced in some other old algo's.... (still learning here) if you find an algo that will not work just drop the same one from sgminer-dev repo in the kernel folder and it should work
this should only be a problem with older algo's as i tested x11, x13, x15, nist5, keccak, myriadcoin-groestl, quark, and qubit
looks like grestlcoin and sifcoin for sure are currently broke, will work on them tomorrow
sr. member
Activity: 419
Merit: 250
OK I tried compiling after cloning this:

https://github.com/badman74/sgminer/tree/develop

but replacing kernel/whirlpool.cl with the one here:

https://github.com/sgminer-dev/sgminer/blob/develop/kernel/whirlpool.cl

but when I run sgminer I get a segfault before it even tries to build the .bin files.

Also tried running with only -n and it was fine.

Did I pull from all the right places and replace the right files?
sr. member
Activity: 419
Merit: 250
@badman74 which branch in your github repo should I be compiling to get your latest performance mods?
Develop branch but currently x15 is broken.... to fix it get whirlpool.cl from an older version or from the official repo this should fix everything but whirlcoin

So if I replace whirlpool.cl everything works except whirlcoin?
I believe so as only whirl coin and x15 use whirlpool.cl (I didn't realize x15 used it before I added whirlcoin so I made some changes to get whirlcoin to work for me)
I will try to get it updated this weekend

OK so I guess what I'm wondering is if X15 is broken on your current dev branch even after replacing whirlpool.cl? I'm guessing not?
hero member
Activity: 658
Merit: 500
@badman74 which branch in your github repo should I be compiling to get your latest performance mods?
Develop branch but currently x15 is broken.... to fix it get whirlpool.cl from an older version or from the official repo this should fix everything but whirlcoin

So if I replace whirlpool.cl everything works except whirlcoin?
I believe so as only whirl coin and x15 use whirlpool.cl (I didn't realize x15 used it before I added whirlcoin so I made some changes to get whirlcoin to work for me)
I will try to get it updated this weekend
sr. member
Activity: 419
Merit: 250
@badman74 which branch in your github repo should I be compiling to get your latest performance mods?
Develop branch but currently x15 is broken.... to fix it get whirlpool.cl from an older version or from the official repo this should fix everything but whirlcoin

So if I replace whirlpool.cl everything works except whirlcoin?
hero member
Activity: 826
Merit: 1000
Badman, just got your release working properly over here.. got a nice stable 4700+- on X11 with my 280x's .. thank you for that!

My 290's on the other hand stayed the same tough..

Again, thank you for your work! Greatly appreciated!
Posted from Bitcointa.lk - #bTWaR2KmuBXyfG9B
Badman, what was the last modified date of yours?
sr. member
Activity: 428
Merit: 250
Inactivity: 8963

Could you upload your *.bin file for 280x? Would be grateful Smiley

legendary
Activity: 1050
Merit: 1293
Huh?
Badman, just got your release working properly over here.. got a nice stable 4700+- on X11 with my 280x's .. thank you for that!

My 290's on the other hand stayed the same tough..

Again, thank you for your work! Greatly appreciated!
Posted from Bitcointa.lk - #bTWaR2KmuBXyfG9B
Jump to: