Author

Topic: How does this code optimize mining? (Read 570 times)

hero member
Activity: 960
Merit: 514
March 21, 2017, 01:14:30 AM
#6
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?
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
March 20, 2017, 09:37:53 PM
#5


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 .
member
Activity: 124
Merit: 10
hero member
Activity: 653
Merit: 500
March 20, 2017, 05:34:14 PM
#3
: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
newbie
Activity: 19
Merit: 0
March 20, 2017, 05:28:37 PM
#2
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  
hero member
Activity: 960
Merit: 514
March 20, 2017, 02:06:43 PM
#1
: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?
Jump to: