Author

Topic: [Setup --load-balance on the Antminer S1] Advanced Antminer S1 setup (Read 5926 times)

sr. member
Activity: 386
Merit: 250
Is there a way to do this manually on my new s3 miners?

Really like being able to set a new pool @ 10% to verify functionality before throwing all hash from miner. 

DoubleDD

I think so, but I don't have an S3 so I can't really say what files will need to be edited.  I agree with you that the load-balance is a very nice feature for testing out a pool.  Good luck.

I can provide the files here.

DoubleDD

I won't be able to do anything with them as I don't have an S3 to test out any changes.  A wrong entry could mess up your S3.  Your best bet would be to mention it on the S3 thread.

On the S1; there are 2 files that need editing.  One is just a configuration file, but the other is a bootup script file with integration to a cron job.  The script file if it's edited with bad settings could render the S3 in bad shape.  I'm making the assumption that the S3 works the same way as the S1.

full member
Activity: 126
Merit: 100
Is there a way to do this manually on my new s3 miners?

Really like being able to set a new pool @ 10% to verify functionality before throwing all hash from miner. 

DoubleDD

I think so, but I don't have an S3 so I can't really say what files will need to be edited.  I agree with you that the load-balance is a very nice feature for testing out a pool.  Good luck.

I can provide the files here.



DoubleDD
sr. member
Activity: 386
Merit: 250
Is there a way to do this manually on my new s3 miners?

Really like being able to set a new pool @ 10% to verify functionality before throwing all hash from miner. 

DoubleDD

I think so, but I don't have an S3 so I can't really say what files will need to be edited.  I agree with you that the load-balance is a very nice feature for testing out a pool.  Good luck.
full member
Activity: 126
Merit: 100
Is there a way to do this manually on my new s3 miners?

Really like being able to set a new pool @ 10% to verify functionality before throwing all hash from miner. 


DoubleDD
sr. member
Activity: 386
Merit: 250


If I miss a link anywhere that has wget pointed to dropbox; do not use it.  It will rename your existing
config file but won't be able to replace it with a good copy from dropbox.  Thanks.

No good.  wget on the S1 does not support https and dropbox had stopped supporting http downloads.  Sorry everyone.  No more easy way to load-balance the S1.  Good luck.

sr. member
Activity: 386
Merit: 250
or just use 0; on other 2 pools so there fallbacks

This actually works very well.  I turned off my stratum server 5 days ago and I was set 100, 0, 0.  I didn't even bother going into both of my S1's.  I'm getting paid from BTCGuild everyday as it's my 2nd pool.  Bitminter is my third pool.
sr. member
Activity: 296
Merit: 250
or just use 0; on other 2 pools so there fallbacks
sr. member
Activity: 386
Merit: 250
Hi OP,

how i restore default setting after do the load balance ?

i dont want to press reset button becoz i will need to do OC again.

thanks in advanced.


There are 2 files that need to be restored:

Code:
cd /etc/config
rm cgminer
mv cgminer.before-load-balance cgminer
cd /etc/init.d
rm cgminer
mv /root/cgminer.before-load-balance cgminer
reboot

make sure you adjust your Miner Configuration back.
sr. member
Activity: 241
Merit: 250
Reversed order
cd /etc/config
mv cgminer.before-load-balance cgminer
newbie
Activity: 137
Merit: 0
Hi OP,

how i restore default setting after do the load balance ?

i dont want to press reset button becoz i will need to do OC again.

thanks in advanced.
newbie
Activity: 26
Merit: 0
Sorry for the delay in reply, definitely not setup as default.  Which they probably should do.

Time to fix that now, thanks for the instructions Smiley
sr. member
Activity: 386
Merit: 250
Got out my antminer s1 today, and it doesn't appear to allow the load balance from stock - am running latest firmware.  Am hoping that my proper powersupply will arrive tomorrow, so that I can leave my s1 running all the time, need to start making some ROI.

Will reinvestigate once I have S1 set up and running 24/7

You can check if the settings are there on your S1.

ssh to the Antminer S1 as root and copy and paste the commands below:

Code:
clear
cat /etc/config/cgminer
cat /etc/init.d/cgminer |grep POOL1


Here's the results that show --load balance with quota

config cgminer 'default'
   option chip_frequency '282'
   option miner_count '24'
   option api_allow 'W:127.0.0.1'
   option more_options '--quiet --load-balance'
snipped....
       POOL1="-U $_pool1url -O $_pool1user:$_pool1pw"
   #PARAMS=" --lowmem $AOPTIONS $POOL1 $POOL2 $POOL3 $_pb --api-allow $_aa --api-listen"
   PARAMS="$AOPTIONS $POOL1 $POOL2 $POOL3 $_pb $_mo --api-listen --api-network"

Good luck.


sr. member
Activity: 386
Merit: 250
Jeremy is awesome!  

He helped me set this up last month  - I was his test subject - worked out very well!  Grin

Great video on YouTube as well!

~Girard

Thank you Girard.  I'm really glad it worked for you.


newbie
Activity: 26
Merit: 0
Got out my antminer s1 today, and it doesn't appear to allow the load balance from stock - am running latest firmware.  Am hoping that my proper powersupply will arrive tomorrow, so that I can leave my s1 running all the time, need to start making some ROI.

Will reinvestigate once I have S1 set up and running 24/7
newbie
Activity: 52
Merit: 0
Jeremy is awesome!  

He helped me set this up last month  - I was his test subject - worked out very well!  Grin

Great video on YouTube as well!

~Girard
sr. member
Activity: 386
Merit: 250
good stuff thx a bunch op  Grin Grin Grin


You're welcome!  Thanks.  Smiley

sr. member
Activity: 296
Merit: 250
good stuff thx a bunch op  Grin Grin Grin
sr. member
Activity: 386
Merit: 250
It appears as though this might be available from factory now - I received my first S1 yesterday and during brief testing appeared to load balance between 2 pools without me updating anything.

Once I receive the powersupply I am going to run the S1 with (750w dell with breakout board from gekkoscience), I will test further (I didnt try percentage hashing as I didnt quite realise what was going on) and report back here.


I'll be interested in what you find out.  The one I have on the OP is a specific method of multi-pool strategy called load-balance with quota  (using the flag -U equal to the flag --quota).  It was changed from flag -o equal to --url

You can see the explanation from the github of the developer of cgminer  Con Kolivas   Smiley

https://github.com/ckolivas/cgminer


newbie
Activity: 26
Merit: 0
It appears as though this might be available from factory now - I received my first S1 yesterday and during brief testing appeared to load balance between 2 pools without me updating anything.

Once I receive the powersupply I am going to run the S1 with (750w dell with breakout board from gekkoscience), I will test further (I didnt try percentage hashing as I didnt quite realise what was going on) and report back here.
sr. member
Activity: 386
Merit: 250
Thanks for your reply, as i know different pool have different fees and lets say pool A is1% and B is 2%. And from 2different pool transfer btc to blockchain wallet will get some transfer fees. So this also will reduce our income. Please do correct me if above example is wrong Smiley
thanks in advanced.

Yes, if different pools have different fees so the the payouts could differ.  The difference of 1% is  is hard to notice unless you have a very high hashrate (much more than an S1 can deliver).  Sometimes, the higher fee pool has other advantages that offset the fee which could result in a higher net payout.

Your post is very important, though, as I'm going to revise the OP to include the pool-comparison as major reason for doing the load-balance.

For example; if you're not using BTCGuild now (which is my favorite BTC mining pool); you can create a new payout at your pool, create an account at BTCGuild, then start them both at the same time 50% for each of them, and after 5-7 days, you can compare the result  on which one gave you a higher payout  Cheesy


newbie
Activity: 137
Merit: 0
Thanks for your reply, as i know different pool have different fees and lets say pool A is1% and B is 2%. And from 2different pool transfer btc to blockchain wallet will get some transfer fees. So this also will reduce our income. Please do correct me if above example is wrong Smiley
thanks in advanced.
sr. member
Activity: 386
Merit: 250
Will this load balance reduce antminer s1 income? Lets say if 1day we can get 0.014, any idea?
Sorry for asking noob question Smiley

No worries.  If you use the load-balance only on bitcoin mining pools, it should not reduce your BTC income.  It can make the payouts more frequent, but they would be smaller (coming from different mining pools) but combined, they should be about the same as without the load-balance option.

If you use 50% for altcoin mining and 50% for bitcoin mining, then you will reduce your BTC income by 50% but you gain some altcoins as a result.



newbie
Activity: 137
Merit: 0
Will this load balance reduce antminer s1 income? Lets say if 1day we can get 0.014, any idea?
Sorry for asking noob question Smiley
sr. member
Activity: 386
Merit: 250
sr. member
Activity: 386
Merit: 250




No good.  wget on the S1 does not support https and dropbox had stopped supporting http downloads.  Sorry everyone.  No more easy way to load-balance the S1.  Good luck.

Jump to: