Bitcoin Forum
April 24, 2024, 11:12:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 233 »
  Print  
Author Topic: [ANN] sgminer v5 - optimized X11/X13/NeoScrypt/Lyra2RE/etc. kernel-switch miner  (Read 877789 times)
kenshirothefist (OP)
Sr. Member
****
Offline Offline

Activity: 457
Merit: 273



View Profile
May 30, 2014, 07:02:21 PM
Last edit: September 08, 2016, 05:47:02 AM by kenshirothefist
 #1

Hi,

At NiceHash.com (I'm sure you've already heard about us) we're running a multi-algo cloud mining service and multipool. Thus we're striving to get unified and feature-full GPU miner. That's why we've sponsored the integration of sph-miner + keccak (from cgminer) + x11_mod (from lasybear) + NIST5 algo and some more stuff into unified, runtime-kernel-switching new version of the original official sgminer. sgminer has since then been redefined from "scrypt-miner" to "GPU OpenCL miner" and thus strive to support wide range of algorithms for GPU mining. New algorithms are added over time as well as some new features.

For the record: I'm not a developer of sgminer and haven't contributed any coding for sgminer, but was active in proposing and coordinating new features development. All the credits go to the many sgminer developers, listed here: https://github.com/nicehash/sgminer/graphs/contributors. NiceHash organization took over the initiative to continue development on this widely spread open-source mining software, therefore the most recent source code and releases can be found in the information below.

SOURCE CODE

If you wan't to pull the source code from GIT you can do it with this command:

Code:
git clone --recursive https://github.com/nicehash/sgminer.git

RELEASES

Binaries downloads are available here: https://github.com/nicehash/sgminer/releases

Here you can see the major changes:
https://github.com/nicehash/sgminer/blob/master/doc/configuration.md
https://github.com/nicehash/sgminer/blob/master/doc/kernel.md

News: https://github.com/nicehash/sgminer/commits/master

Please note: sgminer is still in development, you should regularly, so there are might be still some open issues and minor bugs present.

Here is an example of multi-algorithm configuration (you can add many pool-specific options):

Code:
{
"pools" : [
        {
                "name" : "NiceHash_X11",
                "url" : "stratum+tcp://stratum.nicehash.com:3336",
                "user" : "btc_addr",
                "pass" : "x",
                "nfactor" : "10",
                "algorithm" : "darkcoin-mod"
        },
        {
                "name" : "NiceHash_X13",
                "url" : "stratum+tcp://stratum.nicehash.com:3337",
                "user" : "btc_addr",
                "pass" : "x",
                "nfactor" : "10",
                "algorithm" : "marucoin-mod"
        },
        {
                "name" : "NiceHash_SHA3",
                "url" : "stratum+tcp://stratum.nicehash.com:3338",
                "user" : "btc_addr",
                "pass" : "x",
                "nfactor" : "10",
                "algorithm" : "maxcoin"
        },
        {
                "name" : "NiceHash_Scrypt-N",
                "url" : "stratum+tcp://stratum.nicehash.com:3335",
                "user" : "btc_addr",
                "pass" : "x",
                "nfactor" : "11",
                "algorithm" : "zuikkis"
        },
        {
                "name" : "NiceHash_Scrypt",
                "url" : "stratum+tcp://stratum.nicehash.com:3333",
                "user" : "btc_addr",
                "pass" : "x",
                "nfactor" : "10",
                "algorithm" : "zuikkis"
        }
]
"failover-only" : true,
"failover-switch-delay" : "300",
"queue" : "0",
... other configuration settings ...

Of course you can choose any and as many pools you prefer, NiceHash.com pools were given just as an example. Your miner will be able to switch to different pools using different algorithms at runtime, without any interruption and without sgminer restart. You can also set GPU settings and some other settings at a per-pool level to get optimum performance on various pools with various algorithms with a single configuration file. Now you can mine Litecoin, Dogecoin, Vertcoin, Darkcoin, Maxcoin, MaruCoin ... you-name-it with a single unified sgminer.

Note: sgminer v5 intoduced new stratum extranonce subscription; some pools ignores connection when sgminer sends extranonce subscription request, therefore you just have to add "no-extranonce" : true setting to the pool config for pools, that doesn't support extranonce-subscribe - this kind of pools appears Dead even if they are suposed to be working fine (you should never use this setting on nicehash pools since nicehash stratum proxy provides better efficiency with extranonce subscription)

Code:
	{
                "url" : "stratum+tcp://some-pool:3333",
                "no-extranonce" : true,
                "user" : "username",
                "pass" : "x",
}

Or if you're using command line options, example for quark mining:

Code:
sgminer --algorithm quarkcoin --no-extranonce -I 18 -g 1 -w 256 -o stratum+tcp://some-quark-pool:3333 -u ... -p ...

All interested developers, please, feel free to contribute to the code by simply pushing Pull request to the Github repository (see above).

Again, thanks to all the great developers of sgminer and kind regards,
kenshirothefist
1713957131
Hero Member
*
Offline Offline

Posts: 1713957131

View Profile Personal Message (Offline)

Ignore
1713957131
Reply with quote  #2

1713957131
Report to moderator
1713957131
Hero Member
*
Offline Offline

Posts: 1713957131

View Profile Personal Message (Offline)

Ignore
1713957131
Reply with quote  #2

1713957131
Report to moderator
1713957131
Hero Member
*
Offline Offline

Posts: 1713957131

View Profile Personal Message (Offline)

Ignore
1713957131
Reply with quote  #2

1713957131
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713957131
Hero Member
*
Offline Offline

Posts: 1713957131

View Profile Personal Message (Offline)

Ignore
1713957131
Reply with quote  #2

1713957131
Report to moderator
1713957131
Hero Member
*
Offline Offline

Posts: 1713957131

View Profile Personal Message (Offline)

Ignore
1713957131
Reply with quote  #2

1713957131
Report to moderator
1713957131
Hero Member
*
Offline Offline

Posts: 1713957131

View Profile Personal Message (Offline)

Ignore
1713957131
Reply with quote  #2

1713957131
Report to moderator
dhsc19
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 30, 2014, 07:25:30 PM
 #2

YES!!  This is exactly what I've been waiting for!  So, as I'm understanding, do we omit the global kernel option and only need to specify the pool-algorithm?  Or do we list all the kernels we want to use in the global kernel option, then specify an algorithm per pool?
ekoice
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile
May 30, 2014, 07:45:01 PM
 #3

excuse me, you should add this kernel also : x13 if you want to make it competitive...
dhsc19
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 30, 2014, 07:52:51 PM
 #4

excuse me, you should add this kernel also : x13 if you want to make it competitive...

Isn't marucoin the x13 kernel?
cryptocointools
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptocoinTools.com


View Profile WWW
May 30, 2014, 08:01:34 PM
 #5

excuse me, you should add this kernel also : x13 if you want to make it competitive...

Isn't marucoin the x13 kernel?

I think so

david1365
Legendary
*
Offline Offline

Activity: 994
Merit: 1000



View Profile
May 30, 2014, 08:09:04 PM
 #6

I can merged mining altcoins (LTC,DOGE,...)? or am i wrong?
atp1916
Legendary
*
Offline Offline

Activity: 854
Merit: 1000



View Profile
May 30, 2014, 08:11:55 PM
 #7

I can merged mining altcoins (LTC,DOGE,...)? or am i wrong?

This release just means you can switch between entirely different algorithm-based coins on the fly, i.e. your main is a Scrypt pool and your fail-over is a x11 pool.
david1365
Legendary
*
Offline Offline

Activity: 994
Merit: 1000



View Profile
May 30, 2014, 08:12:32 PM
 #8

I can merged mining altcoins (LTC,DOGE,...)? or am i wrong?

This release just means you can switch between entirely different algorithm-based coins on the fly, i.e. your main is a Scrypt pool and your fail-over is a x11 pool.
Thanks
dhsc19
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 30, 2014, 08:49:04 PM
 #9

I can merged mining altcoins (LTC,DOGE,...)? or am i wrong?

This release just means you can switch between entirely different algorithm-based coins on the fly, i.e. your main is a Scrypt pool and your fail-over is a x11 pool.

I'm actually hoping to use the pool quota option to apportion my GPU hashing to mine scrypt and x11 simultaneously.  Rather, I'm assuming it does it in a round robin fashion?
reza_abay
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
May 30, 2014, 09:37:38 PM
 #10

How can I configure my miner to work with NiceHash service?
I mean config 3 algoritm (scrypt-scrypt-n-x11) in one sgminer.config file.
n2nshad0w
Member
**
Offline Offline

Activity: 78
Merit: 10

HashHard


View Profile WWW
May 30, 2014, 10:43:46 PM
 #11

How do the speeds compare to the juiced up version being used?

Glizlack
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
May 30, 2014, 11:17:45 PM
 #12

Been waiting for something like this since i started mining!!!  Yes about x13 is that going to work as well?

Steve

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
PRIMEDICE
The Premier Bitcoin Gambling Experience @PrimeDice
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
shandid
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
May 30, 2014, 11:25:08 PM
 #13

How can I configure my miner to work with NiceHash service?
I mean config 3 algoritm (scrypt-scrypt-n-x11) in one sgminer.config file.
Code:
"pools" :

 [
         {
                 "name" : "NiceHash_X11",
                 "url" : "stratum+tcp://stratum.nicehash.com:3336",
                 "user" : "btc_address",
                 "pass" : "x",
                 "pool-algorithm" : "darkcoin-mod",
                 "pool-intensity" : "18"
         },
         {
                 "name" : "NiceHash_Scrypt",
                 "url" : "stratum+tcp://stratum.nicehash.com:3333",
                 "user" : "btc_address",
                 "pass" : "x",
                 "pool-algorithm" : "scrypt",
                 "pool-intensity" : "13"
         },
         {
                 "name" : "NiceHash_Scrypt-N",
                 "url" : "stratum+tcp://stratum.nicehash.com:3335",
                 "user" : "btc_address",
                 "pass" : "x",
                 "pool-nfactor" : "11",
                 "pool-algorithm" : "scrypt",
                 "pool-intensity" : "13"
         }
]

Just add your pools and algorithms to your config
merc82
Sr. Member
****
Offline Offline

Activity: 354
Merit: 254

Owner of MiningRigRentals


View Profile WWW
May 31, 2014, 02:09:37 AM
 #14

Spouting off some random thinking here, how about a stratum protocol amendment -- introducing an algo definition on connection and allowing algo changes to be initiated from the remote stratum.. that'd be fantabulous for us multipools who run multiple algos Wink

Rent some Hash @ MiningRigRentals!
Lease out your rig, or rent some extra hash today! Live Hashrate graphs, multiple backup pools, many algos and fast and friendly support as well Wink
phzi
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
May 31, 2014, 02:46:37 AM
 #15

Fantastic addition to the sgminer code base.  Thank-you for supporting this open source project, NiceHash team!

Maybe it's time to rename this branch of sgminer to clminer, or something to reflect it's broad utility for OpenCL mining.
Bojcha
Hero Member
*****
Offline Offline

Activity: 848
Merit: 500



View Profile
May 31, 2014, 03:10:26 AM
 #16

Well it's  nice but You all are forgeting one thing..
All algos can use different clocks/voltages (for-more-speed)..  atleast I prefer for my 280x 1030MHz for scrypt/n-scrypt and 1100Mhz for X11/x13m.. etc. So this pool list with different algos  has no meaning since i again need to manually switch clocks.

Maybe to make it fully automatic, whole conception of sgminer-confing need to be changed.. something like 2, 3 or more configs that will be used. (config1, config2.. etc.) where config1 is priority1 and config2 is priority2.. etc.
Posted from Bitcointa.lk - #gnBDwjbHSnudVmJH
phzi
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
May 31, 2014, 03:57:41 AM
 #17

Well it's  nice but You all are forgeting one thing..
All algos can use different clocks/voltages (for-more-speed)..  atleast I prefer for my 280x 1030MHz for scrypt/n-scrypt and 1100Mhz for X11/x13m.. etc. So this pool list with different algos  has no meaning since i again need to manually switch clocks.

Maybe to make it fully automatic, whole conception of sgminer-confing need to be changed.. something like 2, 3 or more configs that will be used. (config1, config2.. etc.) where config1 is priority1 and config2 is priority2.. etc.
Posted from Bitcointa.lk - #gnBDwjbHSnudVmJH
Read the docs, man!  Pool/algo specific clockrates, intensitities, fan speeds - it's all there.

Options that can be configured have a pool- prefix and work the same as the global settings:

pool-algorithm
pool-nfactor
pool-intensity
pool-xintensity
pool-rawintensity
pool-gpu-engine
pool-gpu-memclock
pool-gpu-threads
pool-thread-concurrency
pool-gpu-fan

It would be nice to convert the config format entirely to have maybe an algorithms section with per-algo tuning, instead ofnper-pool. But, you can replicate the same thing easily enough already.
reza_abay
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
May 31, 2014, 05:10:50 AM
 #18

pls put one simple  config file for mininig in NiceHash.com here.
platinum4
Sr. Member
****
Offline Offline

Activity: 547
Merit: 250



View Profile
May 31, 2014, 06:41:07 AM
 #19

Count me in, I've been collaborating with Elun, lasybear, and RRT5ON on that previous stripped out x11mod (from girino's 2%) and the newly smashed together x13mod.  I'm getting the tools for Windows builds right now and will see if I can pass a few patches into this.

phzi
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
May 31, 2014, 07:06:04 AM
 #20

pls put one simple  config file for mininig in NiceHash.com here.
Multi-algorithms aren't simple... you're going to need to tune your cards separately for each algorithm.  Then, you can calculate the comparative output of each algorithm, probably account for power consumption differences, and from there determine profitability targets.
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 233 »
  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!