user13087: http://www.amilitalia.it/github.com/ckolivas/cgminer.html 
I'm looking for the best balance:
--load-balance Change multipool strategy from failover to quota based balance 

and
--balance Change multipool strategy from failover to even share balance 

How exactly it works?
E.g. there are 2 pool for different alt-coins with scrypt algo.

1st pool: difficulty 1.1234
2nd pool: difficulty 10.123

Is --balance set my cgminer to 90% for the second pool? Say, it will waiting for balance of ACCEPTED shares.
And --load-balance set power of cgminer to 50%/50%? 

I'm afraid that one pool might go slow, will not give jobs. Will cgminer wait for this pool with --balance to keep balance of shares?

Peoples, I know that this is very old, overgrown with moss topic. Could somebody provide me with true link to the answer? 

user18753: From: https://github.com/ckolivas/cgminer/blob/master/cgminer.c
/* In balanced mode, the amount of diff1 solutions per pool is monitored as a
 * rolling average per 10 minutes and if pools start getting more, it biases
 * away from them to distribute work evenly. The share count is reset to the
 * rolling average every 10 minutes to not send all work to one pool after it
 * has been disabled/out for an extended period. */

So --balance looks to the diff1 count and tries to get an even distribution.
--load-balance looks at the --quota values and distributes work in proportion to the GCD of them, counting down until remaining quotas are all 0 and the values are reset.

13087: <p><a href="http://www.amilitalia.it/github.com/ckolivas/cgminer.html" rel="nofollow">http://www.amilitalia.it/github.com/ckolivas/cgminer.html</a> </p>

<p>I'm looking for the best balance:</p>

<pre><code>--load-balance Change multipool strategy from failover to quota based balance 
</code></pre>

<p>and</p>

<pre><code>--balance Change multipool strategy from failover to even share balance 
</code></pre>

<p>How exactly it works?</p>

<p>E.g. there are 2 pool for different alt-coins with scrypt algo.</p>

<ul>
<li>1st pool: difficulty 1.1234</li>
<li>2nd pool: difficulty 10.123</li>
</ul>

<p>Is <code>--balance</code> set my cgminer to 90% for the second pool? Say, it will waiting for balance of <code>ACCEPTED</code> shares.</p>

<p>And <code>--load-balance</code> set power of cgminer to 50%/50%? </p>

<hr>

<p>I'm afraid that one pool might go slow, will not give jobs. Will cgminer wait for this pool with <code>--balance</code> to keep balance of shares?</p>

<hr>

<p>Peoples, I know that this is very old, overgrown with moss topic. Could somebody provide me with true link to the answer? </p>
 18753: <p>From: <a href="https://github.com/ckolivas/cgminer/blob/master/cgminer.c" rel="nofollow">https://github.com/ckolivas/cgminer/blob/master/cgminer.c</a></p>

<pre><code>/* In balanced mode, the amount of diff1 solutions per pool is monitored as a
 * rolling average per 10 minutes and if pools start getting more, it biases
 * away from them to distribute work evenly. The share count is reset to the
 * rolling average every 10 minutes to not send all work to one pool after it
 * has been disabled/out for an extended period. */
</code></pre>

<p>So <code>--balance</code> looks to the diff1 count and tries to get an even distribution.</p>

<p><code>--load-balance</code> looks at the <code>--quota</code> values and distributes work in proportion to the GCD of them, counting down until remaining quotas are all 0 and the values are reset.</p>
