Changes

Jump to: navigation, search

Talk:Containers/Guarantees for resources

738 bytes added, 19:58, 6 May 2010
Created page with 'Hi, I guess limiting is only useful when there's enough room for all groups. Eg.: the calculation makes sense only if: <code>(1) ∀ i: Li >= Gi</code> Otherwise, the gro…'
Hi,
I guess limiting is only useful when there's enough room for all groups. Eg.: the calculation makes sense only if:

<code>(1) &forall; i: Li >= Gi</code>

Otherwise, the group limit is to strict.Obviously it's required that:

<code>(2) &sum; Gi <= R </code>

, and the above condition is enough:

<code>(3) L1 = (1/N-1) * ((R-G2)+(R-G3)+...+(R-Gn) - (N-2)*(R-G1)) > G1 </code>

&hArr;

<code>(4) ((R-G2)+(R-G3)+...+(R-Gn) - (N-2)*(R-G1)) > (N-1)*G1</code>

&hArr;

<code>(5) (N-1)*R-(G2+G3+...+Gn)-(N-2)*R+(N-2)*G1 > (N-1)*G1</code>

&hArr;

<code>(6) R - (G2+G3+...+Gn) + (N-2)*G1 > (N-1)*G1</code>

&hArr;

<code>(7) R > G2+G3+...+Gn+G1</code>

Thus limiting is only useful if the trivial condition under (2) holds.

Cheers,

Gyula
Anonymous user

Navigation menu