Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: pornluver on March 20, 2017, 07:06:43 PM



Title: How does this code optimize mining?
Post by: pornluver on March 20, 2017, 07:06:43 PM
:start
ethminer --farm-retries 0 -G -S us-east1.ethash-hub.miningpoolhub.com:12020 -O username.workername:x -FS exit
sgminer --no-retry -k vanilla -o stratum+tcp://hub.miningpoolhub.com:12019 -u username.workername -p x
sgminer --no-retry -k groestlcoin -o stratum+tcp://hub.miningpoolhub.com:12004 -u username.workername -p x
sgminer --no-retry -k myriadcoin-groestl -o stratum+tcp://hub.miningpoolhub.com:12005 -u username.workername -p x
sgminer --no-retry -k neoscrypt -o stratum+tcp://hub.miningpoolhub.com:12012 -u username.workername -p x
sgminer --no-retry -k quarkcoin -o stratum+tcp://hub.miningpoolhub.com:12015 -u username.workername -p x
sgminer --no-retry -k qubitcoin -o stratum+tcp://hub.miningpoolhub.com:12014 -u username.workername -p x
sgminer --no-retry -k skeincoin -o stratum+tcp://hub.miningpoolhub.com:12016 -u username.workername -p x
sgminer --no-retry -k darkcoin-mod -o stratum+tcp://hub.miningpoolhub.com:12007 -u username.workername -p x
sgminer --no-retry -k marucoin-mod -o stratum+tcp://hub.miningpoolhub.com:12008 -u username.workername -p x
sgminer --no-retry -k bitblock -o stratum+tcp://hub.miningpoolhub.com:12009 -u username.workername -p x
sgminer --no-retry -k lyra2rev2 -o stratum+tcp://hub.miningpoolhub.com:12018 -u username.workername -p x

timeout 1
goto start


The way I see it, it runs some miner several time. Then it waits 1 seconds. Then it repeats. Nothing there suggest which one is best for the current moment?


Title: Re: How does this code optimize mining?
Post by: vlcmstne on March 20, 2017, 10:28:37 PM
It looks like you are maybe looking at miningpoolhub auto profit switching? That code cycles through the miners yes but miningpool hub will tell you which one to stop on, so to say, by authorizing the miner it calculates as the most profitable  


Title: Re: How does this code optimize mining?
Post by: Ambros on March 20, 2017, 10:34:14 PM
:start
ethminer --farm-retries 0 -G -S us-east1.ethash-hub.miningpoolhub.com:12020 -O username.workername:x -FS exit
sgminer --no-retry -k vanilla -o stratum+tcp://hub.miningpoolhub.com:12019 -u username.workername -p x
sgminer --no-retry -k groestlcoin -o stratum+tcp://hub.miningpoolhub.com:12004 -u username.workername -p x
sgminer --no-retry -k myriadcoin-groestl -o stratum+tcp://hub.miningpoolhub.com:12005 -u username.workername -p x
sgminer --no-retry -k neoscrypt -o stratum+tcp://hub.miningpoolhub.com:12012 -u username.workername -p x
sgminer --no-retry -k quarkcoin -o stratum+tcp://hub.miningpoolhub.com:12015 -u username.workername -p x
sgminer --no-retry -k qubitcoin -o stratum+tcp://hub.miningpoolhub.com:12014 -u username.workername -p x
sgminer --no-retry -k skeincoin -o stratum+tcp://hub.miningpoolhub.com:12016 -u username.workername -p x
sgminer --no-retry -k darkcoin-mod -o stratum+tcp://hub.miningpoolhub.com:12007 -u username.workername -p x
sgminer --no-retry -k marucoin-mod -o stratum+tcp://hub.miningpoolhub.com:12008 -u username.workername -p x
sgminer --no-retry -k bitblock -o stratum+tcp://hub.miningpoolhub.com:12009 -u username.workername -p x
sgminer --no-retry -k lyra2rev2 -o stratum+tcp://hub.miningpoolhub.com:12018 -u username.workername -p x

timeout 1
goto start


The way I see it, it runs some miner several time. Then it waits 1 seconds. Then it repeats. Nothing there suggest which one is best for the current moment?

It looks just like a benchmark for every algorithm, nothing more.
IMHO it does not optimise anything


Title: Re: How does this code optimize mining?
Post by: elgi76 on March 20, 2017, 11:37:57 PM
you must read this :

https://miningpoolhub.com/index.php?page=gettingstarted


Title: Re: How does this code optimize mining?
Post by: philipma1957 on March 21, 2017, 02:37:53 AM


Switching software is a flawed idea.

First reason if it works it acts to flatten prices of all coins unless you are the only person mining with it.

Second how do you balance the switch time or check time to decide to switch.

If you want to do this.  You need fast internet you need extra ram to stay fast you also need a better CPU for the switch.  Each time you check and switch you lose time making the switch.

So for the sake of argument if you check once an hour and need to switch ten times in a day you lose upto 20 minutes a day switching.

If you switch 3 times a day and lose three minutes you end up flatten out of the coins price that you switch to.

I use smOS and check one time a day .
If I switch the jump over is fast under 1 minute .
I let the gear relax and breath.

Relax and enjoy .


Title: Re: How does this code optimize mining?
Post by: pornluver on March 21, 2017, 06:14:30 AM
The problem with the code is how can the pool "knows" whether your card will do better with one algorithm and the other.

The pool knows market price. The pool knows the price of coins. The pool knows that.

But the pool doesn't know your card. It doesn't know whether your card can run x11 10 times or 1/2 times of x10

I suppose you need to tell the pool that. But how?