Author

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

sr. member
Activity: 294
Merit: 250
I just posted another update. I changed the GPU initialization to only happen once sgminer goes to starts hashing on a pool. This might prevent unnecessary kernels from loading or algo switching to happen at startup.

Where can we find your updated windows build?
newbie
Activity: 45
Merit: 0
Code:
{

"pools" : [
{

          "name" : "TMB X13 Multi EU",
          "url" : "stratum+tcp://am02.eu.trademybit.com:4011",
          "user" : "Ninetoe.3",
          "pass" : "x",
          "algorithm" : "marucoin-mod"

     },
     {

          "name" : "TMB X11 Multi EU",
          "url" : "stratum+tcp://am02.eu.trademybit.com:4010",
          "user" : "Ninetoe.3",
          "pass" : "x",
          "algorithm" : "darkcoin-mod"

     },
     {

          "name" : "TMB X13 EU",
          "url" : "stratum+tcp://am02.eu.trademybit.com:5550",
          "user" : "Ninetoe.3",
          "pass" : "x",
          "algorithm" : "marucoin-mod"

     },
     {

          "name" : "TMB X11 EU",
          "url" : "stratum+tcp://am02.eu.trademybit.com:4440",
          "user" : "Ninetoe.3",
          "pass" : "x",
  "algorithm" : "darkcoin-mod"

     },
     {

          "name" : "TMB X13 US",
          "url" : "stratum+tcp://east02.us.trademybit.com:5550",
          "user" : "Ninetoe.3",
          "pass" : "x",
  "algorithm" : "marucoin-mod"
     }

],
"algorithm" : "darkcoin-mod",
"auto-fan" : true,
"intensity" : "18",
"extranonce-subscribe" : true,
"api-allow" : "W:192.168.1.0/24,W:127.0.0.1",
"api-listen" : true,
"api-port" : "4003",
"expiry" : "10",
"failover-only" : true,
"log" : "5",
"queue" : "0",
"scan-time" : "1",
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"failover-switch-delay" : "10",
"gpu-engine" : "1120",
"gpu-memclock" : "1500",
"gpu-threads" : "2",
"gpu-platform" : "1",
"gpu-fan" : "50-100",
"gpu-powertune" : "20",
"temp-target" : "75",
"vectors" : "1",
"lookup-gap" : "0",
"hamsi-expand-big" : "4",
"no-pool-disable" : true
}


i used profiles earlier, but cgwatcher REALY didnt like it hehe.
newbie
Activity: 49
Merit: 0
I just posted another update. I changed the GPU initialization to only happen once sgminer goes to starts hashing on a pool. This might prevent unnecessary kernels from loading or algo switching to happen at startup.
hero member
Activity: 700
Merit: 500
ubuntu 13.10
5x R9 290
fglrx 13.25.5 [Jan  8 2014]
sgminer_v5 2014-06-22

per-GPU (r9 290) performance:
scrypt: 840 Kh/s
scrypt-N: 420 Kh/s
x11: 3.35 Mh/s
x13: 2.55 Mh/s
keccak: 420 Mh/s

BTW: as far as I understand better x11 and x13 performance can be achieved with 14.6 drivers? Or are there any other hacks needed?
The STILT's BIOS (see litecoin talk forums - Post 1 + Post 1) is definitely worthwhile for 290s.  And I have seen a large boost with 14.6 for x11/x13.  Worksize and intensity are also VERY important.  You will see huge variance based on your worksize and intensity settings. + or - 1 or 2 on my xI values and I see a 1MH/s drop in hash production.  Up or down one worksize unit, and same thing.

phzi ShelfRig (Testing Rig)
4x R9 290
gentoo w/
xorg-server-1.15.1
ati-drivers 14.6_beta1

Mining X11:


Config for X11 and X13:
Code:
"profiles" : [
        {
                "name" : "X11",
                "algorithm" : "darkcoin-mod",
                "xintensity" : "256",
                "gpu-threads" : "1",
                "gpu-powertune" : "30",
                "thread-concurrency" : "22527",
                "worksize": "128",
                "gpu-engine": "970-970",
                "gpu-memclock": "1250",
                "gpu-fan": "50"
        },
        {
                "name" : "X13",
                "algorithm" : "marucoin-mod",
                "xintensity" : "512",
                "gpu-threads" : "1",
                "gpu-powertune" : "30",
                "thread-concurrency" : "22527",
                "worksize": "256",
                "gpu-engine": "970-970",
                "gpu-memclock": "1250",
                "gpu-fan": "50"
        },
],
"hamsi-expand-big" : "1,1",
(Overclocking the engine results in higher hashrates, but the marginal gains don't seem worthwhile).  The only difference with the higher hashrate card (#0) is that it has the best airflow and is consistently cooler - it actually ran at 4.44MH/s for several hours before jumping up randomly.

Hot switching between X11 and X13 works quite well.  I got X11, X13, and Nscrypt switching working okay (slightly decreased X11 hashrate), but adding more algorithms hits occasional stability issues - still tuning/testing.  Basically, the more algorithms I try to hot swap to, the more hashrate seems to deteriorate.
sr. member
Activity: 547
Merit: 250
I'm working if I get some time I'll flip over miners to the newest badman74 build from a few posts ago.

Keep me informed y'all, especially of Windows uptimes and any occurrences of SICK/DEAD.
hero member
Activity: 658
Merit: 500
anyone else having problems setting memclocks ?

with the latest release it bumps all my cards to 1600 memclock no matter what i do, even when i change it manualy in the miner it refuses to take it.
nope mine are staying right where i set them
here is my conf for comparison
Code:
{
"pools" : [
{
"name" : "NH x13 multi",
"url" : "stratum+tcp://stratum.nicehash.com:4337",
"user" : "1AHDnxrDrPkP7mPNPbhx3LsQTXZuXvbFAA",
"pass" : "d=.01;f0=1;f2=.5;f3=9.5;f4=6.8;f5=750;c0=1.44;c2=1.44;c3=.72;c4=.72;c5=.96",
"profile" : "x13"
},
{
"name" : "NH x11 multi",
"url" : "stratum+tcp://stratum.nicehash.com:4336",
"user" : "1AHDnxrDrPkP7mPNPbhx3LsQTXZuXvbFAA",
"pass" : "d=.01;f0=1;f2=.5;f3=9.5;f4=6.8;f5=750;c0=1.44;c2=1.44;c3=.72;c4=.72;c5=.96",
"profile" : "x11"
},
{
"name" : "NH keccak multi",
"url" : "stratum+tcp://stratum.nicehash.com:4338",
"user" : "1AHDnxrDrPkP7mPNPbhx3LsQTXZuXvbFAA",
"pass" : "d=64;f0=1;f2=.5;f3=9.5;f4=6.8;f5=750;c0=1.44;c2=1.44;c3=.72;c4=.72;c5=.96",
"profile" : "keccak"
},
{
"name" : "NH scrypt multi",
"url" : "stratum+tcp://stratum.nicehash.com:4333",
"user" : "1AHDnxrDrPkP7mPNPbhx3LsQTXZuXvbFAA",
"pass" : "d=64;f0=1;f2=.5;f3=9.5;f4=6.8;f5=750;c0=1.44;c2=1.44;c3=.72;c4=.72;c5=.96",
"profile" : "scrypt"
},
{
"name" : "NH nscrypt multi",
"url" : "stratum+tcp://stratum.nicehash.com:4335",
"user" : "1AHDnxrDrPkP7mPNPbhx3LsQTXZuXvbFAA",
"pass" : "d=64;f0=1;f2=.5;f3=9.5;f4=6.8;f5=750;c0=1.44;c2=1.44;c3=.72;c4=.72;c5=.96",
"profile" : "nscrypt"
}
],
"profiles" : [
{
"name" : "x11",
"algorithm" : "darkcoin-mod",
"intensity" : "18",
"gpu-threads" : "2",
"gpu-powertune" : "30",
"worksize": "128",
"gpu-engine": "1040",
"gpu-memclock": "1400",
"gpu-fan": "65-100"
},
{
"name" : "x13",
"algorithm" : "marucoin-mod",
"intensity" : "18",
"gpu-threads" : "2",
"gpu-powertune" : "30",
"worksize": "256",
"gpu-engine": "1040",
"gpu-memclock": "1300",
"gpu-fan": "75-100"
},
{
"name" : "scrypt",
"intensity" : "16",
"gpu-powertune" : "10",
"worksize" : "256",
"lookup-gap" : "2",
"gpu-threads": "1",
"algorithm" : "alexkarnew",
"nfactor" : "10",
"gpu-engine" : "950",
"gpu-memclock" : "1100",
"gpu-fan" : "85-100"
},
{
"name" : "nscrypt",
"intensity" : "16",
"gpu-powertune" : "10",
"worksize" : "256",
"lookup-gap" : "2",
"gpu-threads": "1",
"algorithm" : "alexkarnew",
"nfactor" : "11",
"gpu-engine" : "950",
"gpu-memclock" : "1100",
"gpu-fan" : "85-100"
},
{
"name" : "keccak",
"intensity" : "14",
"gpu-powertune" : "10",
"worksize" : "256",
"lookup-gap" : "2",
"gpu-threads": "2",
"algorithm" : "maxcoin",
"gpu-engine" : "1040",
"gpu-memclock" : "1300",
"gpu-fan" : "75-100"
}
],
"gpu-map" : "0:1,1:0",
"hamsi-expand-big" : "1",
"failover-only" : true,
"shaders" : "2560",
"gpu-vddc" : ".95",
"temp-cutoff" : "96",
"temp-overheat" : "94",
"temp-target" : "88",
"auto-fan" : true,
"auto-gpu" : true,
"api-port" : "4028",
"expiry" : "1",
"gpu-dyninterval" : "7",
"hotplug" : "5",
"log" : "5",
"queue" : "0",
"scan-time" : "1",
"temp-hysteresis" : "2",
"shares" : "0",
"no-submit-stale" : true,
"no-restart" : true,
"failover-switch-delay" : "30",
"show-coindiff" : true,
"remove-disabled" : true,
"extranonce-subscription" : true
}

newbie
Activity: 45
Merit: 0
anyone else having problems setting memclocks ?

with the latest release it bumps all my cards to 1600 memclock no matter what i do, even when i change it manualy in the miner it refuses to take it.
sr. member
Activity: 547
Merit: 250
cgwatcher ?

Does cgwatcher take care of the SICK/DEAD thing for me?
legendary
Activity: 1151
Merit: 1001
hero member
Activity: 658
Merit: 500
until the pthreads workaround/fix is found for the 60sec quit problem, I did the suggested workaround on this build.
has been working fine for me so here it is
https://mega.co.nz/#!GBYHzCJS!ARD2TC1eiVkKzeK5S6J-6h2iMXtHO1xeXdFt7T3Zq1w
https://www.dropbox.com/s/20hcs4j5unpjjxy/sgminer_multi.rar

Still tries loading cklovias kernels, followed the example .conf... nothing. Not using Cgwatcher or anything.
don't know what the problem might be except that with 14.6 drivers the TC has to be set way lower
i removed the TC settings in my miner to get it to work, and havent tried to tweak them yet
it will also build cklovias kernel regardless if you dont have "default-profile" set in the main body of the conf

Hey badman, ystarnaud just pushed over 2 more commits to fix the 60second pthread.

Can you wrap up a build in the next few hours?  I think that it would be different from this earlier morning's build.
here ya go
https://mega.co.nz/#!iEpmxBxS!wivl4DghSCDdDcDERXqpSjWBwjJhSIoX4tVza0rkbII
https://drive.google.com/file/d/0B8NA-05oUjR8b3gybFpqRGFZUVU/edit?usp=sharing
sr. member
Activity: 547
Merit: 250
until the pthreads workaround/fix is found for the 60sec quit problem, I did the suggested workaround on this build.
has been working fine for me so here it is
https://mega.co.nz/#!GBYHzCJS!ARD2TC1eiVkKzeK5S6J-6h2iMXtHO1xeXdFt7T3Zq1w
https://www.dropbox.com/s/20hcs4j5unpjjxy/sgminer_multi.rar

Still tries loading cklovias kernels, followed the example .conf... nothing. Not using Cgwatcher or anything.
don't know what the problem might be except that with 14.6 drivers the TC has to be set way lower
i removed the TC settings in my miner to get it to work, and havent tried to tweak them yet
it will also build cklovias kernel regardless if you dont have "default-profile" set in the main body of the conf

Hey badman, ystarnaud just pushed over 2 more commits to fix the 60second pthread.

Can you wrap up a build in the next few hours?  I think that it would be different from this earlier morning's build.
hero member
Activity: 658
Merit: 500
until the pthreads workaround/fix is found for the 60sec quit problem, I did the suggested workaround on this build.
has been working fine for me so here it is
https://mega.co.nz/#!GBYHzCJS!ARD2TC1eiVkKzeK5S6J-6h2iMXtHO1xeXdFt7T3Zq1w
https://www.dropbox.com/s/20hcs4j5unpjjxy/sgminer_multi.rar

Still tries loading cklovias kernels, followed the example .conf... nothing. Not using Cgwatcher or anything.
don't know what the problem might be except that with 14.6 drivers the TC has to be set way lower
i removed the TC settings in my miner to get it to work, and havent tried to tweak them yet
it will also build cklovias kernel regardless if you dont have "default-profile" set in the main body of the conf
sr. member
Activity: 547
Merit: 250
until the pthreads workaround/fix is found for the 60sec quit problem, I did the suggested workaround on this build.
has been working fine for me so here it is
https://mega.co.nz/#!GBYHzCJS!ARD2TC1eiVkKzeK5S6J-6h2iMXtHO1xeXdFt7T3Zq1w
https://www.dropbox.com/s/20hcs4j5unpjjxy/sgminer_multi.rar

Does anybody for Windows have a script or a program that can auto-find a SICK/DEAD card, close the mining instance once in Windows, and re-open the miner again?
newbie
Activity: 44
Merit: 0
until the pthreads workaround/fix is found for the 60sec quit problem, I did the suggested workaround on this build.
has been working fine for me so here it is
https://mega.co.nz/#!GBYHzCJS!ARD2TC1eiVkKzeK5S6J-6h2iMXtHO1xeXdFt7T3Zq1w
https://www.dropbox.com/s/20hcs4j5unpjjxy/sgminer_multi.rar

Still tries loading cklovias kernels, followed the example .conf... nothing. Not using Cgwatcher or anything.
newbie
Activity: 26
Merit: 0
I think most people have problems with windows and not ubuntu/linux

Which is true for just about anything, not just crypto-currency mining Wink Maybe the time has arrived for everyone to finally drop windoze and switch to Linux for day-to-day work? Wink

Amen Grin
hero member
Activity: 658
Merit: 500
until the pthreads workaround/fix is found for the 60sec quit problem, I did the suggested workaround on this build.
has been working fine for me so here it is
https://mega.co.nz/#!GBYHzCJS!ARD2TC1eiVkKzeK5S6J-6h2iMXtHO1xeXdFt7T3Zq1w
https://www.dropbox.com/s/20hcs4j5unpjjxy/sgminer_multi.rar
hero member
Activity: 658
Merit: 500
bat file:
sgminer -c 5850.conf -d 1 (lets say 5850 is device 1)

 "remove-disabled" : true, is in the conf file

Both cards are running ...
odd works fine for me
legendary
Activity: 1151
Merit: 1001
bat file:
sgminer -c 5850.conf -d 1 (lets say 5850 is device 1)

 "remove-disabled" : true, is in the conf file

Both cards are running ...
Jump to: