Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: Und3rd0g on February 15, 2014, 04:08:44 AM



Title: Seeking advice on how to parse up hashing power
Post by: Und3rd0g on February 15, 2014, 04:08:44 AM
I am seeking advice on how I can parse up hashing power amongst multiple people/pools.  For example, suppose I have 30 GHs total.  I would like to be able to setup some sort of proxy that would allow me to allocate those 30 GHs to three separate people (10 GHs each).  These 10 GHs allocations could then be pointed to a different mining pool.  To illustrate;

30 GHs Total Mining Power =

10 GHs for Person_A mining against Pool_A
10 GHs for Person_B mining against Pool_B
10 GHs for Person_C mining against Pool_C

I hope this explanation makes sense.  Any thoughts on how to accomplish this would be greatly appreciated.


Title: Re: Seeking advice on how to parse up hashing power
Post by: nwoolls on February 15, 2014, 04:31:17 AM
I am seeking advice on how I can parse up hashing power amongst multiple people/pools.  For example, suppose I have 30 GHs total.  I would like to be able to setup some sort of proxy that would allow me to allocate those 30 GHs to three separate people (10 GHs each).  These 10 GHs allocations could then be pointed to a different mining pool.  To illustrate;

30 GHs Total Mining Power =

10 GHs for Person_A mining against Pool_A
10 GHs for Person_B mining against Pool_B
10 GHs for Person_C mining against Pool_C

I hope this explanation makes sense.  Any thoughts on how to accomplish this would be greatly appreciated.

You can run BFGMiner or cgminer with a --quota argument instead of the normal -o argument for specifying the pool URL. By doing so you can list a series of pools (or one pool with different worker names and passwords) to split up the hashing.


Title: Re: Seeking advice on how to parse up hashing power
Post by: Und3rd0g on February 15, 2014, 04:20:34 PM
Thank you nwoolls.  This helps.


Title: Re: Seeking advice on how to parse up hashing power
Post by: nwoolls on February 15, 2014, 05:01:22 PM
Thank you nwoolls.  This helps.

My pleasure. Let me know if you need concrete examples.

Also, if you run the miner in a command window (not a batch file) so that you can see the results after quitting, once you hit Q to quit you will see a summary of the shares and work done for each pool.


Title: Re: Seeking advice on how to parse up hashing power
Post by: Und3rd0g on February 16, 2014, 04:45:01 AM
After taking Nate's (thanks again nwoolls!) advice, following is the bfgminer config file that I ended up using.  Here are a few notes;

  • Syntax:  Watch the syntax carefully it is unforgiving.
  • Be sure to add the "load-balance" : true parameter.  It is not a default.
  • When I started, I had a non-stratum server in my mix and performance slowed to a crawl.  I removed the non-stratum server from the pool of servers and performance went back to normal.  Need to do some additional homework on this.

In this example, I had 70% of my hashing power going to ghash.io, 20% to Bit Minter and 10% to BTC Guild.  I hope this helps anyone else who would need to divide up their hashing power among multiple pools.

--------- Start Example ---------
{
"pools" : [
   {
      "quota" : "70;stratum+tcp://us1.ghash.io:3333",
      "user" : "miner.1",
      "pass" : "AnyPassword"
        },

   {
      "quota" : "20;stratum+tcp://mint.bitminter.com:3333",
      "user" : "miner_1",
      "pass" : "AnyPassword"
   },
   
   {
      "quota" : "10;stratum+tcp://stratum.btcguild.com:3333",
      "user" : "minerX",
      "pass" : "AnyPassword"
   }
],


"load-balance" : true

}
--------- End Example ---------